Closed Bug 1487250 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 12748 - Add "intrinsicSize" attribute to HTMLVideoElement behind a flag

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12748 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/12748
Details from upstream follow.

Luna Lu <loonybear@chromium.org> wrote:
>  Add "intrinsicSize" attribute to HTMLVideoElement behind a flag
>  
>  This CL is based on: https://chromium-review.googlesource.com/c/chromium/src/+/1150725
>  
>  Design doc: https://docs.google.com/document/d/1yh_-ayeaFV0EjuR51U641zbrPAB0Baqj6UrC9bT9iqQ/edit#heading=h.y7amr11fn0tb
>  
>  This CL implements "intrinsicSize" attribute for HTMLVideoElement.
>  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 video
>  content.
>  
>  2. videoWidth and videoHeight will return the value defined by
>  "intrinsicSize".
>  
>  See explainer: https://github.com/ojanvafai/intrinsicsize-attribute/blob/master/README.md
>  
>  Bug: 874629
>  Change-Id: If4aeceee2299c50aa7b4c9bdf8fef7cb3e7eea70
>  Reviewed-on: https://chromium-review.googlesource.com/1191926
>  WPT-Export-Revision: 1f4179b8df1833ad8a6de23b21ccadd9da6d93e6
PR 12748 applied with additional changes from upstream: b42438a5382241da291b3284527db833e82590d1
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 1 tests and 4 subtests
OK     : 1
FAIL   : 4

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
    Test video: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d93701c0c29e
[wpt PR 12748] - Add "intrinsicSize" attribute to HTMLVideoElement behind a flag, a=testonly
https://hg.mozilla.org/mozilla-central/rev/d93701c0c29e
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.