WPT
wpt / css / css-logical / logical-box-margin.html
Spec: CSS Logical Properties ↗
Runs: Chrome 155.0.8039.0 (wpt@0ea9f2aac, 2026-09-03) | Firefox 157.0a1 (wpt@0ea9f2aac, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-a9df8 (wpt@9b4cabf6d, 2026-09-03) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)
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 | — | — | — |