Skip to content

Commit 039dd7c

Browse files
committed
[css-scoping-2][editorial] Fix indentation
1 parent a6d54b1 commit 039dd7c

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

css-scoping-2/Overview.bs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ Scoping Styles in CSS: the ''@scope'' rule</h3>
247247

248248
<pre class='prod'>
249249
@scope (<<scope-start>>) [to (<<scope-end>>)]? {
250-
<<stylesheet>>
250+
<<stylesheet>>
251251
}
252252
</pre>
253253

@@ -289,13 +289,13 @@ Scoping Styles in CSS: the ''@scope'' rule</h3>
289289

290290
<pre class=lang-html>
291291
&lt;section data-scope="main-component">
292-
&lt;p data-scope="main-component">...&lt;p>
292+
&lt;p data-scope="main-component">...&lt;p>
293293

294-
&lt;!-- sub-component root is in both scopes -->
295-
&lt;section data-scope="main-component sub-component">
296-
&lt;!-- children are only in the inner scope -->
297-
&lt;p data-scope="sub-component">...&lt;p>
298-
&lt;/section>
294+
&lt;!-- sub-component root is in both scopes -->
295+
&lt;section data-scope="main-component sub-component">
296+
&lt;!-- children are only in the inner scope -->
297+
&lt;p data-scope="sub-component">...&lt;p>
298+
&lt;/section>
299299
&lt;/section>
300300
</pre>
301301

@@ -320,11 +320,11 @@ Scoping Styles in CSS: the ''@scope'' rule</h3>
320320

321321
<pre class=lang-html>
322322
&lt;section data-scope="main-component">
323-
&lt;p>...&lt;p>
324-
&lt;section data-scope="sub-component">
325-
&lt;!-- children are only in the inner scope -->
326-
&lt;p>...&lt;p>
327-
&lt;/section>
323+
&lt;p>...&lt;p>
324+
&lt;section data-scope="sub-component">
325+
&lt;!-- children are only in the inner scope -->
326+
&lt;p>...&lt;p>
327+
&lt;/section>
328328
&lt;/section>
329329
</pre>
330330

@@ -395,13 +395,13 @@ Scope Proximity in the Cascade</h3>
395395
&lt;section class="light-scheme">
396396
&lt;a href="#">
397397
light scope:
398-
darkmagenta link color
399-
&lt;/a>
398+
darkmagenta link color
399+
&lt;/a>
400400
&lt;aside class="dark-scheme">
401-
&lt;a href="#">
402-
both scopes, but dark-scheme is a closer ancestor:
403-
plum link color
404-
&lt;/a>
401+
&lt;a href="#">
402+
both scopes, but dark-scheme is a closer ancestor:
403+
plum link color
404+
&lt;/a>
405405
&lt;/aside>
406406
&lt;/section>
407407
</pre>

0 commit comments

Comments
 (0)