HTML: correct naturalWidth and naturalHeight for SVG #59304
Community-TC (pull_request)
Collect results for all tests affected by a pull request in chrome.
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-04-22T15:46:44.290Z
Resolved: 2026-04-22T15:50:09.057Z
Task Execution Time: 3 minutes, 24 seconds, 767 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: Qc2ol33WSs62l9D77SpbHQ
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md
- public/results/wpt_report.json.gz
- public/results/wpt_screenshot.txt.gz
WPT Command: python3 ./wpt run --channel=dev --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --verify-log-full --no-headless --enable-swiftshader --install-browser --install-webdriver chrome
[taskcluster 2026-04-22 15:46:44.564Z] Task ID: Qc2ol33WSs62l9D77SpbHQ
[taskcluster 2026-04-22 15:46:44.564Z] Worker ID: 2947724272652866517
[taskcluster 2026-04-22 15:46:44.564Z] Worker Group: us-central1-c
[taskcluster 2026-04-22 15:46:44.564Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2026-04-22 15:46:44.564Z] Worker Pool: proj-wpt/ci
[taskcluster 2026-04-22 15:46:44.564Z] Worker Version: 46.1.0
[taskcluster 2026-04-22 15:46:44.564Z] Public IP: 136.114.26.107
[taskcluster 2026-04-22 15:46:44.564Z] Hostname: proj-wpt-ci-un5ov7uotq2k-zp-qvr0cg
8f84a9f2102e - Started downloading
ac811f28856d - Started downloading
40516d781e70 - Started downloading
ac811f28856d - Downloaded in 0.033 seconds
44ebbf800033 - Started downloading
8f84a9f2102e - Downloaded in 0.219 seconds
44ebbf800033 - Downloaded in 0.041 seconds
a8884b21e40e - Started downloading
79c347416ee8 - Started downloading
79c347416ee8 - Downloaded in 0.087 seconds
0104250cc342 - Started downloading
...(1344 lines hidden)...
FAIL SVG image, negative percengage natural dimensions, and aspect ratio from viewBox (with srcset/2x) - assert_equals: naturalWidth expected 300 but got 150
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:386:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:383:5
at Array.forEach (<anonymous>)
FAIL SVG image, negative percengage natural dimensions, and aspect ratio from viewBox (with srcset/2x) (when not rendered) - assert_equals: naturalWidth when not rendered expected 300 but got 150
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:418:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:405:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural width being negative, and aspect ratio from viewBox (with srcset/2x) - assert_equals: naturalWidth expected 300 but got 0
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:386:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:383:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural width being negative, and aspect ratio from viewBox (with srcset/2x) (when not rendered) - assert_equals: naturalWidth when not rendered expected 300 but got 0
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:418:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:405:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural height being negative, and aspect ratio from viewBox (with srcset/2x) - assert_equals: naturalWidth expected 300 but got 0
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:386:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:383:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural height being negative, and aspect ratio from viewBox (with srcset/2x) (when not rendered) - assert_equals: naturalWidth when not rendered expected 300 but got 0
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:418:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:405:5
at Array.forEach (<anonymous>)
FAIL SVG image, no natural dimensions, viewBox with 0 width/height (with srcset/2x) - assert_equals: naturalWidth expected 300 but got 150
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:386:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:383:5
at Array.forEach (<anonymous>)
FAIL SVG image, no natural dimensions, viewBox with 0 width/height (with srcset/2x) (when not rendered) - assert_equals: naturalWidth when not rendered expected 300 but got 150
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:418:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:405:5
at Array.forEach (<anonymous>)
FAIL SVG image, no natural dimensions, viewBox with 0 width (with srcset/2x) - assert_equals: naturalWidth expected 300 but got 150
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:386:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:383:5
at Array.forEach (<anonymous>)
FAIL SVG image, no natural dimensions, viewBox with 0 width (with srcset/2x) (when not rendered) - assert_equals: naturalWidth when not rendered expected 300 but got 150
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:418:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:405:5
at Array.forEach (<anonymous>)
FAIL SVG image, no natural dimensions, viewBox with 0 height (with srcset/2x) - assert_equals: naturalWidth expected 300 but got 150
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:386:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:383:5
at Array.forEach (<anonymous>)
FAIL SVG image, no natural dimensions, viewBox with 0 height (with srcset/2x) (when not rendered) - assert_equals: naturalWidth when not rendered expected 300 but got 150
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:418:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:405:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural width, viewBox with 0 width/height (with srcset/2x) - assert_equals: naturalHeight expected 150 but got 75
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:387:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:383:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural width, viewBox with 0 width/height (with srcset/2x) (when not rendered) - assert_equals: naturalHeight when not rendered expected 150 but got 75
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:420:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:405:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural width, viewBox with 0 width (with srcset/2x) - assert_equals: naturalHeight expected 150 but got 75
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:387:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:383:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural width, viewBox with 0 width (with srcset/2x) (when not rendered) - assert_equals: naturalHeight when not rendered expected 150 but got 75
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:420:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:405:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural width, viewBox with 0 height (with srcset/2x) - assert_equals: naturalHeight expected 150 but got 75
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:387:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:383:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural width, viewBox with 0 height (with srcset/2x) (when not rendered) - assert_equals: naturalHeight when not rendered expected 150 but got 75
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:420:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:405:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural height, viewBox with 0 width/height (with srcset/2x) - assert_equals: naturalWidth expected 300 but got 150
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:386:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:383:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural height, viewBox with 0 width/height (with srcset/2x) (when not rendered) - assert_equals: naturalWidth when not rendered expected 300 but got 150
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:418:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:405:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural height, viewBox with 0 width (with srcset/2x) - assert_equals: naturalWidth expected 300 but got 150
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:386:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:383:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural height, viewBox with 0 width (with srcset/2x) (when not rendered) - assert_equals: naturalWidth when not rendered expected 300 but got 150
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:418:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:405:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural height, viewBox with 0 height (with srcset/2x) - assert_equals: naturalWidth expected 300 but got 150
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:386:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:383:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural height, viewBox with 0 height (with srcset/2x) (when not rendered) - assert_equals: naturalWidth when not rendered expected 300 but got 150
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:418:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:405:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural width and height being negative, and aspect ratio from viewBox (with srcset/2x) - assert_equals: naturalWidth expected 300 but got 0
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:386:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:383:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural width and height being negative, and aspect ratio from viewBox (with srcset/2x) (when not rendered) - assert_equals: naturalWidth when not rendered expected 300 but got 0
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:418:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:405:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural width matching default concrete object size (with srcset/2x) - assert_equals: naturalHeight expected 150 but got 75
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:387:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:383:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural width matching default concrete object size (with srcset/2x) (when not rendered) - assert_equals: naturalHeight when not rendered expected 150 but got 75
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:420:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:405:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural height matching default concrete object size (with srcset/2x) - assert_equals: naturalWidth expected 300 but got 150
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:386:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:383:5
at Array.forEach (<anonymous>)
FAIL SVG image, with natural height matching default concrete object size (with srcset/2x) (when not rendered) - assert_equals: naturalWidth when not rendered expected 300 but got 150
at Test.<anonymous> (http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:418:7)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2869:25)
at test (http://web-platform.test:8000/resources/testharness.js:633:30)
at http://web-platform.test:8000/html/semantics/embedded-content/the-img-element/naturalWidth-naturalHeight-width-height.html:405:5
at Array.forEach (<anonymous>)
0:43.95 INFO Got 1 unexpected results, with 0 unexpected passes
0:43.95 wptserve INFO Stopped http server on 127.0.0.1:8002
0:43.95 wptserve INFO Stopped http server on 127.0.0.1:8001
0:43.96 wptserve INFO Stopped http server on 127.0.0.1:8003
0:43.98 wptserve INFO Stopped http server on 127.0.0.1:8445
0:43.98 wptserve INFO Stopped http server on 127.0.0.1:8446
0:43.98 wptserve INFO Stopped http server on 127.0.0.1:8444
0:43.98 wptserve INFO Stopped http server on 127.0.0.1:8000
0:43.98 wptserve INFO Stopped http server on 127.0.0.1:8443
0:43.98 wptserve INFO Stopped http server on 127.0.0.1:9000
0:43.98 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
0:44.28 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
0:44.28 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
mem avail: 14403 of 15806 MiB (91.12%), swap free: 0 of 0 MiB ( 0.00%)
0:44.33 INFO Removed font: Ahem.ttf
0:44.36 INFO Closing logging queue
0:44.36 INFO queue closed
0:44.36 INFO Tolerating 1 unexpected results
[taskcluster 2026-04-22 15:50:07.122Z] === Task Finished ===
[taskcluster 2026-04-22 15:50:08.190Z] Successful task run with exit code: 0 completed in 203.629 seconds