Skip to content

Commit 539cefb

Browse files
committed
Editorial: clean up headings
1 parent b71846b commit 539cefb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

spec.bs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -205,46 +205,46 @@ Any [=dedicated worker agent=] whose single [=/realm=]'s [=Realm/global object=]
205205
Modifications to the HTML Standard {#mod}
206206
--------------------------------------------
207207

208-
### HTML: <a href="https://html.spec.whatwg.org/multipage/browsing-the-web.html#unloading-documents">Unloading documents</a> and <a href="https://html.spec.whatwg.org/multipage/browsing-the-web.html#history-traversal">History Traversal</a> ### {#html-bfcache-dfn}
208+
### <a href="https://html.spec.whatwg.org/multipage/browsing-the-web.html#unloading-documents">Unloading documents</a> and <a href="https://html.spec.whatwg.org/multipage/browsing-the-web.html#history-traversal">history traversal</a> ### {#html-bfcache-dfn}
209209

210210
When documents move into and out of <a href="https://webkit.org/blog/427/webkit-page-cache-i-the-basics/">bfcache (back forward cache)</a> they will transition its [=Document/frozenness=] state to true and false respectively.
211211

212212
* In the [=unload a document=] algorithm, after Step #5, if the {{PageTransitionEvent/persisted}} attribute is true (i.e. we are moving to bfcache), [=change the frozenness of a document=], given |document| and true.
213213
* In the [=traverse the history=] algorithm, before Step #4.6.4, if the {{PageTransitionEvent/persisted}} attribute is true (i.e. we are moving out of bfcache), [=change the frozenness of a document=], given |document| and false.
214214

215-
### HTML: <a href="https://html.spec.whatwg.org/multipage/webappapis.html#definitions-3">HTML Event Loop Definitions</a> ### {#html-html-event-loop-definitions}
215+
### <a href="https://html.spec.whatwg.org/multipage/webappapis.html#definitions-3">Event loop: definitions</a> ### {#html-html-event-loop-definitions}
216216

217217
Replace: A [=task=] is runnable if its [=document=] if either null or [=fully active=].
218218

219219
With: A [=task=] is runnable if its [=document=] is either null or [=fully active=], and is also [=/unfrozen=].
220220

221-
### HTML: <a href="https://html.spec.whatwg.org/multipage/webappapis.html#event-loop-processing-model">HTML Event Loop Processing Model</a> ### {#html-event-loop}
221+
### <a href="https://html.spec.whatwg.org/multipage/webappapis.html#event-loop-processing-model">Event loop: processing model</a> ### {#html-event-loop}
222222

223223
After Step #11 during the [=Update the rendering=] add the following step.
224224

225225
For each [=fully active=] {{Document}} |doc| in <var ignore>docs</var>, run the [=update document frozenness steps=] given |doc|.
226226

227-
### HTML: <a href="https://html.spec.whatwg.org/multipage/window-object.html#a-browsing-context-is-discarded">Discarding browsing context</a> ### {#html-discarding}
227+
### <a href="https://html.spec.whatwg.org/multipage/window-object.html#a-browsing-context-is-discarded">Discarding browsing contexts</a> ### {#html-discarding}
228228

229229
Rename the "<a href="https://html.spec.whatwg.org/multipage/window-object.html#a-browsing-context-is-discarded">discard</a>" concept, for both browsing contexts and documents, to "destroy". This allows us to use the "discarded" terminology for the user-facing {{Document/wasDiscarded}} attribute.
230230

231-
### HTML: Modifications to <a href="https://html.spec.whatwg.org/multipage/browsing-the-web.html#initialise-the-document-object">Initialize the document</a> ### {#html-initialize-doc}
231+
### <a href="https://html.spec.whatwg.org/multipage/browsing-the-web.html#initialise-the-document-object">Initialize the document</a> ### {#html-initialize-doc}
232232

233233
Before Step #3 add following:
234234

235235
If the browsing context was previously [=/discarded=], then set the {{Document}}'s [=Document/discarded=] boolean to true.
236236

237-
### HTML: Modifications to [=iframe load event steps=] ### {#html-iframe-load}
237+
### [=iframe load event steps=] ### {#html-iframe-load}
238238

239239
After Step #5 add following:
240240

241241
Run the [=update document frozenness steps=] given <var ignore>child document</var>.
242242

243-
### HTML: Modifications to {{HTMLMediaElement}} ### {#html-media-elements}
243+
### {{HTMLMediaElement}} ### {#html-media-elements}
244244

245245
Each {{HTMLMediaElement}} has a <dfn for="HTMLMediaElement">resume frozen flag</dfn>, which is initially set to false.
246246

247-
Additions to Page Lifecycle spec {#page-lifecycle}
247+
Page lifecycle processing model {#page-lifecycle}
248248
--------------------------------------------
249249

250250
<h4 id="frozenness-state">FROZENNESS state</h4>

0 commit comments

Comments
 (0)