Skip to content

Commit c0aa1d7

Browse files
author
Ahmad Awais ⚡️
authored
🐛 FIX: Typos & Grammar
Fixes a couple of typos and grammatical errors like: - [x] `editting` to `editing` - [x] `Nesting allow` to `Nesting allows` ```diff - some people find the nesting difficult to visually distinguish + some people find the nesting challenging to distinguish visually ``` Looking forward, peace! ✌️
1 parent 9d240e4 commit c0aa1d7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

css-nesting-1/Overview.bs

+6-6
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Motivation</h3>
5757
</pre>
5858
</div>
5959

60-
Nesting allow the grouping of related style rules, like this:
60+
Nesting allows the grouping of related style rules, like this:
6161

6262
<div class='example'>
6363
<pre class=lang-css>
@@ -251,14 +251,14 @@ Direct Nesting {#direct}
251251
</div>
252252

253253
Note: The last invalid example is technically not ambiguous,
254-
but it's still invalid because allowing it would be an editting hazard.
254+
but it's still invalid because allowing it would be an editing hazard.
255255
Later edits to the stylesheet might remove the first selector in the list,
256256
making the other one the new "first selector",
257257
and making the rule invalid.
258258
Turning an otherwise-innocuous action
259259
(like removing a selector from a list)
260260
into a possible error
261-
makes editting more complicated,
261+
makes editing more complicated,
262262
and is author-hostile,
263263
so we disallow it as a possibility.
264264

@@ -270,14 +270,14 @@ The Nesting At-Rule: ''@nest'' {#at-nest}
270270
Some valid nesting selectors,
271271
like ''.foo &'',
272272
are disallowed,
273-
and editting the selector in certain ways can make the rule invalid unexpectedly.
273+
and editing the selector in certain ways can make the rule invalid unexpectedly.
274274
As well,
275-
some people find the nesting difficult to visually distinguish
275+
some people find the nesting challenging to distinguish visually
276276
from the surrounding declarations.
277277

278278
To aid in all these issues,
279279
this specification defines the ''@nest'' rule,
280-
which imposes less restrictions on how to validly nest style rules.
280+
which imposes fewer restrictions on how to validly nest style rules.
281281
Its syntax is:
282282

283283
<pre class=prod>

0 commit comments

Comments
 (0)