Skip to content

[css-logical] Logical caption-side issues #2698

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
Loirooriol opened this issue May 23, 2018 · 1 comment
Closed

[css-logical] Logical caption-side issues #2698

Loirooriol opened this issue May 23, 2018 · 1 comment
Labels
css-logical-1 Current Work

Comments

@Loirooriol
Copy link
Contributor

Loirooriol commented May 23, 2018

CSS Logical says

The existing top and bottom values are idiosyncratically redefined as assigning to the block-start and block-end sides of the table, respectively.

What about left and right? According to CSS Tables, Gecko is the only implementation, and there they seem to refer to what would be the inline-start and inline-end sides of the table if direction was ltr. They don't refer to the physical left and right.

The mapping on this property uses the writing mode of the element’s containing block (that is, the table wrapper box).

But CSS Tables doesn't say that the writing-mode value of the table element is used in the table wrapper box, this means it's used in the table grid box instead. However, setting writing-mode on the table element affects the position of its caption on both Firefox and Chrome.

Also, the spec says "uses the writing mode". Writing Modes spec explains this depends on all writing-mode, direction, and text-orientation, but I think it's easy to misunderstand and believe that only writing-mode is included. I would explicitly mention all properties, just like in most other sections.

@mrego mrego added the css-logical-1 Current Work label May 28, 2018
@fantasai
Copy link
Collaborator

CSS Tables does not correctly define the way properties are applied to tables. That's a general problem with that spec... in general, all inheritable properties are applied to the table wrapper box.

Added definitions for left and right in d919691

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-logical-1 Current Work
Projects
None yet
Development

No branches or pull requests

3 participants