Skip to content

Commit cebfd28

Browse files
foolipAutomatedTester
authored andcommitted
Fix h1-6 levels to match section nesting / ToC
Discovered as part of #1462. It doesn't matter in ReSpec because the <section> nesting level is used, but Bikeshed does not use the HTML outline algorithm: https://tabatkins.github.io/bikeshed/#table-of-contents
1 parent df1d9bd commit cebfd28

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

index.html

+19-19
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ <h3>Errors</h3>
13081308
</section> <!-- /Errors -->
13091309

13101310
<section>
1311-
<h2>Extensions</h2>
1311+
<h3>Extensions</h3>
13121312

13131313
<p>Using the terminology defined in this section, others may define additional
13141314
commands that seamlessly integrate with the standard protocol. This allows
@@ -3498,7 +3498,7 @@ <h3><dfn>Switch To Parent Frame</dfn></h3>
34983498
</section> <!-- /Switch To Parent Frame -->
34993499

35003500
<section>
3501-
<h2>Resizing and positioning windows</h2>
3501+
<h3>Resizing and positioning windows</h3>
35023502

35033503
<p>WebDriver provides <a>commands</a>
35043504
for interacting with the operating system window
@@ -3618,7 +3618,7 @@ <h2>Resizing and positioning windows</h2>
36183618
or until the operation times out.
36193619

36203620
<section>
3621-
<h3><dfn>Get Window Rect</dfn></h3>
3621+
<h4><dfn>Get Window Rect</dfn></h4>
36223622

36233623
<table class="simple jsoncommand">
36243624
<tr>
@@ -3652,7 +3652,7 @@ <h3><dfn>Get Window Rect</dfn></h3>
36523652
</section> <!-- /Get Window Rect -->
36533653

36543654
<section>
3655-
<h3><dfn>Set Window Rect</dfn></h3>
3655+
<h4><dfn>Set Window Rect</dfn></h4>
36563656

36573657
<table class="simple jsoncommand">
36583658
<tr>
@@ -3778,7 +3778,7 @@ <h3><dfn>Set Window Rect</dfn></h3>
37783778
</section> <!-- /Set Window Rect -->
37793779

37803780
<section>
3781-
<h3><dfn>Maximize Window</dfn></h3>
3781+
<h4><dfn>Maximize Window</dfn></h4>
37823782

37833783
<table class="simple jsoncommand">
37843784
<tr>
@@ -3825,7 +3825,7 @@ <h3><dfn>Maximize Window</dfn></h3>
38253825
</section> <!-- /Maximize Window -->
38263826

38273827
<section>
3828-
<h3><dfn>Minimize Window</dfn></h3>
3828+
<h4><dfn>Minimize Window</dfn></h4>
38293829

38303830
<table class="simple jsoncommand">
38313831
<tr>
@@ -3868,7 +3868,7 @@ <h3><dfn>Minimize Window</dfn></h3>
38683868
</section> <!-- /Minimize Window -->
38693869

38703870
<section>
3871-
<h3><dfn>Fullscreen Window</dfn></h3>
3871+
<h4><dfn>Fullscreen Window</dfn></h4>
38723872

38733873
<table class="simple jsoncommand">
38743874
<tr>
@@ -6261,7 +6261,7 @@ <h3>Executing Script</h3>
62616261
and is therefore not subject to the document CSP <a>directives</a>.
62626262

62636263
<section>
6264-
<h3><dfn>Execute Script</dfn></h3>
6264+
<h4><dfn>Execute Script</dfn></h4>
62656265

62666266
<table class="simple jsoncommand">
62676267
<tr>
@@ -6317,7 +6317,7 @@ <h3><dfn>Execute Script</dfn></h3>
63176317
</section> <!-- /Execute Script -->
63186318

63196319
<section>
6320-
<h3><dfn>Execute Async Script</dfn></h3>
6320+
<h4><dfn>Execute Async Script</dfn></h4>
63216321

63226322
<table class="simple jsoncommand">
63236323
<tr>
@@ -6868,7 +6868,7 @@ <h2><dfn>Actions</dfn></h2>
68686868
</aside> <!-- /example -->
68696869

68706870
<section>
6871-
<h2>Input sources</h2>
6871+
<h3>Input sources</h3>
68726872

68736873
<p class=note>
68746874
The objects and properties defined in this section are spec-internal constructs
@@ -6886,7 +6886,7 @@ <h2>Input sources</h2>
68866886

68876887

68886888
<section>
6889-
<h3 id=input-sources>Sources</h3>
6889+
<h4 id=input-sources>Sources</h4>
68906890

68916891
<p>A <dfn>null input source</dfn> is an <a>input source</a> that is
68926892
not associated with a specific physical device. A <a>null input source</a>
@@ -6974,7 +6974,7 @@ <h3 id=input-sources>Sources</h3>
69746974

69756975

69766976
<section>
6977-
<h3 id=input-source-state>State</h3>
6977+
<h4 id=input-source-state>State</h4>
69786978

69796979
<p>
69806980
<dfn>Input source state</dfn> is used as a generic term to
@@ -7182,7 +7182,7 @@ <h3>Ticks</h3>
71827182

71837183

71847184
<section>
7185-
<h2>Processing actions</h2>
7185+
<h3>Processing actions</h3>
71867186

71877187
<p>The algorithm for <a data-lt="extract an action sequence">
71887188
extracting an action sequence from a request</a> takes the
@@ -7627,7 +7627,7 @@ <h2>Processing actions</h2>
76277627

76287628

76297629
<section>
7630-
<h2>Dispatching actions</h2>
7630+
<h3>Dispatching actions</h3>
76317631

76327632
<p>The algorithm to <a>dispatch actions</a> takes a list of actions
76337633
grouped by <a>tick</a>, and then causes each action to be run at the
@@ -7753,7 +7753,7 @@ <h2>Dispatching actions</h2>
77537753

77547754

77557755
<section>
7756-
<h2>General actions</h2>
7756+
<h4>General actions</h4>
77577757

77587758
<p>When required to <dfn>dispatch a pause action</dfn> with
77597759
arguments <var>source id</var>, <var>action object</var>,
@@ -7767,7 +7767,7 @@ <h2>General actions</h2>
77677767

77687768

77697769
<section>
7770-
<h2>Keyboard actions</h2>
7770+
<h4>Keyboard actions</h4>
77717771

77727772
<p>The <dfn>normalised key value</dfn> for a raw key <var>key</var>
77737773
is, if <var>key</var> appears in the table below, the string value in
@@ -8208,7 +8208,7 @@ <h2>Keyboard actions</h2>
82088208

82098209

82108210
<section>
8211-
<h2>Pointer actions</h2>
8211+
<h4>Pointer actions</h4>
82128212

82138213
<p>When required to <dfn>dispatch a pointerDown action</dfn> with
82148214
arguments <var>source id</var>, <var>action object</var>,
@@ -8513,7 +8513,7 @@ <h2>Pointer actions</h2>
85138513

85148514

85158515
<section>
8516-
<h2><dfn>Perform Actions</dfn></h2>
8516+
<h3><dfn>Perform Actions</dfn></h3>
85178517

85188518
<table class="simple jsoncommand">
85198519
<tr>
@@ -8550,7 +8550,7 @@ <h2><dfn>Perform Actions</dfn></h2>
85508550

85518551

85528552
<section>
8553-
<h2><dfn>Release Actions</dfn></h2>
8553+
<h3><dfn>Release Actions</dfn></h3>
85548554

85558555
<table class="simple jsoncommand">
85568556
<tr>

0 commit comments

Comments
 (0)