Commit d2d5290 1 parent c9905c3 commit d2d5290 Copy full SHA for d2d5290
File tree 2 files changed +44
-10
lines changed
2 files changed +44
-10
lines changed Original file line number Diff line number Diff line change @@ -586,7 +586,15 @@ ruby rt {
586
586
587
587
## Level 2
588
588
589
- > # Not Sectionize
589
+ ### Level 3
590
+
591
+ ##
592
+
593
+ Level 2 was ended by `##`.
594
+
595
+ ## Not Sectionize {.just-a-heading} ##
596
+
597
+ > # Not Sectionize in Blockquote
590
598
```
591
599
592
600
** HTML**
@@ -605,10 +613,15 @@ ruby rt {
605
613
<h1 id =" level-1" >Level 1</h1 >
606
614
<section class =" level2" aria-labelledby =" level-2" >
607
615
<h2 id =" level-2" >Level 2</h2 >
608
- <blockquote >
609
- <h1 id =" not-sectionize " >Not Sectionize</ h1 >
610
- </blockquote >
616
+ <section class = " level3 " aria-labelledby = " level-3 " >
617
+ <h3 id =" level-3 " >Level 3</ h3 >
618
+ </section >
611
619
</section >
620
+ <p >Level 2 was ended by <code >##</code >.</p >
621
+ <h2 class =" just-a-heading" id =" not-sectionize" >Not Sectionize</h2 >
622
+ <blockquote >
623
+ <h1 id =" not-sectionize-in-blockquote" >Not Sectionize in Blockquote</h1 >
624
+ </blockquote >
612
625
</section >
613
626
```
614
627
@@ -617,7 +630,11 @@ ruby rt {
617
630
``` css
618
631
body > section {
619
632
}
620
- body > section > h1 :first-child {
633
+
634
+ section [aria-labelledby = " intro" ] {
635
+ }
636
+
637
+ section :has (> h1 .title ) {
621
638
}
622
639
623
640
.level1 {
Original file line number Diff line number Diff line change @@ -586,7 +586,15 @@ Make the heading a hierarchical section.
586
586
587
587
## Level 2
588
588
589
- > # Not Sectionize
589
+ ### Level 3
590
+
591
+ ##
592
+
593
+ Level 2 was ended by `##`.
594
+
595
+ ## Not Sectionize {.just-a-heading} ##
596
+
597
+ > # Not Sectionize in Blockquote
590
598
```
591
599
592
600
** HTML**
@@ -605,10 +613,15 @@ Make the heading a hierarchical section.
605
613
<h1 id =" level-1" >Level 1</h1 >
606
614
<section class =" level2" aria-labelledby =" level-2" >
607
615
<h2 id =" level-2" >Level 2</h2 >
608
- <blockquote >
609
- <h1 id =" not-sectionize " >Not Sectionize</ h1 >
610
- </blockquote >
616
+ <section class = " level3 " aria-labelledby = " level-3 " >
617
+ <h3 id =" level-3 " >Level 3</ h3 >
618
+ </section >
611
619
</section >
620
+ <p >Level 2 was ended by <code >##</code >.</p >
621
+ <h2 class =" just-a-heading" id =" not-sectionize" >Not Sectionize</h2 >
622
+ <blockquote >
623
+ <h1 id =" not-sectionize-in-blockquote" >Not Sectionize in Blockquote</h1 >
624
+ </blockquote >
612
625
</section >
613
626
```
614
627
@@ -617,7 +630,11 @@ Make the heading a hierarchical section.
617
630
``` css
618
631
body > section {
619
632
}
620
- body > section > h1 :first-child {
633
+
634
+ section [aria-labelledby = " intro" ] {
635
+ }
636
+
637
+ section :has (> h1 .title ) {
621
638
}
622
639
623
640
.level1 {
You can’t perform that action at this time.
0 commit comments