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-display-3][css2] initial direction & writing-mode from root or body? #3260

Closed
prjnt opened this issue Oct 28, 2018 · 2 comments
Closed

Comments

@prjnt
Copy link

prjnt commented Oct 28, 2018

https://drafts.csswg.org/css-display-3/#containing-block says:

(For the initial containing block, the values are taken from the root element.)

Some CSS specs (such as CSS2 §10.1) say that the 'direction' of the initial containing block always comes from the root element; whereas others (such as css-writing-modes-3, if I'm correctly understanding “propagated to”) say that it is instead taken from the body element in some circumstances, and that this does not affect the values of the root element (last sentence before §8.1).

This conflict should be resolved.

(Also, the first paragraph of §8 in css-writing-modes should be changed not to contradict the second paragraph, e.g. by adding "(other than in the case described in the following paragraph)". That avoids people stopping reading after the first paragraph because they think they already have the answer to their question.)

@xfq
Copy link
Member

xfq commented Dec 24, 2018

Related: #3066

@fantasai
Copy link
Collaborator

Fair point. Added 'unless otherwise specified'. Lmk if that seems acceptable, @prjnt ?

@frivoal frivoal changed the title [css-display-3][css2][css-writing-modes-3] initial direction & writing-mode from root or body? [css-display-3][css2] initial direction & writing-mode from root or body? Jul 21, 2019
@fantasai fantasai closed this as completed Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants