mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
layout: Add support for object-fit
and object-position
(#33479)
This also makes a couple small improvements: - Rename `IntrinsicSizes` to `NaturalSizes` which reflects more modern spec language. - Move the conversion of Stylo's `ImageRendering` to WebRender's version to a `ToWebRender` trait implementation. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
632d832704
commit
bd632fc814
58 changed files with 169 additions and 563 deletions
|
@ -1,25 +1,10 @@
|
|||
[object-fit-valid.html]
|
||||
[e.style['object-fit'\] = "contain" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['object-fit'\] = "contain scale-down" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['object-fit'\] = "cover" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['object-fit'\] = "cover scale-down" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['object-fit'\] = "fill" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['object-fit'\] = "none" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['object-fit'\] = "scale-down" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
[e.style['object-fit'\] = "scale-down contain" should set the property value]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue