Skip to content

Commit df27b45

Browse files
LeaVeroufantasai
andcommitted
[css-nesting-1] Add twitter polls to proposal summary
Co-Authored-By: fantasai <725717+fantasai@users.noreply.github.com>
1 parent 024c001 commit df27b45

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

css-nesting-1/proposals.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,27 @@ Arguments for each of the above options:
109109

110110
</table>
111111

112+
## Twitter Polls
113+
114+
*(Percentages normalized to exclude "Just show results" answers)*
115+
116+
### [Poll 1: What do authors prefer for their own code](https://twitter.com/LeaVerou/status/1579902585540345857) (1,613 votes)
117+
118+
Which of the following best expresses how you want to write nested CSS when it's implemented by browsers?
119+
120+
- (**52%**) I want to use `&` in every selector, as I think it makes code more clear
121+
- (**48%**) I want to be able to omit `&` whenever possible, as it's noisy to read and a hassle to type
122+
123+
### [Poll 2: What do authors want to be the general rule](https://twitter.com/LeaVerou/status/1580215877705687040) (592 votes)
124+
125+
If it were up to you, what syntax would you prefer for CSS Nesting?
126+
127+
- (**42%**) `&` should be mandatory, even in descendants and combinators
128+
- (**58%**) `&` should be optional for descendants and combinators
129+
130+
131+
132+
112133
## Discussion Participant Positions
113134

114135
Add your name and preferred proposals below:
@@ -119,6 +140,6 @@ Add your name and preferred proposals below:
119140
| LeaVerou | 3 | 2.iii | 2.ii |
120141
| tabatkins | 3 | 1 | 2.iii |
121142

122-
Note: It is not required to be a WG member to add your name to this list,
143+
***Note:** It is not required to be a WG member to add your name to this list,
123144
only to have followed the [discussion](https://github.com/w3c/csswg-drafts/issues/7834)
124-
and considered the proposals (summarized above) carefully.
145+
and considered the proposals (summarized above) carefully.*

0 commit comments

Comments
 (0)