-
Notifications
You must be signed in to change notification settings - Fork 689
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-gaps-1] Naming bi-directional gap decoration shorthand #11495
Comments
The CSS Working Group just discussed
The full IRC log of that discussion<TabAtkins> kbabbitt: this came up in TAG review for gap decos<TabAtkins> kbabbitt: there's a gap-rule shorthand that sets width/style/color for both directions <TabAtkins> kbabbitt: named it gap-rule for a few reasons <TabAtkins> kbabbitt: first, nervous about taking rule-* for future <lea> q+ <TabAtkins> kbabbitt: also avoiding confusion between the "rule" properties and CSS rules <TabAtkins> kbabbitt: just wanted some opinions <TabAtkins> lea: this is what we do for gap - row-gap/column-gap, and gap <TabAtkins> lea: so suggested doing the same and getting just 'rule' <TabAtkins> lea: but you raise valid points <TabAtkins> astearns: i'm usually very concerned about consistency, but not concerned in this case. i do like the guarding considerations. <TabAtkins> TabAtkins: same <TabAtkins> TabAtkins: so proposed resolution is stick with gap-rule? <TabAtkins> fantasai: feels like it should be a longhand of 'gap' then, so i'm leanign the other way <TabAtkins> kbabbitt: could it be? could get ambiguous, a length could be the gap size or the rule size <TabAtkins> grule <TabAtkins> florian: the confusion between decorative and syntactic rules is unlikely to anywhere besides these meetings, so it's fine <TabAtkins> florian: and context is different enough anyway, not very confusing <TabAtkins> fantasai: oh so i'm not suggesting `gap` be a shorthand that includes gap-rule, i suggest just doing 'rule' <TabAtkins> astearns: so proposed resolution, rename gap-rule to 'rule' <TabAtkins> RESOLVED: rename gap-rule to 'rule' |
One note: Currently, the spec also has edit: and |
Gaps 1 defines the
gap-rule
property as a shorthand which sets widths, styles, and colors in both the row and column directions.In the TAG review thread for CSS Gap Decorations, @LeaVerou asked:
To which I responded:
I wanted to open a discussion to get more opinions from the WG about this. What do folks think?
The text was updated successfully, but these errors were encountered: