contain:layout should suppress baseline alignment for inline-grid
Categories
(Core :: Layout, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | affected |
People
(Reporter: dholbert, Unassigned)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
STR:
- Load attached testcase.
EXPECTED RESULTS:
The two black boxes should be aligned at the same vertical position. (The first one has contain:layout
which means it should be treated as having no baseline, just like the second empty box which is actually empty.)
ACTUAL RESULTS:
The first black box uses its contents to establish its baseline, which results in a different baseline position from the second box.
Updated•6 years ago
|
Reporter | ||
Comment 1•6 years ago
|
||
Note: Chrome is not a perfect reference for our expected behavior here -- they do align empty vs. contained boxes consistently, but they do so at the wrong position, per https://bugs.chromium.org/p/chromium/issues/detail?id=946669
Reporter | ||
Comment 2•5 years ago
|
||
I'm fixing this in bug 1552287. I confirmed that the attached testcase has EXPECTED RESULTS in a build with bug 1552287's patches applied.
--> duping forward.
Description
•