[wpt-sync] Sync PR 65090 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=107394
Categories
(Core :: SVG, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 65090 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/65090
Details from upstream follow.
Karl Dubost <k_dubost@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=107394
WebKit export from bug: [<!---->SVG2]<!----> Support SVGSVGElement'<!---->s transform attribute
<pre>
WPT: add coverage for the transform attribute on the outermost svg elementNothing covered the transform attribute on an outermost svg element
inline in an HTML document:<svg width="200" height="100" transform="scale(0.5)"> <rect width="200" height="100" fill="green"/> </svg>Firefox and Chrome shrink the element's box to 100x50, the same as
transform: scale(0.5) in CSS. Before <a href="https://commits.webkit.org/321441@main">321441@main</a>, WebKit ignored the
attribute, and the layer-based engine shrank the content but left the
box. The scale test separates those three, and both scale variants
point at one reference that contains no transform, so neither can hide
a failure in the other.transform is a presentation attribute on any element in the SVG
namespace except pattern and the gradients, so it maps on svg:
<a href="https://w3c.github.io/svgwg/svg2-draft/styling.html#PresentationAttributes">https://w3c.github.io/svgwg/svg2-draft/styling.html#PresentationAttributes</a>All three tests pass since <a href="https://commits.webkit.org/321441@main">321441@main</a>. The CSS one passing is what
shows the references are right. The four inner svg reftests in that
directory still fail and carried no bug number. They are 107394 too,
so they now say so.run-webkit-tests over that directory: 53 tests, all as expected.
This will be exported to WPT.
WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=107394">https://bugs.webkit.org/show_bug.cgi?id=107394</a>
</pre>
| Assignee | ||
Updated•10 days ago
|
| Assignee | ||
Comment 1•10 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=123273
| Assignee | ||
Comment 2•10 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 3 tests
Status Summary
Firefox
PASS: 3
Chrome
PASS: 3
Safari
PASS: 3
Links
Comment 4•8 days ago
|
||
| bugherder | ||
Description
•