Closed
Bug 1485742
Opened 7 years ago
Closed 7 years ago
[wpt-sync] Sync PR 12649 - Add intrinsicsize attribute to HTMLImageElement behind a flag
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 12649 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/12649
Details from upstream follow.
Luna Lu <loonybear@chromium.org> wrote:
> Add intrinsicsize attribute to HTMLImageElement behind a flag
>
> This CL implements "intrinsicsize" attribute for HTMLImageElement.
> The value of "intrinsicsize" overrides the intrinsic size:
>
> 1. When no width and (or) height is specified, the value of
> "intrinsicsize" will be used to determine the area to layout the image
> content.
>
> 2. natualWidth and naturalHeight will return the density corrected
> value of "intrinsicsize".
>
> 3. To interact with feature policy unsized-media, when unsized-media
> is disabled, an HTMLImageElement's default intrinsic size will be set
> to "300 x 150" unless otherwise specified.
>
> See explainer: https://github.com/ojanvafai/intrinsicsize-attribute/blob/master/README.md
>
> Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel
> Change-Id: I519f01841ee3e761b22874dbecd74f7e6843e2a9
>
> Reviewed-on: https://chromium-review.googlesource.com/1150725
> WPT-Export-Revision: 2fa904376fb7d9baefbb5d63e468ed2d54a58a78
| Assignee | ||
Updated•7 years ago
|
Component: web-platform-tests → DOM
Product: Testing → Core
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=37e260c5dde10e87db6468f7263ecc65024fcabe
| Assignee | ||
Comment 4•7 years ago
|
||
| Assignee | ||
Comment 5•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=e4e6caa013828abe2f3c7e7d73538a81c5ad8107
| Assignee | ||
Comment 6•7 years ago
|
||
| Assignee | ||
Comment 7•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=400f60320ebf463195e03e5ab92016d1a0e68a6f
| Assignee | ||
Comment 8•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
| Assignee | ||
Comment 9•7 years ago
|
||
| Assignee | ||
Comment 10•7 years ago
|
||
| Assignee | ||
Comment 11•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=54b28e572b1e0c3e248b5ab0e1d58666bfddb4b6
| Assignee | ||
Comment 12•7 years ago
|
||
| Assignee | ||
Comment 13•7 years ago
|
||
Ran 1 tests and 3 subtests
OK : 1
FAIL : 3
New tests that have failures or other problems:
/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
| Assignee | ||
Comment 14•7 years ago
|
||
| Assignee | ||
Comment 15•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=1546749980d2fdcadec3c59e0ad09b8ddff83aee
Comment 16•7 years ago
|
||
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/88293ea5cbb8
[wpt PR 12649] - Add intrinsicsize attribute to HTMLImageElement behind a flag, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/e692e6f49f9b
[wpt PR 12649] - Update wpt metadata, a=testonly
Comment 17•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/88293ea5cbb8
https://hg.mozilla.org/mozilla-central/rev/e692e6f49f9b
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•