[wpt-sync] Sync PR 61444 - Fix outline painting crash with <area> outside flat tree
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 61444 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/61444
Details from upstream follow.
Rune Lillesveen <futhark@chromium.org> wrote:
Fix outline painting crash with <area> outside flat tree
With GetComputedStyleOutsideFlatTree disabled, EnsureComputedStyle()
returns nullptr ComputedStyle for elements outside the flat tree
(non-slotted host children).This is a regression from when we allowed computing non-empty styles
outside the flat tree, but neither Firefox, nor Safari, picks up this
outline color.Bug: 531745321
Change-Id: I61bbce0ade10e057f0024d5cb190476db29032ef
Reviewed-on: https://chromium-review.googlesource.com/8126000
WPT-Export-Revision: b9ad55f784f270ceb9b8d170c4eca627d5f1b721
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Comment 1•4 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=430174282274d196671a9934be51cfb44296f3a7
| Assignee | ||
Comment 2•4 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 6 tests and 11 subtests
Status Summary
Firefox
OK : 5
PASS : 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, GitHub] 34[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-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 42
Chrome
CRASH: 1
Safari
PASS : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/embedded-content/the-area-element/area-coords.html [wpt.fyi]
- COMMA: "2,2,10,10" (rect):
FAIL - SEMICOLON: "2;2;10;10" (rect):
FAIL - SPACE: "2 2 10 10" (rect):
FAIL - TAB: "2\t2\t10\t10" (rect):
FAIL - FORM FEED: "2\f2\f10\f10" (rect):
FAIL - LINE FEED: "2\n2\n10\n10" (rect):
FAIL - CARRIGAGE RETURN: "2\r2\r10\r10" (rect):
FAIL - abc between numbers: "2a2b20c20,2,10,10" (rect):
FAIL - COLON between numbers: "2:2:20:20,2,10,10" (rect):
FAIL - U+0000 between numbers: "2\02\020\020,2,10,10" (rect):
FAIL - leading COMMA: ",2,2,10,10" (rect):
FAIL - leading SPACE: " 2,2,10,10" (rect):
FAIL - leading SEMICOLON: ";2,2,10,10" (rect):
FAIL - PERCENT: "2%,2%,10%,10%" (rect):
FAIL - CSS units: "2in,2in,10cm,10cm" (rect):
FAIL - float: "1.4,1.4,10,10" (rect):
FAIL - number starting with PERIOD: ".4,.4,10,10" (rect):
FAIL - sci-not: "2,2,1e1,1e1" (rect):
FAIL - leading/trailing garbage: "='2,2,10,10' " (rect):
FAIL - non-ascii garbage: "“2,2,10,10"" (rect):
FAIL - several consecutive separators: ",,2;,;2,;,10 \t\r\n10;;" (rect):
FAIL - one too many numbers, trailing COMMA: "100,100,120,100,100,120,300," (poly):
FAIL
- COMMA: "2,2,10,10" (rect):
- /html/semantics/embedded-content/the-area-element/area-processing.html [wpt.fyi]
- negative: "-10,-10,10,10" (rect):
FAIL - first > third: "10,2,2,10" (rect):
FAIL - second > fourth: "2,10,10,2" (rect):
FAIL - first > third, second > fourth: "10,10,2,2" (rect):
FAIL - negative: "-10,-10,-10,-10" (default):
FAIL - one too many numbers: "100,100,120,100,100,120,300" (poly):
FAIL - even-odd rule: "100,100,200,100,100,200,150,50,200,200" (poly):
FAIL
- negative: "-10,-10,10,10" (rect):
- /html/semantics/embedded-content/the-area-element/area-shape.html [wpt.fyi]
- missing value default: "2,2,10,10" (null):
FAIL - invalid value default: "2,2,10,10" (foobar invalid):
FAIL - invalid value default: "2,2,10,10" ():
FAIL - empty string: "" (default):
FAIL - omitted coords: null (DEFAULT):
FAIL - simple: "2,2,10,10" (rect):
FAIL - simple: "2,2,10,10" (rectangle):
FAIL - simple: "20,40,10" (circle):
FAIL - simple: "20,40,10" (circ):
FAIL - simple: "20,40,10" (CIRCLE):
FAIL - simple: "20,40,10" (CIRC):
FAIL - simple: "100,100,120,100,100,120" (poly):
FAIL - simple: "100,100,120,100,100,120" (polygon):
FAIL
- missing value default: "2,2,10,10" (null):
Comment 4•4 months ago
|
||
| bugherder | ||
Comment 5•4 months ago
|
||
| bugherder | ||
Comment 6•4 months ago
|
||
| bugherder | ||
Comment 7•4 months ago
|
||
| bugherder | ||
Description
•