mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Add test for percentage sizes resolving against subpixel lengths (#35809)
Two floats with `width: 50%` each should fit on the same line, and four floats with `width: 25%` each should fit on the same line. That's even if the containing block width, expressed in layout units, cannot be divided by 2 or 4. This test checks cases that are tricky for browsers where 1 pixel are either 60, 64 or 100 layout units. It passes on other browsers but fails on Servo because of #34665. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
71c207ff25
commit
6cfa94f3bc
4 changed files with 168 additions and 0 deletions
2
tests/wpt/meta/css/css-sizing/percentage-width-subpixels.tentative.html.ini
vendored
Normal file
2
tests/wpt/meta/css/css-sizing/percentage-width-subpixels.tentative.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[percentage-width-subpixels.tentative.html]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue