@@ -850,13 +850,13 @@ <h3>Endpoints</h3>
850
850
851
851
< tr >
852
852
< td > POST</ td >
853
- < td > /session/{< var > session id</ var > }/shadow/{shadow id}/element</ td >
853
+ < td > /session/{< var > session id</ var > }/shadow/< var > {shadow id}</ var > /element</ td >
854
854
< td > < a > Find Element From Shadow Root</ a > </ td >
855
855
</ tr >
856
856
857
857
< tr >
858
858
< td > POST</ td >
859
- < td > /session/{< var > session id</ var > }/shadow/{shadow id}/elements</ td >
859
+ < td > /session/{< var > session id</ var > }/shadow/< var > {shadow id}</ var > /elements</ td >
860
860
< td > < a > Find Elements From Shadow Root</ a > </ td >
861
861
</ tr >
862
862
@@ -4352,13 +4352,13 @@ <h3 id=shadow-root>Shadow Roots</h3>
4352
4352
< p > A < dfn data-lt ="shadow roots "> shadow root</ dfn >
4353
4353
is an abstraction used to identify a < a > shadow root</ a >
4354
4354
when it is transported via the < a href ="#protocol "> protocol</ a > ,
4355
- between < a > remote</ a > - and < a > local</ a > ends.
4355
+ between < a > remote</ a > and < a > local</ a > ends.
4356
4356
4357
4357
< p > The < dfn > shadow root identifier</ dfn > is the string constant
4358
4358
"< code > shadow-6066-11e4-a52e-4f735466cecf</ code > ".
4359
4359
4360
4360
< p > Each < a > shadow root</ a > has an associated < dfn > shadow root
4361
- reference</ dfn > that uniquely identifies the < a > element </ a > across
4361
+ reference</ dfn > that uniquely identifies the < a > shadow root </ a > across
4362
4362
all < a > browsing contexts</ a > . The < a > shadow root reference</ a > for
4363
4363
every < a > shadow root</ a > representing the same < a > shadow root</ a > must be the
4364
4364
same. It must be a string, and should be the result of < a > generating
@@ -4387,16 +4387,6 @@ <h3 id=shadow-root>Shadow Roots</h3>
4387
4387
< li > Return < a > success</ a > with < var > shadow</ var > .
4388
4388
</ ol >
4389
4389
4390
- < p > To < dfn > get a known connected shadow root</ dfn > with
4391
- argument < var > reference</ var > , run the following steps:
4392
- < ol >
4393
- < li > Let < var > shadow</ var > be the result of < a > trying</ a > to < a > get
4394
- a known shadow root</ a > with argument < var > reference</ var > .
4395
- < li > If < var > shadow</ var > < a > is detached</ a >
4396
- return < a > error</ a > with error code < a > detached shadow root</ a > .
4397
- < li > Return < a > success</ a > with < var > shadow</ var > .
4398
- </ ol >
4399
-
4400
4390
< p > To < dfn data-lt ="create a shadow root "> create a shadow root reference</ dfn >
4401
4391
for a < a > < var > shadow root</ var > </ a > :
4402
4392
@@ -4439,7 +4429,7 @@ <h3 id=shadow-root>Shadow Roots</h3>
4439
4429
< li > < p > Return < a > success</ a > with data < var > shadow</ var > .
4440
4430
</ ol >
4441
4431
4442
- < p > An < a > shadow root</ a > < dfn > is detached</ dfn >
4432
+ < p > A < a > shadow root</ a > < dfn > is detached</ dfn >
4443
4433
if its < a > node document</ a > is not the < a > active document</ a >
4444
4434
or if the element node referred to as its < a > document fragment host</ a >
4445
4435
< a > is stale</ a > .
@@ -4941,7 +4931,7 @@ <h4><dfn>Find Element From Shadow Root</dfn></h4>
4941
4931
< li > < p > < a > Handle any user prompts</ a > and return its value if it is an < a > error</ a > .
4942
4932
4943
4933
< li > < p > Let < var > start node</ var > be the result
4944
- of < a > trying</ a > to < a > get a known connected shadow root</ a >
4934
+ of < a > trying</ a > to < a > get a known shadow root</ a >
4945
4935
with < a > url variable</ a > < var > shadow id</ var > .
4946
4936
4947
4937
< li > Let < var > result</ var > be the value of < a > trying</ a > to < a > Find</ a > with
@@ -4991,7 +4981,7 @@ <h4><dfn>Find Elements From Shadow Root</dfn></h4>
4991
4981
< li > < p > < a > Handle any user prompts</ a > and return its value if it is an < a > error</ a > .
4992
4982
4993
4983
< li > < p > Let < var > start node</ var > be the result
4994
- of < a > trying</ a > to < a > get a known connected shadow root</ a >
4984
+ of < a > trying</ a > to < a > get a known shadow root</ a >
4995
4985
with < a > url variable</ a > < var > shadow id</ var > .
4996
4986
4997
4987
< li > Return the result of < a > trying</ a > to < a > Find</ a > with
@@ -5070,8 +5060,8 @@ <h4><dfn>Get Element Shadow Root</dfn></h4>
5070
5060
< var > shadow root</ var > .
5071
5061
5072
5062
< li > < p > If < var > shadow root node type</ var > is undefined, or has
5073
- a value other than 11, return < a > error </ a > with < a > error code </ a >
5074
- < a > no such shadow root</ a > .
5063
+ a value other than < a > DOCUMENT_FRAGMENT_NODE </ a > , return < a > error</ a >
5064
+ with < a > error code </ a > < a > no such shadow root</ a > .
5075
5065
5076
5066
< li > < p > Let < var > shadow host</ var > be the result of getting an
5077
5067
< a > own property</ a > named "host" of < var > shadow root</ var > .
@@ -10625,6 +10615,7 @@ <h2>Index</h2>
10625
10615
<!-- Document --> < li > < dfn > < a href =https://dom.spec.whatwg.org/#concept-document > Document</ a > </ dfn >
10626
10616
<!-- DOCUMENT_POSITION_DISCONNECTED --> < li > < dfn > < a href =https://dom.spec.whatwg.org/#dom-node-document_position_disconnected > DOCUMENT_POSITION_DISCONNECTED</ a > </ dfn > (1)
10627
10617
<!-- document fragment host --> < li > < dfn data-lt ="document fragment host "> < a href =https://dom.spec.whatwg.org/#concept-documentfragment-host > < code > document fragment host</ code > </ a > </ dfn >
10618
+ <!-- DOCUMENT_FRAGMENT_NODE --> < li > < dfn data-lt ="DOCUMENT_FRAGMENT_NODE "> < a href ="https://dom.spec.whatwg.org/#dom-node-document_fragment_node "> DOCUMENT_FRAGMENT_NODE</ a > </ dfn > </ li >
10628
10619
<!-- Document type --> < li > < dfn > < a href =https://dom.spec.whatwg.org/#concept-document-type > Document type</ a > </ dfn >
10629
10620
<!-- Document URL --> < li > < dfn > < a href =https://dom.spec.whatwg.org/#concept-document-url > Document URL</ a > </ dfn >
10630
10621
<!-- Element --> < li > < dfn data-lt =elements > < a href =https://dom.spec.whatwg.org/#concept-element > Element</ a > </ dfn >
0 commit comments