Commit d574695
committed
[css-logical-props] Make margin properties use self's writing mode
The spec said to use the parent element's writing-mode/direction/
text-orientation to map margin-block-start to a physical margin
property. WebKit/Chromium/Gecko/Edge however use the own element's
writing-mode/direction/text-orientation rather than the parent's.
Since browsers use logical properties in their UA stylesheet and
the <dd> element uses margin-inline-start, so Web content that
uses <dd dir=rtl> where the parent is ltr would change behavior
if browsers were to change to use the parent element.
Ref.
https://logs.csswg.org/irc.w3.org/css/2016-05-11/#e685444
https://lists.w3.org/Archives/Public/www-style/2016May/0098.html
(Also remove Overview.html and let it be generated on the server.)1 parent cf92fb5 commit d574695
2 files changed
Lines changed: 1 addition & 1536 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
0 commit comments