Click here to download the Blitz Browser!

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

ChromeFirefoxSafariLadybirdServoBlitz
Total44/5244/5252/5244/5212/5212/52
SubtestChromeFirefoxSafariLadybirdServoBlitz
Test that logical margin-* properties are supported.PASSPASSPASSPASSPASSPASS
Test that margin-inline shorthand sets longhands and serializes correctly.PASSPASSPASSPASSPASSPASS
Test that margin-block shorthand sets longhands and serializes correctly.PASSPASSPASSPASSPASSPASS
Test that margin shorthand sets longhands and serializes correctly.PASSPASSPASSPASSPASSPASS
Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: horizontal-tb; direction: ltr; '.PASSPASSPASSPASSPASSPASS
Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: horizontal-tb; direction: ltr; '.PASSPASSPASSPASSPASSPASS
Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: ltr; '.PASSPASSPASSPASSPASSPASS
Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: ltr; '.PASSPASSPASSPASSPASSPASS
Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: horizontal-tb; direction: rtl; '.PASSPASSPASSPASSPASSPASS
Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: horizontal-tb; direction: rtl; '.PASSPASSPASSPASSPASSPASS
Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: rtl; '.PASSPASSPASSPASSPASSPASS
Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: horizontal-tb; direction: rtl; '.PASSPASSPASSPASSPASSPASS
Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: vertical-rl; direction: rtl; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-rl; direction: rtl; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: rtl; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: rtl; '.PASSPASSPASSPASSFAILFAIL
Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: sideways-rl; direction: rtl; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-rl; direction: rtl; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: rtl; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: rtl; '.PASSPASSPASSPASSFAILFAIL
Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: vertical-rl; direction: ltr; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-rl; direction: ltr; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: ltr; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-rl; direction: ltr; '.PASSPASSPASSPASSFAILFAIL
Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: sideways-rl; direction: ltr; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-rl; direction: ltr; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: ltr; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-rl; direction: ltr; '.PASSPASSPASSPASSFAILFAIL
Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: vertical-lr; direction: rtl; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-lr; direction: rtl; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: rtl; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: rtl; '.PASSPASSPASSPASSFAILFAIL
Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: sideways-lr; direction: ltr; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: ltr; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: ltr; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: ltr; '.PASSPASSPASSPASSFAILFAIL
Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: vertical-lr; direction: ltr; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-lr; direction: ltr; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: ltr; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: vertical-lr; direction: ltr; '.PASSPASSPASSPASSFAILFAIL
Test that logical margin-* properties share computed values with their physical associates, with 'writing-mode: sideways-lr; direction: rtl; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: rtl; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* properties honor order of appearance when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '.PASSPASSPASSPASSFAILFAIL
Test that margin-* properties honor selector specificty when both logical and physical associates are declared, with 'writing-mode: sideways-lr; direction: rtl; '.PASSPASSPASSPASSFAILFAIL
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