Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -3979,6 +3979,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x-href="https://drafts.csswg.org/css-sizing/#fit-content-inline-size">fit-content inline size</dfn></li>
<li><dfn data-x-href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio">'aspect-ratio'</dfn> property</li>
<li><dfn data-x-href="https://drafts.csswg.org/css-sizing/#intrinsic-size">intrinsic size</dfn></li>
<li><dfn data-x-href="https://drafts.csswg.org/css-sizing/#document-responsive-embedded-sizing-flag">responsive embedded sizing flag</dfn></li>
</ul>

<p>The following features are defined in <cite>CSS Lists and Counters</cite>.
Expand Down Expand Up @@ -11497,6 +11498,10 @@ partial interface <dfn id="document" data-lt="">Document</dfn> {
navigation ID for WebDriver BiDi</dfn>, which is a <span>navigation ID</span> or null, initially
null.</p>

<p>Each <code>Document</code> has a
<dfn data-x="concept-document-responsive-embedded-sizing-flag">responsive embedded sizing flag</dfn>,
which is a boolean, initially false.</p>

<p class="note">As the name indicates, this is used for interfacing with the <cite>WebDriver
BiDi</cite> specification, which needs to be informed about certain occurrences during the early
parts of the <code>Document</code>'s lifecycle, in a way that ties them to the original
Expand Down Expand Up @@ -17901,6 +17906,23 @@ interface <dfn interface>HTMLMetaElement</dfn> : <span>HTMLElement</span> {
</div>
</dd>

<dt><dfn attr-value for="meta/name"><code data-x="meta-responsive-embedded-sizing">responsive-embedded-sizing</code></dfn></dt>

<dd>
<div algorithm>
<p>If a <code>meta</code> element <var>element</var> is
<span data-x="node is inserted into a document">inserted into the document</span>,
the user agent must run the following algorithm:</p>

<ol>
<li><p>If <var>element</var> is not inserted by the parser, then return.</p></li>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem like a good idea. This will just encourage people to use document.write() instead of tree manipulation.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggesting an alternative where once the body element is seen this cannot be modified.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's also not a primitive that exists?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, eg for render blocking.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A similar approach is to cement it at the beginning of the first render


<li><p>Set the <span>responsive embedded sizing flag</span>
of the <code>Document</code>.<p></li>
</ol>
</div>
</dd>

<dt><dfn attr-value for="meta/name"><code data-x="meta-theme-color">theme-color</code></dfn></dt>

<dd>
Expand Down
Loading