[wpt-sync] Sync PR 58304 - Treat static video controls as replaced normal-flow stacking
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 58304 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/58304
Details from upstream follow.
jj <jj@imput.net> wrote:
Treat static video controls as replaced normal-flow stacking
Static video controls create stacked paint layers, which paint after
inline siblings, causing positioned elements (e.g. buttons) placed on
top of the video to be painted over by the controls.Fix this by treating static \<video controls> as a replaced normal-flow
stacking element.The hit-test and paint child-skip in PaintLayer is narrowed from
IsReplacedNormalFlowStacking() to IsSVGForeignObject(), since the skip
logic relies on SVG-specific coordinate transforms that don't apply to
video.Fixed: 40591804
Change-Id: Ib0489f88fc1452ceb8a34e3925809eb0ca73b70e
Reviewed-on: https://chromium-review.googlesource.com/7617187
WPT-Export-Revision: 39b5015d09ace416d84ff9116dca7997da0436e5
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 10 tests
Status Summary
Firefox
OK : 1[GitHub] 3[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
PASS: 2[GitHub] 9[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 15[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
FAIL: 6
Chrome
OK : 1
FAIL: 2
Safari
OK : 1
PASS: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/rendering/replaced-elements/embedded-content/iframe-frameborder.html [wpt.fyi]
- <iframe frameborder=""></iframe>:
FAIL - <iframe frameborder="-0"></iframe>:
FAIL - <iframe frameborder="0.5"></iframe>:
FAIL - <iframe frameborder="0.5e1"></iframe>:
FAIL - <iframe frameborder="none"></iframe>:
FAIL - <iframe frameborder="error"></iframe>:
FAIL
- <iframe frameborder=""></iframe>:
- /html/rendering/replaced-elements/embedded-content/video-controls-vertical-writing-mode.html [wpt.fyi]:
SKIP
Description
•