Skip to content

Commit d0924df

Browse files
jimevanssfdcAutomatedTester
authored andcommitted
Responding to first round of review comments
1 parent acf7984 commit d0924df

File tree

1 file changed

+10
-19
lines changed

1 file changed

+10
-19
lines changed

index.html

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -850,13 +850,13 @@ <h3>Endpoints</h3>
850850

851851
<tr>
852852
<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>
854854
<td><a>Find Element From Shadow Root</a></td>
855855
</tr>
856856

857857
<tr>
858858
<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>
860860
<td><a>Find Elements From Shadow Root</a></td>
861861
</tr>
862862

@@ -4352,13 +4352,13 @@ <h3 id=shadow-root>Shadow Roots</h3>
43524352
<p>A <dfn data-lt="shadow roots">shadow root</dfn>
43534353
is an abstraction used to identify a <a>shadow root</a>
43544354
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.
43564356

43574357
<p>The <dfn>shadow root identifier</dfn> is the string constant
43584358
"<code>shadow-6066-11e4-a52e-4f735466cecf</code>".
43594359

43604360
<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
43624362
all <a>browsing contexts</a>. The <a>shadow root reference</a> for
43634363
every <a>shadow root</a> representing the same <a>shadow root</a> must be the
43644364
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>
43874387
<li>Return <a>success</a> with <var>shadow</var>.
43884388
</ol>
43894389

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-
44004390
<p>To <dfn data-lt="create a shadow root">create a shadow root reference</dfn>
44014391
for a <a><var>shadow root</var></a>:
44024392

@@ -4439,7 +4429,7 @@ <h3 id=shadow-root>Shadow Roots</h3>
44394429
<li><p>Return <a>success</a> with data <var>shadow</var>.
44404430
</ol>
44414431

4442-
<p>An <a>shadow root</a> <dfn>is detached</dfn>
4432+
<p>A <a>shadow root</a> <dfn>is detached</dfn>
44434433
if its <a>node document</a> is not the <a>active document</a>
44444434
or if the element node referred to as its <a>document fragment host</a>
44454435
<a>is stale</a>.
@@ -4941,7 +4931,7 @@ <h4><dfn>Find Element From Shadow Root</dfn></h4>
49414931
<li><p><a>Handle any user prompts</a> and return its value if it is an <a>error</a>.
49424932

49434933
<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>
49454935
with <a>url variable</a> <var>shadow id</var>.
49464936

49474937
<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>
49914981
<li><p><a>Handle any user prompts</a> and return its value if it is an <a>error</a>.
49924982

49934983
<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>
49954985
with <a>url variable</a> <var>shadow id</var>.
49964986

49974987
<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>
50705060
<var>shadow root</var>.
50715061

50725062
<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>.
50755065

50765066
<li><p>Let <var>shadow host</var> be the result of getting an
50775067
<a>own property</a> named "host" of <var>shadow root</var>.
@@ -10625,6 +10615,7 @@ <h2>Index</h2>
1062510615
<!-- Document --> <li><dfn><a href=https://dom.spec.whatwg.org/#concept-document>Document</a></dfn>
1062610616
<!-- DOCUMENT_POSITION_DISCONNECTED --> <li><dfn><a href=https://dom.spec.whatwg.org/#dom-node-document_position_disconnected>DOCUMENT_POSITION_DISCONNECTED</a></dfn> (1)
1062710617
<!-- 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>
1062810619
<!-- Document type --> <li><dfn><a href=https://dom.spec.whatwg.org/#concept-document-type>Document type</a></dfn>
1062910620
<!-- Document URL --> <li><dfn><a href=https://dom.spec.whatwg.org/#concept-document-url>Document URL</a></dfn>
1063010621
<!-- Element --> <li><dfn data-lt=elements><a href=https://dom.spec.whatwg.org/#concept-element>Element</a></dfn>

0 commit comments

Comments
 (0)