mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
Never resolve margin-left:auto to a negative amount (#30065)
With direction:ltr (and we don't support direction:rtl yet), the rules from https://drafts.csswg.org/css2/#blockwidth imply that margin-left shouldn't resolve auto to a negative amount. This aligns Servo with Gecko and Blink. WebKit may resolve to a negative amount in some cases.
This commit is contained in:
parent
1296ddf273
commit
d90e3078a6
4 changed files with 158 additions and 6 deletions
|
@ -73328,6 +73328,19 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"margin-auto-on-block-box.html": [
|
||||
"1afc98a91322feab5fe249b34c26274468fb0b22",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/CSS2/margin-padding-clear/margin-auto-on-block-box-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"margin-backgrounds-002.xht": [
|
||||
"75c0211ca4b9c541eddb4b2698efd185574f0df4",
|
||||
[
|
||||
|
@ -365406,6 +365419,10 @@
|
|||
"287a58e369391edd2c3c3c6bcb6c5da4292ecb80",
|
||||
[]
|
||||
],
|
||||
"margin-auto-on-block-box-ref.html": [
|
||||
"efc41cff10c179da1a3cfe0da1cfea72530fa7d9",
|
||||
[]
|
||||
],
|
||||
"margin-border-padding-001-ref.xht": [
|
||||
"0578570aaef4f6b46557feb12b7368e0008dbb5b",
|
||||
[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue