[wpt-sync] Sync PR 64414 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326836
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 64414 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64414
Details from upstream follow.
Sam Weinig <sam@webkit.org> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326836
WebKit export from bug: \<<!---->svg:<!---->image><!----> should cause referenced SVG images to treat their own root preserveAspectRatio as none
<pre>
<svg:image> should cause referenced SVG images to treat their own root preserveAspectRatio as noneSVG2 says:
"For ‘image’ elements embedding an SVG image, the ‘preserveAspectRatio’ attribute on the root element in the
referenced SVG image must be ignored, and instead treated as if it had a value of none."- <a href="https://w3c.github.io/svgwg/svg2-draft/embedded.html#ImageElement">https://w3c.github.io/svgwg/svg2-draft/embedded.html#ImageElement</a>To implement this, we now pass a new flag IgnoreRootPreserveAspectRatio when painting <svg:image> elements
(both RenderSVGImage and LegacyRenderSVGImage) and implement the rest of the placement sizing via new helpers.In the follow on changes we can add support for
object-fitandobject-positionin this shared placement code.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=326836">https://bugs.webkit.org/show_bug.cgi?id=326836</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/323568@main">https://commits.webkit.org/323568@main</a>
</pre>
| Assignee | ||
Updated•14 days ago
|
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Comment 1•11 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=116445
| Assignee | ||
Comment 2•10 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Safari on GitHub CI
Total 551 tests
Status Summary
Firefox
OK : 44
PASS: 7[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 3519[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 3964[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 89[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 142[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Safari
PASS: 5
FAIL: 5
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-images/image-orientation/image-orientation-none-cross-origin-canvas-css-image-value.sub.html [wpt.fyi]:
SKIP - /css/css-images/object-fit-stale-image-while-revalidating.html [wpt.fyi]:
SKIP - /css/css-images/conic-gradient-calc-angle-percentage.html [wpt.fyi]:
FAIL - /css/css-images/cross-fade-basic.html [wpt.fyi]:
FAIL - /css/css-images/cross-fade-cross-origin-orientation.sub.html [wpt.fyi]:
FAIL - /css/css-images/cross-fade-natural-size.html [wpt.fyi]:
FAIL - /css/css-images/cross-fade-premultiplied-alpha.html [wpt.fyi]:
FAIL - /css/css-images/cross-fade-target-alpha.html [wpt.fyi]:
FAIL - /css/css-images/css-image-fallbacks-and-annotations.html [wpt.fyi]:
FAIL - /css/css-images/css-image-fallbacks-and-annotations002.html [wpt.fyi]:
FAIL - /css/css-images/css-image-fallbacks-and-annotations003.html [wpt.fyi]:
FAIL - /css/css-images/css-image-fallbacks-and-annotations004.html [wpt.fyi]:
FAIL - /css/css-images/css-image-fallbacks-and-annotations005.html [wpt.fyi]:
FAIL - /css/css-images/image-color-cross-fade.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-auto-size-relayout.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-contain-intrinsic-size.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-fit-contain-canvas.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-fit-contain-img.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-fit-contain-svg.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-fit-contain-video.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-fit-cover-canvas.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-fit-cover-img.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-fit-cover-svg.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-fit-cover-video.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-fit-fill-canvas.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-fit-fill-img.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-fit-fill-svg.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-fit-fill-video.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-fit-none-canvas.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-fit-none-img.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-fit-none-svg.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-fit-none-video.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-property-changed.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-rect-percentage.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-rect.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-size-containment.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-writing-mode-canvas.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-writing-mode-img.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-writing-mode-svg.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-writing-mode-video.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-xywh-percentage.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-xywh.html [wpt.fyi]:
FAIL - /css/css-images/object-view-box-zoom.html [wpt.fyi]:
FAIL - /css/css-images/gradient/gradient-analogous-missing-components-004.html [wpt.fyi]:
FAIL - /css/css-images/gradient/gradient-eval-004.html [wpt.fyi]:
FAIL - /css/css-images/gradient/gradient-infinity-001.html [wpt.fyi]:
FAIL - /css/css-images/gradient/gradient-infinity-003.html [wpt.fyi]:
FAIL - /css/css-images/gradient/gradient-none-interpolation.html [wpt.fyi]:
FAIL - /css/css-images/image-orientation/image-orientation-exif-png.html [wpt.fyi]:
FAIL - /css/css-images/image-orientation/image-orientation-none-cross-origin-canvas-pattern.html [wpt.fyi]:
FAIL - /css/css-images/image-orientation/image-orientation-none-cross-origin-canvas.html [wpt.fyi]:
FAIL - /css/css-images/image-orientation/image-orientation-none-cross-origin-svg.html [wpt.fyi]:
FAIL - /svg/embedded/image-embedding-nested-data-url-from-canvas-post-window-load.html [wpt.fyi]:
FAIL - /svg/embedded/image-fractional-width-vertical-fidelity.svg [wpt.fyi]:
FAIL - /svg/embedded/image-preserveaspectratio-ignores-svg-root-viewbox.html [wpt.fyi]:
FAIL(Safari:FAIL) - /css/css-images/animation/object-view-box-interpolation.html [wpt.fyi]
- CSS Transitions: property <object-view-box> from [inset(0px)] to [inset(20px)] at (0) should be [inset(0px)]:
FAIL - CSS Transitions: property <object-view-box> from [inset(0px)] to [inset(20px)] at (0.5) should be [inset(10px)]:
FAIL - CSS Transitions: property <object-view-box> from [inset(0px)] to [inset(20px)] at (1) should be [inset(20px)]:
FAIL - CSS Transitions with transition: all: property <object-view-box> from [inset(0px)] to [inset(20px)] at (0) should be [inset(0px)]:
FAIL - CSS Transitions with transition: all: property <object-view-box> from [inset(0px)] to [inset(20px)] at (0.5) should be [inset(10px)]:
FAIL - CSS Transitions with transition: all: property <object-view-box> from [inset(0px)] to [inset(20px)] at (1) should be [inset(20px)]:
FAIL - CSS Animations: property <object-view-box> from [inset(0px)] to [inset(20px)] at (0) should be [inset(0px)]:
FAIL - CSS Animations: property <object-view-box> from [inset(0px)] to [inset(20px)] at (0.5) should be [inset(10px)]:
FAIL - CSS Animations: property <object-view-box> from [inset(0px)] to [inset(20px)] at (1) should be [inset(20px)]:
FAIL - Web Animations: property <object-view-box> from [inset(0px)] to [inset(20px)] at (0) should be [inset(0px)]:
FAIL - Web Animations: property <object-view-box> from [inset(0px)] to [inset(20px)] at (0.5) should be [inset(10px)]:
FAIL - Web Animations: property <object-view-box> from [inset(0px)] to [inset(20px)] at (1) should be [inset(20px)]:
FAIL - CSS Transitions: property <object-view-box> from [inset(0%)] to [inset(20%)] at (0) should be [inset(0%)]:
FAIL - CSS Transitions: property <object-view-box> from [inset(0%)] to [inset(20%)] at (0.5) should be [inset(10%)]:
FAIL - CSS Transitions: property <object-view-box> from [inset(0%)] to [inset(20%)] at (1) should be [inset(20%)]:
FAIL - CSS Transitions with transition: all: property <object-view-box> from [inset(0%)] to [inset(20%)] at (0) should be [inset(0%)]:
FAIL - CSS Transitions with transition: all: property <object-view-box> from [inset(0%)] to [inset(20%)] at (0.5) should be [inset(10%)]:
FAIL - CSS Transitions with transition: all: property <object-view-box> from [inset(0%)] to [inset(20%)] at (1) should be [inset(20%)]:
FAIL - CSS Animations: property <object-view-box> from [inset(0%)] to [inset(20%)] at (0) should be [inset(0%)]:
FAIL - CSS Animations: property <object-view-box> from [inset(0%)] to [inset(20%)] at (0.5) should be [inset(10%)]:
FAIL - CSS Animations: property <object-view-box> from [inset(0%)] to [inset(20%)] at (1) should be [inset(20%)]:
FAIL - Web Animations: property <object-view-box> from [inset(0%)] to [inset(20%)] at (0) should be [inset(0%)]:
FAIL - Web Animations: property <object-view-box> from [inset(0%)] to [inset(20%)] at (0.5) should be [inset(10%)]:
FAIL - Web Animations: property <object-view-box> from [inset(0%)] to [inset(20%)] at (1) should be [inset(20%)]:
FAIL - CSS Transitions: property <object-view-box> from [rect(0px 10px 20px 30px)] to [rect(10px 20px 30px 40px)] at (0) should be [rect(0px 10px 20px 30px)]:
FAIL - CSS Transitions: property <object-view-box> from [rect(0px 10px 20px 30px)] to [rect(10px 20px 30px 40px)] at (0.5) should be [rect(5px 15px 25px 35px)]:
FAIL - CSS Transitions: property <object-view-box> from [rect(0px 10px 20px 30px)] to [rect(10px 20px 30px 40px)] at (1) should be [rect(10px 20px 30px 40px)]:
FAIL - CSS Transitions with transition: all: property <object-view-box> from [rect(0px 10px 20px 30px)] to [rect(10px 20px 30px 40px)] at (0) should be [rect(0px 10px 20px 30px)]:
FAIL - CSS Transitions with transition: all: property <object-view-box> from [rect(0px 10px 20px 30px)] to [rect(10px 20px 30px 40px)] at (0.5) should be [rect(5px 15px 25px 35px)]:
FAIL - CSS Transitions with transition: all: property <object-view-box> from [rect(0px 10px 20px 30px)] to [rect(10px 20px 30px 40px)] at (1) should be [rect(10px 20px 30px 40px)]:
FAIL - CSS Animations: property <object-view-box> from [rect(0px 10px 20px 30px)] to [rect(10px 20px 30px 40px)] at (0) should be [rect(0px 10px 20px 30px)]:
FAIL - CSS Animations: property <object-view-box> from [rect(0px 10px 20px 30px)] to [rect(10px 20px 30px 40px)] at (0.5) should be [rect(5px 15px 25px 35px)]:
FAIL - CSS Animations: property <object-view-box> from [rect(0px 10px 20px 30px)] to [rect(10px 20px 30px 40px)] at (1) should be [rect(10px 20px 30px 40px)]:
FAIL - Web Animations: property <object-view-box> from [rect(0px 10px 20px 30px)] to [rect(10px 20px 30px 40px)] at (0) should be [rect(0px 10px 20px 30px)]:
FAIL - Web Animations: property <object-view-box> from [rect(0px 10px 20px 30px)] to [rect(10px 20px 30px 40px)] at (0.5) should be [rect(5px 15px 25px 35px)]:
FAIL - Web Animations: property <object-view-box> from [rect(0px 10px 20px 30px)] to [rect(10px 20px 30px 40px)] at (1) should be [rect(10px 20px 30px 40px)]:
FAIL - CSS Transitions: property <object-view-box> from [xywh(0px 10px 20px 30px)] to [xywh(10px 20px 30px 40px)] at (0) should be [xywh(0px 10px 20px 30px)]:
FAIL - CSS Transitions: property <object-view-box> from [xywh(0px 10px 20px 30px)] to [xywh(10px 20px 30px 40px)] at (0.5) should be [xywh(5px 15px 25px 35px)]:
FAIL - CSS Transitions: property <object-view-box> from [xywh(0px 10px 20px 30px)] to [xywh(10px 20px 30px 40px)] at (1) should be [xywh(10px 20px 30px 40px)]:
FAIL - CSS Transitions with transition: all: property <object-view-box> from [xywh(0px 10px 20px 30px)] to [xywh(10px 20px 30px 40px)] at (0) should be [xywh(0px 10px 20px 30px)]:
FAIL - CSS Transitions with transition: all: property <object-view-box> from [xywh(0px 10px 20px 30px)] to [xywh(10px 20px 30px 40px)] at (0.5) should be [xywh(5px 15px 25px 35px)]:
FAIL - CSS Transitions with transition: all: property <object-view-box> from [xywh(0px 10px 20px 30px)] to [xywh(10px 20px 30px 40px)] at (1) should be [xywh(10px 20px 30px 40px)]:
FAIL - CSS Animations: property <object-view-box> from [xywh(0px 10px 20px 30px)] to [xywh(10px 20px 30px 40px)] at (0) should be [xywh(0px 10px 20px 30px)]:
FAIL - CSS Animations: property <object-view-box> from [xywh(0px 10px 20px 30px)] to [xywh(10px 20px 30px 40px)] at (0.5) should be [xywh(5px 15px 25px 35px)]:
FAIL - CSS Animations: property <object-view-box> from [xywh(0px 10px 20px 30px)] to [xywh(10px 20px 30px 40px)] at (1) should be [xywh(10px 20px 30px 40px)]:
FAIL - Web Animations: property <object-view-box> from [xywh(0px 10px 20px 30px)] to [xywh(10px 20px 30px 40px)] at (0) should be [xywh(0px 10px 20px 30px)]:
FAIL - Web Animations: property <object-view-box> from [xywh(0px 10px 20px 30px)] to [xywh(10px 20px 30px 40px)] at (0.5) should be [xywh(5px 15px 25px 35px)]:
FAIL - Web Animations: property <object-view-box> from [xywh(0px 10px 20px 30px)] to [xywh(10px 20px 30px 40px)] at (1) should be [xywh(10px 20px 30px 40px)]:
FAIL
- CSS Transitions: property <object-view-box> from [inset(0px)] to [inset(20px)] at (0) should be [inset(0px)]:
- /css/css-images/cross-fade-computed-value.html [wpt.fyi]
- Property background-image value 'cross-fade(30% color-mix(in srgb, currentcolor, blue), white)':
FAIL - Property background-image value 'cross-fade(50% red, 50% green)':
FAIL - Property background-image value 'cross-fade(20% red, 20% green)':
FAIL - Property background-image value 'cross-fade(50% red, 50% green, 50% blue)':
FAIL - Property background-image value 'cross-fade(calc(101%) red, green)':
FAIL - Property background-image value 'cross-fade(calc(-200%) red, green)':
FAIL - Property background-image value 'cross-fade(calc(50% + 1% * sign(1em - 10000px)) red, green)':
FAIL
- Property background-image value 'cross-fade(30% color-mix(in srgb, currentcolor, blue), white)':
- /css/css-images/idlharness.html [wpt.fyi]
- CSS namespace: attribute elementSources:
FAIL
- CSS namespace: attribute elementSources:
- /css/css-images/object-view-box-parsing.html [wpt.fyi]
- e.style['object-view-box'] = "inset(10%)" should set the property value:
FAIL - e.style['object-view-box'] = "inset(10px 20px 30px 40px)" should set the property value:
FAIL - e.style['object-view-box'] = "rect(1px 10% 100px 50%)" should set the property value:
FAIL - e.style['object-view-box'] = "rect(auto auto auto auto)" should set the property value:
FAIL - e.style['object-view-box'] = "rect(auto 5px auto 10%)" should set the property value:
FAIL - e.style['object-view-box'] = "xywh(1px 10% 100px 50%)" should set the property value:
FAIL
- e.style['object-view-box'] = "inset(10%)" should set the property value:
- /css/css-images/object-view-box-transition-mutation.html [wpt.fyi]
- Unrelated mutation does not affect object-view-box transition:
FAIL
- Unrelated mutation does not affect object-view-box transition:
- /css/css-images/parsing/conic-gradient-calc-angle-percentage-valid.html [wpt.fyi]
- e.style['background-image'] = "conic-gradient(red, calc(0deg + 100%), blue)" should set the property value:
FAIL - e.style['background-image'] = "conic-gradient(red calc(0deg + 100%), blue)" should set the property value:
FAIL - e.style['background-image'] = "conic-gradient(red calc(90deg + 50%), blue)" should set the property value:
FAIL - e.style['background-image'] = "conic-gradient(red calc(90deg + 0%), blue)" should set the property value:
FAIL - e.style['background-image'] = "conic-gradient(red calc(100% - 45deg), blue)" should set the property value:
FAIL - e.style['background-image'] = "repeating-conic-gradient(red calc(90deg + 50%), blue)" should set the property value:
FAIL
- e.style['background-image'] = "conic-gradient(red, calc(0deg + 100%), blue)" should set the property value:
- /css/css-images/parsing/image-function-valid.html [wpt.fyi]
- e.style['background-image'] = "cross-fade(image(green), red)" should set the property value:
FAIL
- e.style['background-image'] = "cross-fade(image(green), red)" should set the property value:
- /css/css-images/parsing/image-rendering-computed.html [wpt.fyi]
- Property image-rendering value 'high-quality':
FAIL
- Property image-rendering value 'high-quality':
- /css/css-images/parsing/image-rendering-valid.html [wpt.fyi]
- e.style['image-rendering'] = "high-quality" should set the property value:
FAIL
- e.style['image-rendering'] = "high-quality" should set the property value:
- /css/css-images/parsing/image-resolution-valid.html [wpt.fyi]
- e.style['image-resolution'] = "1dpi" should set the property value:
FAIL - e.style['image-resolution'] = "2dpcm from-image" should set the property value:
FAIL - e.style['image-resolution'] = "3dppx from-image snap" should set the property value:
FAIL - e.style['image-resolution'] = "4dpi snap" should set the property value:
FAIL - e.style['image-resolution'] = "from-image" should set the property value:
FAIL - e.style['image-resolution'] = "from-image 5dpcm" should set the property value:
FAIL - e.style['image-resolution'] = "from-image 6dppx snap" should set the property value:
FAIL - e.style['image-resolution'] = "from-image snap" should set the property value:
FAIL - e.style['image-resolution'] = "snap 7.5dpi" should set the property value:
FAIL - e.style['image-resolution'] = "snap -8dpcm from-image" should set the property value:
FAIL - e.style['image-resolution'] = "snap from-image" should set the property value:
FAIL - e.style['image-resolution'] = "snap from-image 0dppx" should set the property value:
FAIL
- e.style['image-resolution'] = "1dpi" should set the property value:
- /css/css-images/parsing/object-fit-computed.html [wpt.fyi]
- Property object-fit value 'cover scale-down':
FAIL
- Property object-fit value 'cover scale-down':
- /css/css-images/parsing/object-fit-valid.html [wpt.fyi]
- e.style['object-fit'] = "contain scale-down" should set the property value:
FAIL - e.style['object-fit'] = "cover scale-down" should set the property value:
FAIL - e.style['object-fit'] = "scale-down contain" should set the property value:
FAIL - e.style['object-fit'] = "scale-down cover" should set the property value:
FAIL
- e.style['object-fit'] = "contain scale-down" should set the property value:
Tests Disabled in Gecko Infrastructure
Comment 4•5 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f46c52fc0c30
https://hg.mozilla.org/mozilla-central/rev/ff2eb70e49db
Description
•