@@ -2742,6 +2742,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
2742
2742
<li><dfn data-x="concept-request-traversable-for-user-prompts" data-x-href="https://fetch.spec.whatwg.org/#concept-request-window">traversable for user prompts</dfn></li>
2743
2743
<li><dfn data-x-href="https://fetch.spec.whatwg.org/#request-top-level-navigation-initiator-origin">top-level navigation initiator origin</dfn></li>
2744
2744
<li><dfn data-x-href="https://fetch.spec.whatwg.org/#concept-request-add-range-header">add a range header</dfn></li>
2745
+ <li><dfn data-x-href="https://fetch.spec.whatwg.org/#destination-type">destination type</dfn></li>
2745
2746
</ul>
2746
2747
</li>
2747
2748
<li>
@@ -16767,7 +16768,6 @@ interface <dfn interface>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
16767
16768
16768
16769
<dl>
16769
16770
<dt><dfn data-x="link options href">href</dfn> (default the empty string)</dt>
16770
- <dt><dfn data-x="link options destination">destination</dfn> (default the empty string)</dt>
16771
16771
<dt><dfn data-x="link options initiator">initiator</dfn> (default "<code
16772
16772
data-x="">link</code>")</dt>
16773
16773
<dt><dfn data-x="link options integrity">integrity</dfn> (default the empty string)</dt>
@@ -16776,6 +16776,9 @@ interface <dfn interface>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
16776
16776
string)</dt>
16777
16777
<dd>A string</dd>
16778
16778
16779
+ <dt><dfn data-x="link options destination">destination</dfn> (default the empty string)</dt>
16780
+ <dd>A <span>destination type</span>.</dd>
16781
+
16779
16782
<dt><dfn data-x="link options crossorigin">crossorigin</dfn> (default <span
16780
16783
data-x="attr-crossorigin-none">No CORS</span>)</dt>
16781
16784
<dd>A <span>CORS settings attribute</span> state</dd>
@@ -16826,11 +16829,6 @@ interface <dfn interface>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
16826
16829
<p>Let <var>options</var> be a new <span>link processing options</span> with</p>
16827
16830
16828
16831
<dl class="props">
16829
- <dt><span data-x="link options destination">destination</span></dt>
16830
- <dd>the result of <span
16831
- data-x="translate a preload destination">translating</span> the state of <var>el</var>'s <code
16832
- data-x="attr-link-as">as</code> attribute</dd>
16833
-
16834
16832
<dt><span data-x="link options crossorigin">crossorigin</span></dt>
16835
16833
<dd>the state of <var>el</var>'s <code data-x="attr-link-crossorigin">crossorigin</code>
16836
16834
content attribute</dd>
@@ -16983,7 +16981,7 @@ interface <dfn interface>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
16983
16981
</li>
16984
16982
16985
16983
<li><p><span>Apply link options from parsed header attributes</span> to <var>options</var>
16986
- given <var>attribs</var>.</p></li>
16984
+ given <var>attribs</var> and <var>rel</var>. If that returned false, then return .</p></li>
16987
16985
16988
16986
<li><p>If <var>attribs</var>["<code data-x="attr-link-imagesrcset">imagesrcset</code>"] <span
16989
16987
data-x="map exists">exists</span> and <var>attribs</var>["<code
@@ -17003,14 +17001,26 @@ interface <dfn interface>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
17003
17001
17004
17002
<div algorithm>
17005
17003
<p>To <dfn>apply link options from parsed header attributes</dfn> to a <span>link processing
17006
- options</span> <var>options</var> given <var>attribs</var>:</p>
17004
+ options</span> <var>options</var> given <var>attribs</var> and a string <var>rel</var> :</p>
17007
17005
17008
17006
<ol>
17009
- <li><p>If <var>attribs</var>["<code data-x="attr-link-as">as</code>"] <span data-x="map
17010
- exists">exists</span>, then set <var>options</var>'s <span data-x="link options
17011
- destination">destination</span> to the result of <span
17012
- data-x="translate a preload destination">translating</span> <var>attribs</var>["<code
17013
- data-x="attr-link-as">as</code>"].</p></li>
17007
+ <li>
17008
+ <p>If <var>rel</var> is "<code data-x="rel-preload">preload</code>":</p>
17009
+
17010
+ <ol>
17011
+ <li><p>If <var>attribs</var>["<code data-x="attr-link-as">as</code>"] does not <span
17012
+ data-x="map exists">exist</span>, then return false.</p></li>
17013
+
17014
+ <li><p>Let <var>destination</var> be the result of <span data-x="translate a preload
17015
+ destination">translating</span> <var>attribs</var>["<code
17016
+ data-x="attr-link-as">as</code>"].</p></li>
17017
+
17018
+ <li><p>If <var>destination</var> is null, then return false.</p></li>
17019
+
17020
+ <li><p>Set <var>options</var>'s <span data-x="link options destination">destination</span> to
17021
+ <var>destination</var>.</p></li>
17022
+ </ol>
17023
+ </li>
17014
17024
17015
17025
<li><p>If <var>attribs</var>["<code data-x="attr-link-crossorigin">crossorigin</code>"] <span
17016
17026
data-x="map exists">exists</span> and is an <span>ASCII case-insensitive</span> match for one of
@@ -17042,6 +17052,8 @@ interface <dfn interface>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
17042
17052
a <span>fetch priority attribute</span> keyword, then set <var>options</var>'s <span
17043
17053
data-x="link options fetch priority">fetch priority</span> to that <span>fetch priority
17044
17054
attribute</span> keyword.</p></li>
17055
+
17056
+ <li><p>Return true.</p></li>
17045
17057
</ol>
17046
17058
</div>
17047
17059
@@ -17193,7 +17205,7 @@ data-x="rel-preload">preload</span>; <span data-x="attr-link-as">as</span>=font<
17193
17205
</li>
17194
17206
17195
17207
<li><p><span>Apply link options from parsed header attributes</span> to <var>options</var>
17196
- given <var>attribs</var>.</p></li>
17208
+ given <var>attribs</var> and <var>rel</var>. If that returned false, then return .</p></li>
17197
17209
17198
17210
<li><p>Run the <span>process a link header</span> steps for <var>rel</var> given
17199
17211
<var>options</var>.</p></li>
@@ -28992,7 +29004,7 @@ document.body.appendChild(wbr);</code></pre>
28992
29004
<ol>
28993
29005
<li><p>If <var>destination</var> is not "<code data-x="">fetch</code>", "<code data-x="">font</code>",
28994
29006
"<code data-x="">image</code>", "<code data-x="">script</code>", "<code data-x="">style</code>",
28995
- or "<code data-x="">track</code>", then return null .</p></li>
29007
+ or "<code data-x="">track</code>", then return nulll .</p></li>
28996
29008
28997
29009
<li><p>Return the result of <span
28998
29010
data-x="concept-potential-destination-translate">translating</span>
@@ -29115,6 +29127,15 @@ document.body.appendChild(wbr);</code></pre>
29115
29127
data-x="create link options from element">creating link options</span> from
29116
29128
<var>el</var>.</p></li>
29117
29129
29130
+ <li><p>Let <var>destination</var> be the result of <span data-x="translate a preload
29131
+ destination">translating</span> the keyword representing the state of <var>el</var>'s <code
29132
+ data-x="attr-link-as">as</code> attribute.</p></li>
29133
+
29134
+ <li><p>If <var>destination</var> is null, then return.</p></li>
29135
+
29136
+ <li><p>Set <var>options</var>'s <span data-x="link options destination">destination</span> to
29137
+ <var>destination</var>.</p></li>
29138
+
29118
29139
<li>
29119
29140
<p><span>Preload</span> <var>options</var>, with the following steps given a <span
29120
29141
data-x="concept-response">response</span> <var>response</var>:
@@ -65245,12 +65266,12 @@ interface <dfn interface>HTMLDialogElement</dfn> : <span>HTMLElement</span> {
65245
65266
<li><p>If <var>localName</var> is not <code data-x="attr-dialog-open">open</code>, then
65246
65267
return.</p></li>
65247
65268
65248
- <li><p>If <var>element</var>'s <span>node document</span> is not <span>fully active</span>, then
65249
- return.</p></li>
65250
-
65251
65269
<li><p>If <var>value</var> is null and <var>oldValue</var> is not null, then run the
65252
65270
<span>dialog cleanup steps</span> given <var>element</var>.</p></li>
65253
65271
65272
+ <li><p>If <var>element</var>'s <span>node document</span> is not <span>fully active</span>, then
65273
+ return.</p></li>
65274
+
65254
65275
<li>
65255
65276
<p>If <var>element</var> is not <span>connected</span>, then return.</p>
65256
65277
@@ -84039,6 +84060,7 @@ interface <dfn interface>ToggleEvent</dfn> : <span>Event</span> {
84039
84060
dictionary <dfn dictionary>ToggleEventInit</dfn> : <span>EventInit</span> {
84040
84061
DOMString oldState = "";
84041
84062
DOMString newState = "";
84063
+ Element? source = null;
84042
84064
};</code></pre>
84043
84065
84044
84066
<dl class="domintro">
@@ -145513,19 +145535,16 @@ listing, plaintext, pre, xmp {
145513
145535
dialog:not([open]) { display: none; }
145514
145536
dialog {
145515
145537
position: absolute;
145516
- inset-inline-start: 0; inset-inline-end: 0;
145517
- width: fit-content;
145518
- height: fit-content;
145519
- margin: auto;
145538
+ justify-self: dialog;
145520
145539
border: solid;
145521
145540
padding: 1em;
145522
145541
background-color: Canvas;
145523
145542
color: CanvasText;
145524
145543
}
145525
145544
dialog:modal {
145526
145545
position: fixed;
145546
+ place-self: dialog;
145527
145547
overflow: auto;
145528
- inset-block: 0;
145529
145548
max-width: calc(100% - 6px - 2em);
145530
145549
max-height: calc(100% - 6px - 2em);
145531
145550
}
@@ -145543,10 +145562,7 @@ dialog:popover-open {
145543
145562
145544
145563
[popover] {
145545
145564
position: fixed;
145546
- inset: 0;
145547
- width: fit-content;
145548
- height: fit-content;
145549
- margin: auto;
145565
+ place-self: dialog;
145550
145566
border: solid;
145551
145567
padding: 0.25em;
145552
145568
overflow: auto;
0 commit comments