New wpt failures in /css/css-grid/grid-with-orthogonal-child-within-flexbox.html
Categories
(Core :: Layout: Grid, defect)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
(Whiteboard: [wpt])
Attachments
(1 file)
|
149 bytes,
text/html
|
Details |
Syncing wpt PR 30703 found new untriaged test failures in CI
Tests Affected
New Tests That Don't Pass
/css/css-grid/grid-with-orthogonal-child-within-flexbox.html: FAIL (Chrome: PASS, Safari: FAIL)
CI Results
Gecko CI (Treeherder)
GitHub PR Head
Notes
These updates will be on mozilla-central once bug 1730616 lands.
Note: this bug is for tracking fixing the issues and is not
owned by the wpt sync bot.
This bug is linked to the relevant tests by an annotation in
https://github.com/web-platform-tests/wpt-metadata. These annotations
can be edited using the wpt interop dashboard
https://jgraham.github.io/wptdash/
If this bug is split into multiple bugs, please also update the
annotations, otherwise we are unable to track which wpt issues are
already triaged. Resolving as duplicate or closing this issue should
be cause the bot to automatically update or remove the annotation.
Comment 1•4 years ago
|
||
Reduced testcase:
data:text/html,<div style="display:inline-grid;height:1px;border:1px solid black"><div style="writing-mode:vertical-rl">abc def ghi
In Firefox, the grid (shown by the black border) is only as wide as a single line of text, and the text runs off the block-end edge (the left) and runs off the screen.
In Chrome, the grid is as wide as all three lines of text, and the text doesn't run off the screen, because the grid computes the right content-width.
Comment 2•4 years ago
|
||
We have a similar bug for flexbox, though I think this particular WPT test is broken strictly as a result of the aforementioned grid bug.
But for completeness, here's a reduced testcase for the analogous flexbox bug:
data:text/html,<div style="display:inline-flex;height:1px;border:1px solid black"><div style="writing-mode:vertical-rl">abc def ghi
In Firefox, the flex container (shown by the black border) has a 0px-wide content area (though fortunately nothing runs off the page).
In Chrome, the flex container is wide enough to fit all three lines of text.
Updated•2 years ago
|
Updated•1 year ago
|
Comment 3•1 year ago
|
||
The orthogonal flex item returns zero intrinsic inline size (in flex container's writing mode) because we didn't know its block size, and it goes into this logic in nsLayoutUtils::IntrinsicForAxis(). This is essentially bug 1310551.
Comment 4•7 months ago
|
||
Bug 1949064 fixed grid-with-orthogonal-child-within-flexbox.html.
Description
•