WPT
wpt / css / css-logical / parsing / margin-block-inline-valid.html
Spec: CSS Logical Properties ↗
Runs: Chrome 155.0.8043.0 (wpt@b89af32bc, 2026-09-05) | Firefox 157.0a1 (wpt@b89af32bc, 2026-09-05) | Safari 251 preview (wpt@b89af32bc, 2026-09-05) | Ladybird 1.0-f994f (wpt@b89af32bc, 2026-09-05) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 14/14 | 14/14 | 14/14 | 14/14 | 14/14 | 14/14 |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| e.style['margin-block-start'] = "calc(20% + 10px)" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['margin-block-start'] = "auto" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['margin-block-end'] = "-10px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['margin-inline-start'] = "-20%" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['margin-inline-end'] = "calc(2em + 3ex)" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['margin-block'] = "auto" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['margin-block'] = "-10px" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['margin-block'] = "calc(2em + 3ex) -20%" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['margin-block'] = "auto auto" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['margin-block'] = "-20% calc(20% + 10px)" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['margin-inline'] = "20%" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['margin-inline'] = "calc(2em + 3ex)" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['margin-inline'] = "-10px auto" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |
| e.style['margin-inline'] = "auto calc(2em + 3ex)" should set the property value | PASS | PASS | PASS | PASS | PASS | PASS |