@@ -16,7 +16,6 @@ Former Editor: Shane Stephens, shanestephens@google.com, w3cid 47691
1616Editor : Robert O'Callahan, robert@ocallahan.org
1717Editor : Rossen Atanassov, rossen.atanassov@microsoft.com, w3cid 49885
1818Ignored Terms : LayoutWorklet
19- Ignored Terms : create a workletglobalscope
2019</pre>
2120
2221<style>
@@ -1776,11 +1775,10 @@ context=] for a given |box|, |childBoxes| it <em>must</em> run the following ste
17761775 <code> "invalid"</code> , then let |box| fallback to the [=flow layout=] and abort all these
17771776 steps.
17781777
1779- 4. Let |workletGlobalScope| be a {{LayoutWorkletGlobalScope}} from the list of [=worklet's
1780- WorkletGlobalScopes=] from the layout {{Worklet}} , following the rules defined in
1781- [[#global-scope-selection]] .
1778+ 4. Let |workletGlobalScope| be a {{LayoutWorkletGlobalScope}} from the layout {{Worklet}} 's
1779+ [=Worklet/global scopes=] , following the rules defined in [[#global-scope-selection]] .
17821780
1783- The user agent <em> may</em> also [=create a WorkletGlobalScope =] at this time, given the
1781+ The user agent <em> may</em> also [=create a worklet global scope =] at this time, given the
17841782 layout {{Worklet}} .
17851783
17861784 5. Run [=invoke an intrinsic sizes callback=] given |name|, |box|, |childBoxes|, and
@@ -1889,11 +1887,10 @@ it <em>must</em> run the following steps:
18891887 <code> "invalid"</code> , then let |box| fallback to the [=flow layout=] and abort all these
18901888 steps.
18911889
1892- 4. Let |workletGlobalScope| be a {{LayoutWorkletGlobalScope}} from the list of [=worklet's
1893- WorkletGlobalScopes=] from the layout {{Worklet}} , following the rules defined in
1894- [[#global-scope-selection]] .
1890+ 4. Let |workletGlobalScope| be a {{LayoutWorkletGlobalScope}} from the layout {{Worklet}} 's
1891+ [=Worklet/global scopes=] , following the rules defined in [[#global-scope-selection]] .
18951892
1896- The user agent <em> may</em> also [=create a WorkletGlobalScope =] at this time, given the
1893+ The user agent <em> may</em> also [=create a worklet global scope =] at this time, given the
18971894 layout {{Worklet}} .
18981895
18991896 5. Run [=invoke a layout callback=] given |name|, |box|, |childBoxes|,
@@ -2021,8 +2018,8 @@ following steps:
20212018
20222019### Global Scope Selection ### {#global-scope-selection}
20232020
2024- When the user agent needs to select a {{LayoutWorkletGlobalScope}} from the layout [=worklet 's
2025- WorkletGlobalScopes =] [=list=] it <em> must</em> :
2021+ When the user agent needs to select a {{LayoutWorkletGlobalScope}} from the layout {{Worklet}} 's
2022+ [=Worklet/global scopes =] [=list=] it <em> must</em> :
20262023
20272024 - Select from at <em> least</em> two {{LayoutWorkletGlobalScope}} s, unless the user agent is
20282025 under memory constraints.
@@ -2033,7 +2030,9 @@ WorkletGlobalScopes=] [=list=] it <em>must</em>:
20332030 over time.
20342031
20352032Note: These rules exist to ensure that authors do not rely on being able to store state on the
2036- global object or non-regeneratable state on the class. See [[worklets-1#code-idempotency]] .
2033+ global object or non-regeneratable state on the class. See
2034+ <a href="https://html.spec.whatwg.org/multipage/worklets.html#worklets-idempotent">the
2035+ discussion in the worklets specification about code idempotence</a> .
20372036
20382037### Utility Algorithms ### {#utility-algorithms}
20392038
0 commit comments