Skip to content

[css-align] Axis rule for align-self/justify-self on static-position of abspos boxes not fully defined #1443

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

Closed
dbaron opened this issue May 22, 2017 · 1 comment

Comments

@dbaron
Copy link
Member

dbaron commented May 22, 2017

The definition of justify-self for the static position of absolutely positioned boxes says:

justify-self Axis
The same axis that justify-self corresponds to for in-flow children of the box’s parent

And the definition of align-self for the static position of absolutely positioned boxes says pretty much the same.

The problem with this definition is that this isn't defined for all box types.

I think this should instead be defined as the main/cross axis if the box's parent is a flexbox, and the block/inline axis if the box's parent is not.

(In fact, maybe the axis definitions should, in general, be defined that way?)

@fantasai
Copy link
Collaborator

Fixed as requested, thanks!

triple-underscore added a commit to triple-underscore/triple-underscore.github.io that referenced this issue Jun 28, 2017
Use physical left/right as well as line-relative left/right for mapping
left/right keywords. w3c/csswg-drafts#1403
w3c/csswg-drafts@93ee87ca370963205c93c915b2b73
0c3a308a142

Fix the Values section to be more up-to-date.
Fixes w3c/csswg-drafts#1397 .
w3c/csswg-drafts@ec8e2818c6d443374d2acc3bc9d1a
c3ba1933da6

Use more explicit terminology for the axis used by static-pos *-self.
Fixes w3c/csswg-drafts#1443 .
w3c/csswg-drafts@b649337df3e4c192bec005f905e8d
49417d1af68

Block's justify-self:normal should act like 'stretch', not 'start'.
Fixes w3c/csswg-drafts#1437 .
w3c/csswg-drafts@4277c9e5e124445a73612ab07b98b
d0449968c8b

Actually specify how 'normal' aligns grid items.
Fixes w3c/csswg-drafts#1433 .
w3c/csswg-drafts@da03cd965eea014c3c8002bf8ee15
da700f2ebba

+ flex-end 値 周りの訳抜け修正
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

2 participants