Skip to content

Commit fa2bc41

Browse files
committed
Fix typos in "intializ*"
Fixes a bunch of typos in initialize word (incorrectly misspelled as intialize).
1 parent 92c079c commit fa2bc41

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

webxrlayers-1.bs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,9 @@ the user agent MUST run the following steps:
398398

399399
{{destroy()}} will delete the underlying attachments. If there are no attachments, this function does nothing.
400400

401-
<div class="algorithm" data-algorithm="intialization of a composition layer">
401+
<div class="algorithm" data-algorithm="initialization of a composition layer">
402402

403-
To <dfn>intialize a composition layer</dfn> with a {{XRSession}} |session| and an optional instance of a {{WebGLRenderingContext}}
403+
To <dfn>initialize a composition layer</dfn> with a {{XRSession}} |session| and an optional instance of a {{WebGLRenderingContext}}
404404
or a {{WebGL2RenderingContext}} |context|, the user agent MUST run the following steps:
405405
1. Set [=this=] [=XRCompositionLayer/session=] to |session|.
406406
1. If |context| is defined, set [=this=] [=XRCompositionLayer/context=] to |context|.
@@ -1451,7 +1451,7 @@ When this method is invoked, the user agent MUST run the following steps:
14511451
1. Let |layer| be a [=new=] {{XRProjectionLayer}} in the [=relevant realm=] of [=this=].
14521452
1. If |session|'s [=ended=] value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
14531453
1. If |context| is lost, throw {{InvalidStateError}} and abort these steps.
1454-
1. Run [=intialize a composition layer=] on |layer| with |session| and |context|.
1454+
1. Run [=initialize a composition layer=] on |layer| with |session| and |context|.
14551455
1. Initialize |layer|'s [=XRCompositionLayer/isStatic=] to <code>false</code>.
14561456
1. Initialize |layer|'s {{XRProjectionLayer/ignoreDepthValues}} as follows:
14571457
<dl class="switch">
@@ -1500,7 +1500,7 @@ When this method is invoked, the user agent MUST run the following steps:
15001500
1. If |context| is lost, throw {{InvalidStateError}} and abort these steps.
15011501
1. If |layout| is {{XRLayerLayout/"default"}}, throw {{TypeError}} and abort these steps.
15021502
1. Let |layer| be a [=new=] {{XRQuadLayer}} in the [=relevant realm=] of [=this=].
1503-
1. Run [=intialize a composition layer=] on |layer| with |session| and |context|.
1503+
1. Run [=initialize a composition layer=] on |layer| with |session| and |context|.
15041504
1. Run [=initialize a quad layer=] with |layer| and |init|.
15051505
1. let |layout| be the result of [=determine the layout attribute|determining the layout attribute=] with |init|'s {{XRLayerInit/textureType}}, |context| and |init|'s {{XRLayerInit/layout}}.
15061506
1. Initialize |layer|'s {{XRCompositionLayer/layout}} to |layout|.
@@ -1525,7 +1525,7 @@ When this method is invoked, the user agent MUST run the following steps:
15251525
1. If |context| is lost, throw {{InvalidStateError}} and abort these steps.
15261526
1. If |layout| is {{XRLayerLayout/"default"}}, throw {{TypeError}} and abort these steps.
15271527
1. Let |layer| be a [=new=] {{XRCylinderLayer}} in the [=relevant realm=] of [=this=].
1528-
1. Run [=intialize a composition layer=] on |layer| with |session| and |context|.
1528+
1. Run [=initialize a composition layer=] on |layer| with |session| and |context|.
15291529
1. Run [=initialize a cylinder layer=] with |layer| and |init|.
15301530
1. let |layout| be the result of [=determine the layout attribute|determining the layout attribute=] with |init|'s {{XRLayerInit/textureType}}, |context| and |init|'s {{XRLayerInit/layout}}.
15311531
1. Initialize |layer|'s {{XRCompositionLayer/layout}} to |layout|.
@@ -1552,7 +1552,7 @@ When this method is invoked, the user agent MUST run the following steps:
15521552
1. If |init|'s {{XRLayerInit/space}} is not an instance of type {{XRReferenceSpace}}, throw {{TypeError}} and abort these steps.
15531553
1. If |init|'s {{XRLayerInit/space}} has a [=XRReferenceSpace/type=] of {{XRReferenceSpaceType/"viewer"}}, throw {{TypeError}} and abort these steps.
15541554
1. Let |layer| be a [=new=] {{XREquirectLayer}} in the [=relevant realm=] of [=this=].
1555-
1. Run [=intialize a composition layer=] on |layer| with |session| and |context|.
1555+
1. Run [=initialize a composition layer=] on |layer| with |session| and |context|.
15561556
1. Run [=initialize a equirect layer=] with |layer| and |init|.
15571557
1. let |layout| be the result of [=determine the layout attribute|determining the layout attribute=] with |init|'s {{XRLayerInit/textureType}}, |context| and |init|'s {{XRLayerInit/layout}}.
15581558
1. Initialize |layer|'s {{XRCompositionLayer/layout}} to |layout|.
@@ -1579,7 +1579,7 @@ When this method is invoked, the user agent MUST run the following steps:
15791579
1. If |init|'s {{XRLayerInit/space}} is not an instance of type {{XRReferenceSpace}}, throw {{TypeError}} and abort these steps.
15801580
1. If |init|'s {{XRLayerInit/space}} has a [=XRReferenceSpace/type=] of {{XRReferenceSpaceType/"viewer"}}, throw {{TypeError}} and abort these steps.
15811581
1. Let |layer| be a [=new=] {{XRCubeLayer}} in the [=relevant realm=] of [=this=].
1582-
1. Run [=intialize a composition layer=] on |layer| with |session| and |context|.
1582+
1. Run [=initialize a composition layer=] on |layer| with |session| and |context|.
15831583
1. Let |layer|'s {{XRCubeLayer/space}} be the |init|'s {{XRLayerInit/space}}.
15841584
1. Initialize |layer|'s [=XRCompositionLayer/isStatic=] to |init|'s {{XRLayerInit/isStatic}}
15851585
1. Initialize |layer|'s {{XRCubeLayer/orientation}} as follows:
@@ -1991,7 +1991,7 @@ When this method is invoked, the user agent MUST run the following steps:
19911991
1. If |session|'s [=ended=] value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
19921992
1. If |init|'s {{XRMediaLayerInit/layout}} is {{XRLayerLayout/"default"}}, throw a {{TypeError}} and abort these steps.
19931993
1. Let |layer| be a [=new=] {{XRQuadLayer}} in the [=relevant realm=] of [=this=].
1994-
1. Run [=intialize a composition layer=] on |layer| with |session|.
1994+
1. Run [=initialize a composition layer=] on |layer| with |session|.
19951995
1. Initialize |layer|'s [=XRCompositionLayer/media=] to |video|.
19961996
1. Initialize |layer|'s {{XRCompositionLayer/needsRedraw}} to <code>false</code>.
19971997
1. Let |aspectRatio| be the result of [=calculate the aspect ratio=] with |video| and |init|'s {{XRMediaLayerInit/layout}}.
@@ -2014,7 +2014,7 @@ When this method is invoked, the user agent MUST run the following steps:
20142014
1. If |session|'s [=ended=] value is <code>true</code>, throw {{InvalidStateError}} and abort these steps.
20152015
1. If |init|'s {{XRMediaLayerInit/layout}} is {{XRLayerLayout/"default"}}, throw a {{TypeError}} and abort these steps.
20162016
1. Let |layer| be a [=new=] {{XRCylinderLayer}} in the [=relevant realm=] of [=this=].
2017-
1. Run [=intialize a composition layer=] on |layer| with |session|.
2017+
1. Run [=initialize a composition layer=] on |layer| with |session|.
20182018
1. Initialize |layer|'s [=XRCompositionLayer/media=] to |video|.
20192019
1. Initialize |layer|'s {{XRCompositionLayer/needsRedraw}} to <code>false</code>.
20202020
1. Let |aspectRatio| be the result of [=calculate the aspect ratio=] with |video| and |init|'s {{XRMediaLayerInit/layout}}.
@@ -2037,7 +2037,7 @@ When this method is invoked, the user agent MUST run the following steps:
20372037
1. If |init|'s {{XRLayerInit/space}} is not an instance of type {{XRReferenceSpace}}, throw {{InvalidStateError}} and abort these steps.
20382038
1. If |init|'s {{XRLayerInit/space}} has a [=XRReferenceSpace/type=] of {{XRReferenceSpaceType/"viewer"}}, throw {{InvalidStateError}} and abort these steps.
20392039
1. Let |layer| be a [=new=] {{XREquirectLayer}} in the [=relevant realm=] of [=this=].
2040-
1. Run [=intialize a composition layer=] on |layer| with |session|.
2040+
1. Run [=initialize a composition layer=] on |layer| with |session|.
20412041
1. Initialize |layer|'s [=XRCompositionLayer/media=] to |video|.
20422042
1. Initialize |layer|'s {{XRCompositionLayer/needsRedraw}} to <code>false</code>.
20432043
1. Run [=initialize a equirect layer=] with |layer| and |init|.

0 commit comments

Comments
 (0)