[wpt-sync] Sync PR 50318 - [Gap Decorations]: Setup paint for simple gap cases
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50318 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50318
Details from upstream follow.
Sam Davis Omekara (from Dev Box) <samomekarajr@microsoft.com> wrote:
[Gap Decorations]: Setup paint for simple gap cases
This CL uses the gap geometry from crrev.com/c/6092603 to paint gap
decorations within grid. The change begins by introducing a
ShouldPaintGapDecorations
method in theBoxDecorationData
class.
This method affects theShouldPaint
method, ensuring that gap
decorations are painted when necessary.Next, two methods,
PaintColumnGaps
andPaintRowGaps
, are
implemented in theBoxFragmentPainter
class. These methods use the
stored offsets to construct rects, which are passed to appropriate
paint ops.Future changes will preliminarily handle row fragmentation and
update the painting logic to use gap intersection pairs, as outlined in
the spec: https://drafts.csswg.org/css-gaps-1/#break.Bug: 357648037
Change-Id: I87911c3da7a61562ce5126e396684902de5a1b73
Reviewed-on: https://chromium-review.googlesource.com/6101656
WPT-Export-Revision: df5a10d59e38e5a01b1126ce493da75ae43e8657
Assignee | ||
Updated•26 days ago
|
Assignee | ||
Comment 1•24 days ago
|
||
Assignee | ||
Comment 2•24 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 5 tests
Status Summary
Firefox
FAIL
: 5
Chrome
FAIL
: 5
Safari
CRASH
: 1
FAIL
: 4
Links
Details
New Tests That Don't Pass
- /css/css-gaps/tentative/grid/grid-gap-decorations-001.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-gaps/tentative/grid/grid-gap-decorations-002.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:CRASH
) - /css/css-gaps/tentative/grid/grid-gap-decorations-003.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-gaps/tentative/grid/grid-gap-decorations-004.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /css/css-gaps/tentative/grid/grid-gap-decorations-005.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
Comment 4•21 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0dd20084939d
https://hg.mozilla.org/mozilla-central/rev/52dda8967ae0
Description
•