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)
Core
DOM: Core & HTML
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
Assignee | ||
Updated•6 years ago
|
Component: web-platform-tests → DOM
Product: Testing → Core
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=d0351d870817d0e7467dd58de1afcda79d4eedfd
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=4f2f418e34cba3c8ba0028e4a48a38416625b49b
Assignee | ||
Comment 5•6 years ago
|
||
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
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7d658a41c5af
https://hg.mozilla.org/mozilla-central/rev/e042f3bc5198
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Comment 8•6 years ago
|
||
Backed out for WPT mass failure at /fullscreen/idlharness.window.html
Backout: https://hg.mozilla.org/mozilla-central/rev/e1a681345945ab8c8b8270afcd2f62bf042226c2
Failure push:
https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&resultStatus=testfailed,busted,exception&classifiedState=unclassified&revision=be6801cdeb537afa655bbd67d12ead8dc01c6c38
https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=3f3f67d1c0bf5359ac39ddddec5999ceb928e7ca
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=199470643&repo=mozilla-central&lineNumber=1487
Status: RESOLVED → REOPENED
status-firefox64:
fixed → ---
Flags: needinfo?(james)
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
Comment 10•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7d4252643362
https://hg.mozilla.org/mozilla-central/rev/f38224e51e8d
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•6 years ago
|
Flags: needinfo?(james)
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•