Skip to content

Conversation

@upsuper
Copy link
Member

@upsuper upsuper commented Jul 13, 2018

Specifically I'd like to reference them in cssom spec.

'writing-mode', 'direction', and 'text-orientation'.

Each set of flow-relative properties and their parallel physical
properties are in the same <dfn export>logical property group</dfn>.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not clear to me which these groups are. Can it be made more explicit?

form a <a>logical property group</a>, while 'margin-block-start',
'margin-block-end', 'margin-inline-start', 'margin-inline-end',
'margin-top', 'margin-right', 'margin-bottom', and 'margin-left'
form another.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about shorthand properties like margin-block?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regarding the proposed use in #2924, it doesn't matter. Shorthand properties are expanded to longhands during parsing.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but this should be properly defined independently of #2924. "Each set of flow-relative properties" seems to include shorthands, but they are not in the example. You can say "Each set of flow-relative longhand properties"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed that according to your suggestion. Thanks.

@FremyCompany
Copy link
Contributor

FWIW I just reviewed this, and this looks fine to me

@fantasai
Copy link
Collaborator

OK, so, I think this needs some revision. For example, an example shouldn't be marked as a note, it should be marked as an example. :) But it's easier for me to just merge it and edit it than to ask for fiddly wording changes that are annoying to pass back and forth so gonna just do that...

@fantasai fantasai merged commit acf822c into w3c:master Aug 17, 2018
@upsuper
Copy link
Member Author

upsuper commented Aug 17, 2018

Thanks!

@fantasai
Copy link
Collaborator

Notes on changes made...

  • Format source per http://rhodesmill.org/brandon/2012/one-sentence-per-line/

  • Moved definition of “logical property group” to the first paragraph, it fits better there. Makes more sense to define what something is first, then how it behaves second.

  • This paragraph

    Each property in a logical property group has a logical kind. Flow-relative properties' logical kind is "flow-relative", and physical properties' logical kind is "physical".”

    is just obnoxiously redundant for humans (A is A, and B is B), so I took a different approach to defining the term. Also renamed the term, since “kind” is a mostly-meaningless word, so I prefer not to use it if I can find something better.

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

Successfully merging this pull request may close these issues.

5 participants