Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-logical-props] Make margin properties use self's writing mode #109

Merged
merged 1 commit into from May 11, 2016

Conversation

zcorpan
Copy link
Member

@zcorpan zcorpan commented May 11, 2016

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.)

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.)
@fantasai fantasai merged commit 74f20e2 into w3c:master May 11, 2016
@zcorpan zcorpan deleted the logical-margins branch May 11, 2016 23:36
birtles added a commit to birtles/csswg-drafts that referenced this pull request Dec 4, 2017
frivoal pushed a commit to frivoal/csswg-drafts that referenced this pull request Nov 15, 2018
…oint

Modify the way to set the spatial navigation starting point
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants