[wpt-sync] Sync PR 50509 - Ensure atomic style change events for ElementLayoutUpgrade
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox137 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50509 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50509
Details from upstream follow.
Rune Lillesveen <futhark@chromium.org> wrote:
Ensure atomic style change events for ElementLayoutUpgrade
If an old style is stored in the PostStyleUpdateScope, it means we need
to perform layout to ensure style change events are atomic for a given
element.Also fixed some spec links in tests.
Bug: 393513318, 344506496
Change-Id: I49aa1e5a2f9264e1fefbf2898d97e44116a98f3a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6231931
Reviewed-by: Anders Hartvoll Ruud \<andruud@chromium.org>
Commit-Queue: Rune Lillesveen \<futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1416092}
Assignee | ||
Updated•1 month ago
|
Updated•1 month ago
|
Assignee | ||
Comment 2•1 month ago
|
||
Assignee | ||
Comment 3•1 month ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 14 tests
Status Summary
Firefox
OK
: 13
FAIL
: 22
Chrome
OK
: 13
PASS
: 21
FAIL
: 1
Safari
OK
: 13
FAIL
: 22
Links
Details
New Tests That Don't Pass
- /css/css-anchor-position/anchor-getComputedStyle-001.html [wpt.fyi]
- Basic case:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Mixed writing modes and directions:
FAIL
(Chrome:PASS
, Safari:FAIL
) - With containing block padding:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Basic case:
- /css/css-anchor-position/anchor-getComputedStyle-002.html [wpt.fyi]
- getComputedStyle() with fragmented containing block in multicolumn layout:
FAIL
(Chrome:PASS
, Safari:FAIL
) - getComputedStyle() with fragmented containing block in inline layout:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- getComputedStyle() with fragmented containing block in multicolumn layout:
- /css/css-anchor-position/anchor-getComputedStyle-003.html [wpt.fyi]
- getComputedStyle() should return and absolutize the first @try rule style for target1:
FAIL
(Chrome:PASS
, Safari:FAIL
) - getComputedStyle() should return and absolutize the second @try rule style for target2:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- getComputedStyle() should return and absolutize the first @try rule style for target1:
- /css/css-anchor-position/anchor-scroll-004.html [wpt.fyi]
- Initial position of the targets:
FAIL
(Chrome:PASS
, Safari:FAIL
) - #target1 should scroll with #anchor1:
FAIL
(Chrome:PASS
, Safari:FAIL
) - #target2 should scroll with #anchor2:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Initial position of the targets:
- /css/css-anchor-position/anchor-transition-001.html [wpt.fyi]
- Transition of anchor() when changing target anchor element name:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Transition of anchor-size() when changing target anchor element name:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Transition of anchor() when changing target anchor element name:
- /css/css-anchor-position/anchor-transition-002.html [wpt.fyi]
- Transition with anchor names defined in different tree scopes:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Transition with anchor names defined in different tree scopes:
- /css/css-anchor-position/anchor-transition-003.html [wpt.fyi]
- Transition with anchor names defined in three different tree scopes:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Transition with anchor names defined in three different tree scopes:
- /css/css-anchor-position/anchor-transition-004.html [wpt.fyi]
- getComputedStyle should not affect whether an anchor positioned element transitions from display:none:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- getComputedStyle should not affect whether an anchor positioned element transitions from display:none:
- /css/css-anchor-position/anchor-transition-attr.html [wpt.fyi]
- Transition when the anchor attribute changes:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Transition when the anchor attribute changes:
- /css/css-anchor-position/anchor-transition-default.html [wpt.fyi]
- Transition when position-anchor changes:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Transition when position-anchor changes:
- /css/css-anchor-position/anchor-transition-eval.html [wpt.fyi]
- Transition when the result of anchor() changes:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Transition when the result of anchor-size() changes:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Transition when the result of anchor() changes:
- /css/css-anchor-position/anchor-transition-name.html [wpt.fyi]
- Transition when the dereferenced anchor name changes:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Transition when the dereferenced anchor name changes:
- /css/css-anchor-position/position-anchor-003.html [wpt.fyi]
- Layout is updated on
position-anchor
changes:FAIL
(Chrome:PASS
, Safari:FAIL
)
- Layout is updated on
- /css/css-anchor-position/anchor-scroll-composited-scrolling-006.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
)
Comment 5•1 month ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ab9ddf508073
https://hg.mozilla.org/mozilla-central/rev/da90f511a7f5
Description
•