[wpt-sync] Sync PR 44842 - [PEPC] Restrict Permission Element CSS properties
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox125 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 44842 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/44842
Details from upstream follow.
Andy Paicu <andypaicu@chromium.org> wrote:
[PEPC] Restrict Permission Element CSS properties
Override AdjustStyle to apply margin and outline offset restrictions.
Use a new property and CascadeFilter to only allow certain properties.
Add multiple TODO's for various other needed style restrictions that are
more complext.Restrictions based on the following spreadsheet: https://docs.google.com/spreadsheets/d/12A0zc4VKaYegBcr38V1MkHiSXA7rlR983UXTUkNYc6A/edit#gid=0&fvid=230619400
Bug: 1462930
Change-Id: If6f154ac4f2f517281360781da88bfc630ac7d48
Reviewed-on: https://chromium-review.googlesource.com/5301161
WPT-Export-Revision: 84ea31cb243e225cf019ba6ec6cafc136fbc479c
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 2 subtests
Status Summary
Firefox
OK : 2
PASS: 1
FAIL: 2
Chrome
OK : 2
PASS: 1
FAIL: 2
Safari
OK : 2
PASS: 1
FAIL: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/permission-element/invalid-css-properties.html [wpt.fyi]
- None of the listed properties should be applied:
FAIL(Chrome:FAIL, Safari:FAIL)
- None of the listed properties should be applied:
- /html/semantics/permission-element/negative-offset-and-margin.html [wpt.fyi]
- Negative margins/offset should be changed to 0px:
FAIL(Chrome:FAIL, Safari:FAIL)
- Negative margins/offset should be changed to 0px:
https://hg.mozilla.org/mozilla-central/rev/fad4bb488263
https://hg.mozilla.org/mozilla-central/rev/d213fde95c26
Description
•