WPT
wpt / css / css-logical / logical-box-margin.html
Spec: CSS Logical Properties ↗
Runs: Chrome 155.0.8042.0 (wpt@a1ecd0c09, 2026-09-04) | Firefox 157.0a1 (wpt@a1ecd0c09, 2026-09-04) | Safari 251 preview (wpt@e7122b73f, 2026-09-04) | Ladybird 1.0-52f0f (wpt@0588f3896, 2026-09-04) | 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 | 44/52 | 44/52 | 52/52 | 44/52 | 12/52 | 12/52 |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Test that logical margin-* properties are supported. | PASS | PASS | PASS | PASS | PASS | PASS |
| Test that margin-inline shorthand sets longhands and serializes correctly. | PASS | PASS | PASS | PASS | PASS | PASS |
| Test that margin-block shorthand sets longhands and serializes correctly. | PASS | PASS | PASS | PASS | PASS | PASS |
| Test that margin shorthand sets longhands and serializes correctly. | PASS | PASS | PASS | PASS | PASS | PASS |
| Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: horizontal-tb; direction: ltr; '. | PASS | PASS | PASS | PASS | PASS | PASS |
| Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: horizontal-tb; direction: ltr; '. | PASS | PASS | PASS | PASS | PASS | PASS |
| Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: ltr; '. | PASS | PASS | PASS | PASS | PASS | PASS |
| Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: ltr; '. | PASS | PASS | PASS | PASS | PASS | PASS |
| Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: horizontal-tb; direction: rtl; '. | PASS | PASS | PASS | PASS | PASS | PASS |
| Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: horizontal-tb; direction: rtl; '. | PASS | PASS | PASS | PASS | PASS | PASS |
| Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: rtl; '. | PASS | PASS | PASS | PASS | PASS | PASS |
| Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: rtl; '. | PASS | PASS | PASS | PASS | PASS | PASS |
| Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: vertical-rl; direction: rtl; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-rl; direction: rtl; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: rtl; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: rtl; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: sideways-rl; direction: rtl; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-rl; direction: rtl; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: rtl; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: rtl; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: vertical-rl; direction: ltr; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-rl; direction: ltr; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: ltr; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: ltr; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: sideways-rl; direction: ltr; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-rl; direction: ltr; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: ltr; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: ltr; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: vertical-lr; direction: rtl; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-lr; direction: rtl; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: rtl; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: rtl; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: sideways-lr; direction: ltr; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: ltr; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: ltr; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: ltr; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: vertical-lr; direction: ltr; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-lr; direction: ltr; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: ltr; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: ltr; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: sideways-lr; direction: rtl; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: rtl; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '. | PASS | PASS | PASS | PASS | FAIL | FAIL |
| Test that logical margin-* properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. | — | — | PASS | — | — | — |
| Test that margin-* shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. | — | — | PASS | — | — | — |
| Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. | — | — | PASS | — | — | — |
| Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: ltr; '. | — | — | PASS | — | — | — |
| Test that logical margin-* properties share computed values with their physical associates, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. | — | — | PASS | — | — | — |
| Test that margin-* shorthands set the computed value of both logical and physical longhands, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. | — | — | PASS | — | — | — |
| Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. | — | — | PASS | — | — | — |
| Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with '-webkit-writing-mode: horizontal-bt; direction: rtl; '. | — | — | PASS | — | — | — |