Closed Bug 1489593 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 12899 - Add intrinsicSize attribute to SVGImageElement

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12899 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12899 Details from upstream follow. Luna Lu <loonybear@chromium.org> wrote: > Add intrinsicSize attribute to SVGImageElement > > Design doc: https://docs.google.com/document/d/1yh_-ayeaFV0EjuR51U641zbrPAB0Baqj6UrC9bT9iqQ/edit#heading=h.y7amr11fn0tb > > This CL implements "intrinsicSize" attribute to SVGImageElement. This > attribute has been added to HTMLImageElement and HTMLVideoElement. > The value of "intrinsicSize" overrides the intrinsic size: > > 1. When no width and height is specified, the value of "intrinsicSize" > specifies the <svg:image> element's layout size. > 2. When one dimension is specified, the value of "intrinsicSize" is > used as an aspect ratio to determine the other dimension. > 3. If both width and height are specified, "intrinsicSize" has no > effect. > > Bug: 874629 > Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I9023d6cf7a818c983155efc12505f1d6fd18de43 > Reviewed-on: https://chromium-review.googlesource.com/1210544 > WPT-Export-Revision: 50939f6e36d9811d5eb3cbc7b847ff1ae999cd30
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 3 tests and 14 subtests OK : 2 FAIL : 15 New tests that have failures or other problems: /feature-policy/experimental-features/intrinsicsize-svg-image.tentative.html: FAIL /feature-policy/experimental-features/intrinsicsize-with-responsive-images.tentative.html Test image (32 x 32) with sizes = 100 and srcset descriptor = 32w: FAIL Test image /feature-policy/experimental-features/resources/image.jpg with no specified sizes, width, or height: FAIL Test image /feature-policy/experimental-features/resources/image.jpg with width = 800, height = 800, and no specified sizes: FAIL Test image /feature-policy/experimental-features/resources/image.jpg with width = 800, no specified sizes, or height: FAIL Test image /feature-policy/experimental-features/resources/image.png with no specified sizes, width, or height: FAIL Test image /feature-policy/experimental-features/resources/image.png with width = 800, height = 800, and no specified sizes: FAIL Test image /feature-policy/experimental-features/resources/image.png with width = 800, no specified sizes, or height: FAIL Test image /feature-policy/experimental-features/resources/image.svg with no specified sizes, width, or height: FAIL Test image /feature-policy/experimental-features/resources/image.svg with width = 800, height = 800, and no specified sizes: FAIL Test image /feature-policy/experimental-features/resources/image.svg with width = 800, no specified sizes, or height: FAIL /feature-policy/experimental-features/intrinsicsize-without-unsized-media.tentative.https.sub.html Test image with src=/feature-policy/experimental-features/resources/image.jpg: FAIL Test image with src=/feature-policy/experimental-features/resources/image.png: FAIL Test image with src=/feature-policy/experimental-features/resources/image.svg: FAIL Test video: FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/7d658a41c5af [wpt PR 12899] - Add intrinsicSize attribute to SVGImageElement, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/e042f3bc5198 [wpt PR 12899] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/mozilla-inbound/rev/7d4252643362 [wpt PR 12899] - Add intrinsicSize attribute to SVGImageElement, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/f38224e51e8d [wpt PR 12899] - Update wpt metadata, a=testonly
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Flags: needinfo?(james)
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.