mirror of
https://github.com/servo/servo.git
synced 2025-09-19 03:18:20 +01:00
Implement the aspect-ratio
property for replaced elements (#32800)
* Add WPT tests for box-sizing with aspect-ratio Signed-off-by: valadaptive <valadaptive@protonmail.com> * Implement `aspect-ratio` for replaced elements There are two regressions because we don't implement `object-fit`, and one because we don't properly represent non-available <img>s with `alt` attributes. Signed-off-by: valadaptive <valadaptive@protonmail.com> --------- Signed-off-by: valadaptive <valadaptive@protonmail.com>
This commit is contained in:
parent
e425ad0cb7
commit
60e65c175d
26 changed files with 314 additions and 62 deletions
18
tests/wpt/meta/css/css-sizing/aspect-ratio/box-sizing-squashed.html.ini
vendored
Normal file
18
tests/wpt/meta/css/css-sizing/aspect-ratio/box-sizing-squashed.html.ini
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
[box-sizing-squashed.html]
|
||||
[.item 10]
|
||||
expected: FAIL
|
||||
|
||||
[.item 12]
|
||||
expected: FAIL
|
||||
|
||||
[.item 13]
|
||||
expected: FAIL
|
||||
|
||||
[.item 14]
|
||||
expected: FAIL
|
||||
|
||||
[.item 15]
|
||||
expected: FAIL
|
||||
|
||||
[.item 16]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue