mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Do not adjust margins in over-constrained cases (#31345)
This deviates from css2, but it's mandated by css-align, and matches what other browsers do when no margin is 'auto'. When some margin is 'auto', this should keep the proper round-tripping behavior that Gecko and WebKit lack, and Blink recently adopted.
This commit is contained in:
parent
e1d04b638f
commit
4532f211be
4 changed files with 129 additions and 118 deletions
|
@ -1,6 +0,0 @@
|
|||
[auto-margins-used-values-with-floats.tentative.html]
|
||||
[.box 2]
|
||||
expected: FAIL
|
||||
|
||||
[.box 5]
|
||||
expected: FAIL
|
|
@ -1,7 +1,4 @@
|
|||
[inheritance.html]
|
||||
[Property margin-inline-end does not inherit]
|
||||
expected: FAIL
|
||||
|
||||
[Property min-block-size has initial value 0px]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -96,21 +96,6 @@
|
|||
[<iframe marginwidth="200.25%"> mapping to marginRight]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe marginwidth="-200"> mapping to marginRight]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe marginwidth="-200px"> mapping to marginRight]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe marginwidth=" -200"> mapping to marginRight]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe marginwidth="+-200"> mapping to marginRight]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe marginwidth="-+200"> mapping to marginRight]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe marginheight="200"> mapping to marginTop]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue