You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-nesting-1/proposals.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -82,6 +82,7 @@ Arguments for each of the above options:
82
82
- Like the (2.X) set, syntax is same as Sass/etc-style except for selectors starting with a type selector.
83
83
- Like (1), can theoretically mix properties and rules again, but the data model will still have to act as if all properties as coming first.
84
84
- No `@nest` rule needed
85
+
- In the future we could theoretically relax the syntax further, if we find a way to parse desecendant element selectors properly without infinite lookahead
85
86
86
87
<td>
87
88
@@ -101,6 +102,7 @@ Arguments for each of the above options:
101
102
<td>
102
103
103
104
- Nesting that is not nested
105
+
- No nesting in inline styles or other CSSStyleDeclaration contexts
104
106
- Requires another pair of brackets
105
107
- Requires either noisy `@nest` everywhere or cryptic ASCII syntax
106
108
- CSSOM with (arguably) a different structure than the syntax
@@ -144,7 +146,7 @@ If it were up to you, what syntax would you prefer for CSS Nesting?
0 commit comments