[wpt-sync] Sync PR 64132 - Close elements left open in WPTs and remove wrong closing tags
Categories
(Core :: SVG, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64132 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64132
Details from upstream follow.
Fernando Fiori <ffiori@microsoft.com> wrote:
Close elements left open in WPTs and remove wrong closing tags
SVG shapes are not void elements, so \<rect>, \<path> and \<animate>
written without an end tag stay open until \</svg> closes them, which the
parser reports as a misplaced end tag. Self-close them instead. Likewise
close \<video> explicitly rather than leaving it to the enclosing \</div>,
drop the \</command> that the parser discards because \<command> is void,
and remove a leftover \</script> inside an inline script body.Bug: 542686202
Change-Id: I1d95a0f9a95f77bc97dda8f00c672e5a8088e696
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8220910
Auto-Submit: Fernando Fiori \<ffiori@microsoft.com>
Reviewed-by: Brandon Walderman \<brwalder@microsoft.com>
Commit-Queue: Fernando Fiori \<ffiori@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1726228}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•26 days ago
|
| Assignee | ||
Comment 1•26 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=114064
| Assignee | ||
Comment 2•25 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 789 tests
Status Summary
Firefox
OK : 7[GitHub] 529[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] 530[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]
PASS : 84[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 167[GitHub] 1684[Gecko-windows11-32-25h2-opt] 1685[Gecko-windows11-32-25h2-debug] 1828[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 1830[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 1832[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]
CRASH : 1[Gecko-android-em-14-x86_64-lite-opt-geckoview] 2[Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt]
FAIL : 48[Gecko-windows11-32-25h2-debug] 49[Gecko-windows11-32-25h2-opt] 69[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] 73[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 75[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 1[Gecko-android-em-14-x86_64-lite-opt-geckoview] 2[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 7
PASS : 167
Safari
OK : 7
PASS : 167
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Crashes
- /svg/animations/end-of-time-001-crash.html [wpt.fyi]:
CRASH[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt],SKIP[Gecko-linux2204-64-wayland-opt,Gecko-linux2404-64-opt],TIMEOUT[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2204-64-wayland-debug,Gecko-linux2404-64-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] linked bug:Bug 1984172 - /svg/animations/end-of-time-002-crash.html [wpt.fyi]:
CRASH[Gecko-android-em-14-x86_64-opt-geckoview,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt],SKIP[Gecko-linux2204-64-wayland-opt,Gecko-linux2404-64-opt],TIMEOUT[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-linux2204-64-wayland-debug,Gecko-linux2404-64-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] linked bug:Bug 1984172
New Tests That Don't Pass
- /html/semantics/embedded-content/the-video-element/video_timeupdate_on_seek.html [wpt.fyi]:
SKIP - /svg/animations/seeking-events-7.html [wpt.fyi]:
SKIP - /svg/animations/seeking-events-8.html [wpt.fyi]:
SKIP - /content-security-policy/form-action/form-action-src-redirect-blocked.sub.html [wpt.fyi]
- Expecting logs: ["violated-directive=form-action","blocked-uri=http://web-platform.test:8000/common/redirect.py?location=http://www1.web-platform.test:8000/content-security-policy/support/postmessage-fail.html","TEST COMPLETE"]:
FAIL - form-action-src-redirect-blocked:
FAIL
- Expecting logs: ["violated-directive=form-action","blocked-uri=http://web-platform.test:8000/common/redirect.py?location=http://www1.web-platform.test:8000/content-security-policy/support/postmessage-fail.html","TEST COMPLETE"]:
- /html/semantics/embedded-content/the-video-element/intrinsic_sizes.htm [wpt.fyi]
- default height is still 150:
FAIL - default width is still 300:
FAIL
- default height is still 150:
- /html/semantics/interactive-elements/the-dialog-element/dialog-close-via-attribute.tentative.html [wpt.fyi]
- Removing the open attribute from an open modal dialog should run the closing algorithm.:
FAIL - Removing the open attribute from an open non-modal dialog should fire a close event.:
FAIL
- Removing the open attribute from an open modal dialog should run the closing algorithm.:
- /html/semantics/interactive-elements/the-dialog-element/dialog-focusability.html [wpt.fyi]
- The dialog element itself should not be keyboard focusable.:
FAIL
- The dialog element itself should not be keyboard focusable.:
- /html/semantics/interactive-elements/the-dialog-element/dialog-form-submission.html [wpt.fyi]
- returnValue doesn't update when there's no value attribute.:
FAIL
- returnValue doesn't update when there's no value attribute.:
- /html/semantics/interactive-elements/the-dialog-element/dialog-light-dismiss-touch.html [wpt.fyi]
- Dialog light dismiss should work with touch and not trigger a click event.:
FAIL
- Dialog light dismiss should work with touch and not trigger a click event.:
- /html/semantics/interactive-elements/the-dialog-element/dialog-overlay.html [wpt.fyi]
- dialog computed overlay initially 'none':
FAIL - Opening and closing a modal dialog changes computed overlay to 'auto' and back to 'none':
FAIL
- dialog computed overlay initially 'none':
- /html/semantics/interactive-elements/the-dialog-element/dialog-requestclose-closedby.tentative.html [wpt.fyi]
- requestClose() should close the dialog even when computed closedby becomes none:
FAIL
- requestClose() should close the dialog even when computed closedby becomes none:
- /html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html [wpt.fyi]
- when opening multiple dialogs, the most recently opened is rendered on top:
FAIL
- when opening multiple dialogs, the most recently opened is rendered on top:
- /inert/inert-iframe-tabbing.html [wpt.fyi]
- Sequential navigation can move within an inert iframe:
FAIL
- Sequential navigation can move within an inert iframe:
- /inert/inert-resize-handle.html [wpt.fyi]
- Resize handle should not be interactive after element becomes inert:
FAIL[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],PASS[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]
- Resize handle should not be interactive after element becomes inert:
- /inert/inert-scrollbar-hittest.html [wpt.fyi]:
OK[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],SKIP[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]- Scrollbar should not be interactive when the element is inert:
FAIL
- Scrollbar should not be interactive when the element is inert:
- /svg/animations/animate-color-transparent.html [wpt.fyi]
- Tests that 'transparent' is treated as a valid color.:
FAIL
- Tests that 'transparent' is treated as a valid color.:
- /svg/animations/animate-css-xml-attributeType.html [wpt.fyi]
- Tests that XML and CSS attributeTypes can be switched between.:
FAIL
- Tests that XML and CSS attributeTypes can be switched between.:
- /svg/animations/animate-path-additive-sum-both-empty-over-base.tentative.html [wpt.fyi]
- SVG path 'd' additive animation with both-empty over non-empty base:
FAIL
- SVG path 'd' additive animation with both-empty over non-empty base:
- /svg/animations/animate-path-animation-Cc-Ss.tentative.html [wpt.fyi]
- Path animation where coordinate modes of start and end differ (C-c and S-s):
FAIL
- Path animation where coordinate modes of start and end differ (C-c and S-s):
- /svg/animations/animate-path-by-animation-accumulate-mismatch.tentative.html [wpt.fyi]
- SVG path 'd' attribute by animation with accumulate='sum' and mismatched commands:
FAIL
- SVG path 'd' attribute by animation with accumulate='sum' and mismatched commands:
- /svg/animations/animate-path-by-animation-additive-mismatch.tentative.html [wpt.fyi]
- SVG path 'd' attribute by animation with additive='sum' and mismatched commands:
FAIL
- SVG path 'd' attribute by animation with additive='sum' and mismatched commands:
- /svg/animations/animate-path-by-animation-empty-base.tentative.html [wpt.fyi]
- SVG path 'd' by-animation with empty base value:
FAIL
- SVG path 'd' by-animation with empty base value:
- /svg/animations/animate-path-by-animation-mismatch.tentative.html [wpt.fyi]
- SVG path 'd' attribute by animation with mismatched commands:
FAIL
- SVG path 'd' attribute by animation with mismatched commands:
- /svg/animations/animate-path-from-by-animation-both-empty.tentative.html [wpt.fyi]
- SVG path 'd' from-by animation with both values empty:
FAIL
- SVG path 'd' from-by animation with both values empty:
- /svg/animations/animate-pathLength.tentative.html [wpt.fyi]
- SMIL from-to animation of the 'pathLength' attribute:
FAIL
- SMIL from-to animation of the 'pathLength' attribute:
- /svg/animations/animateMotion-calcMode-discrete-path-curves.html [wpt.fyi]
- Test animateMotion with calcMode="discrete" and complex paths:
FAIL
- Test animateMotion with calcMode="discrete" and complex paths:
- /svg/animations/repeatn-remove-add-animation.html [wpt.fyi]
- Remove and add an animation element while the animation is repeating:
FAIL
- Remove and add an animation element while the animation is repeating:
- /svg/animations/svgboolean-animation-1.html [wpt.fyi]
- Test 'to' animation of SVGBoolean.:
FAIL
- Test 'to' animation of SVGBoolean.:
- /svg/animations/svglength-additive-by-7.html [wpt.fyi]
- This tests by-animations adding to previous underlying values:
FAIL
- This tests by-animations adding to previous underlying values:
- /svg/animations/svglength-additive-by-8.html [wpt.fyi]
- This tests by-animations adding to previous underlying values:
FAIL
- This tests by-animations adding to previous underlying values:
- /svg/animations/svgpath-animation-2.tentative.html [wpt.fyi]
- 'inherit' path animation:
FAIL
- 'inherit' path animation:
- /svg/animations/scripted/animatetransform-type-missing-value-default.html [wpt.fyi]
- <animateTransform> 'type' attribute missing/invalid value default, removed "type" attribute:
FAIL[Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug],PASS[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-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt]
- <animateTransform> 'type' attribute missing/invalid value default, removed "type" attribute:
- /svg/animations/scripted/onhover-syncbases.html [wpt.fyi]
- Check if onhover events reset correctly when triggered multiple times:
FAIL[Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt],PASS[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-64-25h2-debug]
- Check if onhover events reset correctly when triggered multiple times:
- /svg/painting/parsing/marker-computed.svg [wpt.fyi]
- url values are made absolute:
FAIL
- url values are made absolute:
- /svg/painting/parsing/stroke-dasharray-valid.svg [wpt.fyi]
- e.style['stroke-dasharray'] = "calc(3)" should set the property value:
FAIL - e.style['stroke-dasharray'] = "calc(2 + 1)" should set the property value:
FAIL - e.style['stroke-dasharray'] = "calc(2 + (7 - 5))" should set the property value:
FAIL
- e.style['stroke-dasharray'] = "calc(3)" should set the property value:
- /svg/painting/parsing/stroke-dashoffset-valid.svg [wpt.fyi]
- e.style['stroke-dashoffset'] = "0" should set the property value:
FAIL - e.style['stroke-dashoffset'] = "30" should set the property value:
FAIL - e.style['stroke-dashoffset'] = "calc(3)" should set the property value:
FAIL - e.style['stroke-dashoffset'] = "calc(2 + 1)" should set the property value:
FAIL - e.style['stroke-dashoffset'] = "calc(2 + (7 - 5))" should set the property value:
FAIL
- e.style['stroke-dashoffset'] = "0" should set the property value:
- /svg/painting/parsing/stroke-linejoin-valid.svg [wpt.fyi]
- e.style['stroke-linejoin'] = "miter-clip" should set the property value:
FAIL - e.style['stroke-linejoin'] = "arcs" should set the property value:
FAIL
- e.style['stroke-linejoin'] = "miter-clip" should set the property value:
- /svg/painting/parsing/stroke-width-valid.svg [wpt.fyi]
- e.style['stroke-width'] = "0" should set the property value:
FAIL - e.style['stroke-width'] = "10" should set the property value:
FAIL - e.style['stroke-width'] = "calc(3)" should set the property value:
FAIL - e.style['stroke-width'] = "calc(2 + 1)" should set the property value:
FAIL - e.style['stroke-width'] = "calc(2 + (7 - 5))" should set the property value:
FAIL
- e.style['stroke-width'] = "0" should set the property value:
- /svg/animations/end-of-time-001-crash.html [wpt.fyi]:
CRASH[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt],SKIP[Gecko-linux2204-64-wayland-opt,Gecko-linux2404-64-opt],TIMEOUT[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2204-64-wayland-debug,Gecko-linux2404-64-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /svg/animations/end-of-time-002-crash.html [wpt.fyi]:
CRASH[Gecko-android-em-14-x86_64-opt-geckoview,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt],SKIP[Gecko-linux2204-64-wayland-opt,Gecko-linux2404-64-opt],TIMEOUT[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-linux2204-64-wayland-debug,Gecko-linux2404-64-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /html/semantics/embedded-content/the-video-element/video-poster-clone-template.html [wpt.fyi]:
FAIL - /html/semantics/embedded-content/the-video-element/video_initially_paused.html [wpt.fyi]:
FAIL - /svg/painting/inline-svg-resize-viewport-dependent-mask.html [wpt.fyi]:
FAIL[Gecko-linux2404-64-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[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-opt] - /svg/painting/marker-005.svg [wpt.fyi]:
FAIL - /svg/painting/marker-006.svg [wpt.fyi]:
FAIL - /svg/painting/marker-007.svg [wpt.fyi]:
FAIL - /svg/painting/svg-with-outline.html [wpt.fyi]:
FAIL - /svg/painting/reftests/display-none-mask.html [wpt.fyi]:
FAIL - /svg/painting/reftests/marker-path-022.svg [wpt.fyi]:
FAIL - /svg/painting/reftests/marker-path-023.svg [wpt.fyi]:
FAIL - /svg/painting/reftests/non-scaling-stroke-009.html [wpt.fyi]:
FAIL - /svg/painting/reftests/non-scaling-stroke-010.html [wpt.fyi]:
FAIL - /svg/painting/reftests/paint-context-002.svg [wpt.fyi]:
FAIL - /svg/painting/reftests/paint-context-003.svg [wpt.fyi]:
FAIL - /svg/painting/reftests/paint-context-004.svg [wpt.fyi]:
FAIL - /svg/painting/reftests/paint-context-007.svg [wpt.fyi]:
FAIL - /svg/painting/reftests/paint-context-008.svg [wpt.fyi]:
FAIL - /svg/painting/reftests/paint-order-002.svg [wpt.fyi]:
FAIL - /svg/painting/reftests/paint-order-003.svg [wpt.fyi]:
FAIL - /svg/painting/reftests/paint-order-text-decorations.svg [wpt.fyi]:
FAIL - /svg/painting/reftests/text-shadow-01.html [wpt.fyi]:
FAIL - /svg/painting/reftests/text-shadow-02.html [wpt.fyi]:
FAIL - /svg/painting/reftests/text-shadow-03.html [wpt.fyi]:
FAIL - /svg/render/reftests/blending-svg-foreign-object.html [wpt.fyi]:
FAIL - /svg/render/reftests/blending-svg-root.html [wpt.fyi]:
FAIL[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[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] - /svg/painting/reftests/mask-print.svg [wpt.fyi]:
FAIL
Tests Disabled in Gecko Infrastructure
- /html/semantics/embedded-content/the-video-element/video_timeupdate_on_seek.html [wpt.fyi]:
SKIP - /svg/animations/seeking-events-7.html [wpt.fyi]:
SKIP - /svg/animations/seeking-events-8.html [wpt.fyi]:
SKIP - /inert/inert-scrollbar-hittest.html [wpt.fyi]:
OK[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],SKIP[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] - /svg/animations/end-of-time-001-crash.html [wpt.fyi]:
CRASH[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt],SKIP[Gecko-linux2204-64-wayland-opt,Gecko-linux2404-64-opt],TIMEOUT[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2204-64-wayland-debug,Gecko-linux2404-64-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] linked bug:Bug 1984172 - /svg/animations/end-of-time-002-crash.html [wpt.fyi]:
CRASH[Gecko-android-em-14-x86_64-opt-geckoview,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt],SKIP[Gecko-linux2204-64-wayland-opt,Gecko-linux2404-64-opt],TIMEOUT[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-linux2204-64-wayland-debug,Gecko-linux2404-64-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] linked bug:Bug 1984172
Comment 4•18 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9a30d33f7240
https://hg.mozilla.org/mozilla-central/rev/41a5a9668f10
Description
•