[wpt-sync] Sync PR 59452 - HTML: <img> density vs zoom test
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 59452 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/59452
Details from upstream follow.
Anne van Kesteren <annevk@annevk.nl> wrote:
HTML: <img> density vs zoom test
| Assignee | ||
Updated•22 days ago
|
| Assignee | ||
Comment 1•20 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=84b80f90624c64797dc87b2b2136afa28134a5a4
| Assignee | ||
Comment 2•19 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 136 tests
Status Summary
Firefox
OK : 1[GitHub] 109[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: 3[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 5[GitHub] 1715[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 1736[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] 1738[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 4[GitHub] 48[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 49[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]
Chrome
OK : 1
PASS: 7
FAIL: 2
Safari
OK : 1
PASS: 4
FAIL: 5
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/embedded-content/the-img-element/animated-webp-update.tentative.html [wpt.fyi]:
FAIL - /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
- HTMLImageElement.prototype.decode(), iframe tests. Decode from removed iframe fails (img not loaded):
- /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
- picture: source (max-width:500px) broken image, img broken image, resize to wide:
- /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
- An image should not be refetched upon insertion asynchronously after its Document's base URL changes:
- /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
- Test that below viewport images with loading='lazy' and changed to loading='eager' load and do not block the window load event.:
- /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
- Test that in viewport images with loading='lazy' and changed to loading='eager' do not block the window load event.:
- /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
- Images with loading='lazy' can be lazy loaded multiple times:
- /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
- list of available images does not coalesce in-flight requests:
- /html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight.html [wpt.fyi]
- HTMLImageElement.prototype.naturalWidth/naturalHeight, SVG image, no natural dimensions:
FAIL - HTMLImageElement.prototype.naturalWidth/naturalHeight, SVG image, width in pixels; height unspecified:
FAIL - HTMLImageElement.prototype.naturalWidth/naturalHeight, SVG image, width in pixels; percentage height:
FAIL - HTMLImageElement.prototype.naturalWidth/naturalHeight, SVG image, width/height unspecified; viewBox:
FAIL
- HTMLImageElement.prototype.naturalWidth/naturalHeight, SVG image, no natural dimensions:
- /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 changes to LAZY:
FAIL
- width property changes:
- /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
- referrerpolicy no-referrer-when-downgrade to absent, src already set:
- /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
- <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):
- /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
- <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):
- /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
- <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):
- /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
- <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):
- /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(Chrome:FAIL, Safari:FAIL) - SVG, no intrinsic dims + 2x zoom: rendered size scaled, naturalWidth/Height not:
FAIL(Chrome:PASS, Safari:FAIL) - SVG, intrinsic width only + 2x density: width scaled, default height not:
FAIL(Chrome:FAIL, Safari:FAIL) - SVG, intrinsic width only + 2x zoom: everything scaled:
FAIL(Chrome:PASS, Safari:FAIL)
- SVG, no intrinsic dims + 2x density: defaults not scaled:
- /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
- <img src="//[">:
- /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
- Image with usemap of #sanityCheck should match the area with map named sanityCheck:
Comment 4•9 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/871854620889
https://hg.mozilla.org/mozilla-central/rev/9e27136feb5a
Description
•