[wpt-sync] Sync PR 60496 - [SVG] Align SVGStyleElement type and media with HTMLStyleElement
Categories
(Core :: SVG, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 60496 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/60496
Details from upstream follow.
Vinay Singh <vinaysingh@microsoft.com> wrote:
[SVG] Align SVGStyleElement type and media with HTMLStyleElement
SVGStyleElement.typereturned"text/css"andSVGStyleElement.media
returned"all"when the corresponding content attribute was unset.
This diverged fromHTMLStyleElement, which simply reflects the raw
attribute value (the empty string when unset) per the IDLDOMString
reflection contract. Additionally, dynamic mutations of themediaand
typecontent attributes on an SVG\<style>element were ignored — the
associated stylesheet was never updated — while the HTML element handles
both cases.A follow-up CL will convert this to
[Reflect] DOMStringin the IDL and
drop the now-redundant C++ setters, matchingHTMLStyleElement.idl's
style.Bug: 441253575
Change-Id: I8224e4b1c6104ce69472df7351eb430f59402b11
Reviewed-on: https://chromium-review.googlesource.com/7895659
WPT-Export-Revision: 6a6ca89be98cc64c39a4dbe64d8ef4c84d8e9bb9
| Assignee | ||
Updated•2 days ago
|
| Assignee | ||
Comment 1•2 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=0d88086cf9384f5ff3ddd5b6864924ff2a69c63c
| Assignee | ||
Comment 2•2 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 5 tests and 3 subtests
Status Summary
Firefox
OK : 5
PASS: 15
Chrome
OK : 5
PASS: 9
FAIL: 6
Safari
OK : 5
PASS: 11
FAIL: 4
Links
Comment 4•18 hours ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c8d44bb8f52d
https://hg.mozilla.org/mozilla-central/rev/242fdcd6f09d
Description
•