mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +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
|
@ -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