mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
htmlmediaelement: Make dirty element on any intrinsic size changes (#37056)
To properly compute (the video) element's content size for layout requires to dirty the element on any intrinstic size changes. Full list of the operations which cause layout invalidation: - media metadata update (NEW) - removing "src" attribute - video frame update - show poster image Testing: html/semantics/embedded-content/the-video-element/intrinsic_sizes.htm Fixes: https://github.com/servo/servo/issues/34434 Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>
This commit is contained in:
parent
a5c3d6f075
commit
859a0ffbd5
2 changed files with 1 additions and 6 deletions
|
@ -1,3 +0,0 @@
|
|||
[intrinsic_sizes.htm]
|
||||
[default object size after src is removed]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue