Skip to content

Commit 7851d20

Browse files
committed
[css-nesting-1] Add con about inline styles to proposal 4
1 parent 13525c8 commit 7851d20

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

css-nesting-1/proposals.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ Arguments for each of the above options:
8282
- Like the (2.X) set, syntax is same as Sass/etc-style except for selectors starting with a type selector.
8383
- 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.
8484
- 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
8586

8687
<td>
8788

@@ -101,6 +102,7 @@ Arguments for each of the above options:
101102
<td>
102103

103104
- Nesting that is not nested
105+
- No nesting in inline styles or other CSSStyleDeclaration contexts
104106
- Requires another pair of brackets
105107
- Requires either noisy `@nest` everywhere or cryptic ASCII syntax
106108
- 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?
144146
| romainmenke | 1 | 3 | 4 |
145147
| FremyCompany | 4.iii | 1 | 3 |
146148
| dbaron | 3 [*](https://github.com/w3c/csswg-drafts/issues/7834#issuecomment-1283019419) | 4.iii | 1 |
147-
| alohci | 3 | 1 | 4 |
149+
| alohci | 3 | 1 | 4 |
148150

149151
***Note:** It is not required to be a WG member to add your name to this list,
150152
only to have followed the [discussion](https://github.com/w3c/csswg-drafts/issues/7834)

0 commit comments

Comments
 (0)