Closed Bug 2070331 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62512 - Test an SVG image with a height of 0 and no width

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 62512 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/62512
Details from upstream follow.

Anne van Kesteren <annevk@annevk.nl> wrote:

Test an SVG image with a height of 0 and no width

See https://github.com/WebKit/WebKit/pull/73144.

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 138 tests

Status Summary

Firefox

OK : 1[GitHub] 111[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]
PASS: 2[GitHub] 3[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 1719[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1737[Gecko-android-em-14-x86_64-debug-geckoview] 1740[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 1742[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 102[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 103[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] 106[Gecko-android-em-14-x86_64-debug-geckoview]

Chrome

OK : 1
PASS: 2

Safari

OK : 1
PASS: 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/semantics/embedded-content/the-img-element/decode/image-decode-iframe.html [wpt.fyi]
    • HTMLImageElement.prototype.decode(), iframe tests. Decode from removed iframe fails (img not loaded): FAIL
    • HTMLImageElement.prototype.decode(), iframe tests. Decode from iframe, later removed, fails (img not loaded): FAIL
  • /html/semantics/embedded-content/the-img-element/environment-changes/viewport-change.html [wpt.fyi]
    • picture: source (max-width:500px) broken image, img broken image, resize to wide: FAIL
    • picture: source (max-width:500px) valid image, img broken image, resize to wide: FAIL
    • picture: source (max-width:500px) broken image, img broken image, resize to narrow: FAIL
    • picture: source (max-width:500px) broken image, img valid image, resize to narrow: FAIL
  • /html/semantics/embedded-content/the-img-element/image-base-url.html [wpt.fyi]
    • An image should not be refetched upon insertion asynchronously after its Document's base URL changes: FAIL
  • /html/semantics/embedded-content/the-img-element/image-loading-lazy-below-viewport-dynamic.html [wpt.fyi]
    • Test that below viewport images with loading='lazy' and changed to loading='eager' load and do not block the window load event.: FAIL
  • /html/semantics/embedded-content/the-img-element/image-loading-lazy-in-viewport-dynamic.html [wpt.fyi]
    • Test that in viewport images with loading='lazy' and changed to loading='eager' do not block the window load event.: FAIL
  • /html/semantics/embedded-content/the-img-element/image-loading-lazy-multiple-times.html [wpt.fyi]
    • Images with loading='lazy' can be lazy loaded multiple times: FAIL
  • /html/semantics/embedded-content/the-img-element/list-of-available-images-does-not-coalesce-in-flight-requests.sub.tentative.html [wpt.fyi]
    • list of available images does not coalesce in-flight requests: FAIL
  • /html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html [wpt.fyi]
    • SVG image, no natural dimensions (with srcset/2x): FAIL
    • SVG image, no natural dimensions (with srcset/2x) (when not rendered): FAIL
    • SVG image with width/height attrs, no natural dimensions (with srcset/2x): FAIL
    • SVG image with width/height attrs, no natural dimensions (with srcset/2x) (when not rendered): FAIL
    • SVG image with width attr, no natural dimensions (with srcset/2x): FAIL
    • SVG image with width attr, no natural dimensions (with srcset/2x) (when not rendered): FAIL
    • SVG image with height attr, no natural dimensions (with srcset/2x): FAIL
    • SVG image with height attr, no natural dimensions (with srcset/2x) (when not rendered): FAIL
    • SVG image, percengage natural dimensions (with srcset/2x): FAIL
    • SVG image, percengage natural dimensions (with srcset/2x) (when not rendered): FAIL
    • SVG image, negative percengage natural dimensions (with srcset/2x): FAIL
    • SVG image, negative percengage natural dimensions (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural width (with srcset/2x): FAIL
    • SVG image, with natural width (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural height (with srcset/2x): FAIL
    • SVG image, with natural height (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural width of 0 (with srcset/2x): FAIL
    • SVG image, with natural width of 0 (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural height of 0 (with srcset/2x): FAIL
    • SVG image, with natural height of 0 (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural width being negative (with srcset/2x): FAIL
    • SVG image, with natural width being negative (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural height being negative (with srcset/2x): FAIL
    • SVG image, with natural height being negative (with srcset/2x) (when not rendered): FAIL
    • SVG image, no natural dimensions, and aspect ratio from viewBox (with srcset/2x): FAIL
    • SVG image, no natural dimensions, and aspect ratio from viewBox (with srcset/2x) (when not rendered): FAIL
    • SVG image, percengage natural dimensions, and aspect ratio from viewBox (with srcset/2x): FAIL
    • SVG image, percengage natural dimensions, and aspect ratio from viewBox (with srcset/2x) (when not rendered): FAIL
    • SVG image, negative percengage natural dimensions, and aspect ratio from viewBox (with srcset/2x): FAIL
    • SVG image, negative percengage natural dimensions, and aspect ratio from viewBox (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural width being negative, and aspect ratio from viewBox (with srcset/2x): FAIL
    • SVG image, with natural width being negative, and aspect ratio from viewBox (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural height being negative, and aspect ratio from viewBox (with srcset/2x): FAIL
    • SVG image, with natural height being negative, and aspect ratio from viewBox (with srcset/2x) (when not rendered): FAIL
    • SVG image, no natural dimensions, viewBox with 0 width/height (with srcset/2x): FAIL
    • SVG image, no natural dimensions, viewBox with 0 width/height (with srcset/2x) (when not rendered): FAIL
    • SVG image, no natural dimensions, viewBox with 0 width (with srcset/2x): FAIL
    • SVG image, no natural dimensions, viewBox with 0 width (with srcset/2x) (when not rendered): FAIL
    • SVG image, no natural dimensions, viewBox with 0 height (with srcset/2x): FAIL
    • SVG image, no natural dimensions, viewBox with 0 height (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural width, viewBox with 0 width/height (with srcset/2x): FAIL
    • SVG image, with natural width, viewBox with 0 width/height (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural width, viewBox with 0 width (with srcset/2x): FAIL
    • SVG image, with natural width, viewBox with 0 width (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural width, viewBox with 0 height (with srcset/2x): FAIL
    • SVG image, with natural width, viewBox with 0 height (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural height, viewBox with 0 width/height (with srcset/2x): FAIL
    • SVG image, with natural height, viewBox with 0 width/height (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural height, viewBox with 0 width (with srcset/2x): FAIL
    • SVG image, with natural height, viewBox with 0 width (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural height, viewBox with 0 height (with srcset/2x): FAIL
    • SVG image, with natural height, viewBox with 0 height (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural width and height being negative, and aspect ratio from viewBox (with srcset/2x): FAIL
    • SVG image, with natural width and height being negative, and aspect ratio from viewBox (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural width matching default concrete object size (with srcset/2x): FAIL
    • SVG image, with natural width matching default concrete object size (with srcset/2x) (when not rendered): FAIL
    • SVG image, with natural height matching default concrete object size (with srcset/2x): FAIL
    • SVG image, with natural height matching default concrete object size (with srcset/2x) (when not rendered): FAIL
  • /html/semantics/embedded-content/the-img-element/relevant-mutations-lazy.html [wpt.fyi]
    • width property changes: FAIL
    • percentage width, CB width changes: FAIL
    • height property changes (with aspect-ratio): FAIL
    • loading attribute state changes: FAIL [Gecko-android-em-14-x86_64-debug-geckoview], PASS [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]
    • being rendered changes: FAIL [Gecko-android-em-14-x86_64-debug-geckoview], PASS [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]
    • display property changes to inline-block: FAIL [Gecko-android-em-14-x86_64-debug-geckoview], PASS [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]
    • loading attribute changes to LAZY: FAIL
  • /html/semantics/embedded-content/the-img-element/relevant-mutations.html [wpt.fyi]
    • referrerpolicy no-referrer-when-downgrade to absent, src already set: FAIL
    • referrerpolicy no-referrer-when-downgrade to empty, src already set: FAIL
    • referrerpolicy no-referrer-when-downgrade to invalid, src already set: FAIL
    • referrerpolicy no-referrer to absent, src already set: FAIL
    • referrerpolicy no-referrer to empty, src already set: FAIL
    • referrerpolicy no-referrer to invalid, src already set: FAIL
    • srcset is set to same value: FAIL
    • sizes is set to same value: FAIL
  • /html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-display-none.html [wpt.fyi]
    • <img srcset="/images/green-1x1.png?e38 50w, /images/green-16x16.png?e38 51w" sizes="(min-width:calc(0)) 1px"> ref sizes="1px" (display:none): FAIL
    • <img srcset="/images/green-1x1.png?f51 50w, /images/green-16x16.png?f51 51w" sizes="calc(0px / 0)"> ref sizes="100vw" (display:none): FAIL
    • <img srcset="/images/green-1x1.png?f52 50w, /images/green-16x16.png?f52 51w" sizes="calc(-1px / 0)"> ref sizes="100vw" (display:none): FAIL
  • /html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-quirks-mode.html [wpt.fyi]
    • <img srcset="/images/green-1x1.png?e38 50w, /images/green-16x16.png?e38 51w" sizes="(min-width:calc(0)) 1px"> ref sizes="1px" (quirks mode): FAIL
    • <img srcset="/images/green-1x1.png?f51 50w, /images/green-16x16.png?f51 51w" sizes="calc(0px / 0)"> ref sizes="100vw" (quirks mode): FAIL
    • <img srcset="/images/green-1x1.png?f52 50w, /images/green-16x16.png?f52 51w" sizes="calc(-1px / 0)"> ref sizes="100vw" (quirks mode): FAIL
  • /html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-standards-mode.html [wpt.fyi]
    • <img srcset="/images/green-1x1.png?e38 50w, /images/green-16x16.png?e38 51w" sizes="(min-width:calc(0)) 1px"> ref sizes="1px" (standards mode): FAIL
    • <img srcset="/images/green-1x1.png?f51 50w, /images/green-16x16.png?f51 51w" sizes="calc(0px / 0)"> ref sizes="100vw" (standards mode): FAIL
    • <img srcset="/images/green-1x1.png?f52 50w, /images/green-16x16.png?f52 51w" sizes="calc(-1px / 0)"> ref sizes="100vw" (standards mode): FAIL
  • /html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-width-1000px.html [wpt.fyi]
    • <img srcset="/images/green-1x1.png?e38 50w, /images/green-16x16.png?e38 51w" sizes="(min-width:calc(0)) 1px"> ref sizes="1px" (width:1000px): FAIL
    • <img srcset="/images/green-1x1.png?f51 50w, /images/green-16x16.png?f51 51w" sizes="calc(0px / 0)"> ref sizes="100vw" (width:1000px): FAIL
    • <img srcset="/images/green-1x1.png?f52 50w, /images/green-16x16.png?f52 51w" sizes="calc(-1px / 0)"> ref sizes="100vw" (width:1000px): FAIL
  • /html/semantics/embedded-content/the-img-element/svg-img-density-vs-zoom.html [wpt.fyi]
    • SVG, no intrinsic dims + 2x density: defaults not scaled: FAIL
    • SVG, no intrinsic dims + 2x zoom: rendered size scaled, naturalWidth/Height not: FAIL
    • SVG, intrinsic width only + 2x density: width scaled, default height not: FAIL
    • SVG, intrinsic width only + 2x zoom: everything scaled: FAIL
  • /html/semantics/embedded-content/the-img-element/update-the-image-data/fail-to-resolve.html [wpt.fyi]
    • <img src="//[">: FAIL
    • <img srcset="//[">: FAIL
    • <img srcset="//[" src="/images/red.png">: FAIL
    • <img srcset="//[, /images/red.png">: FAIL
  • /html/semantics/embedded-content/the-img-element/usemap-casing.html [wpt.fyi]
    • Image with usemap of #sanityCheck should match the area with map named sanityCheck: FAIL
  • /html/semantics/embedded-content/the-img-element/animated-webp-update.tentative.html [wpt.fyi]: FAIL
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.