Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove retargeting from :fullscreen pseudo-class #212

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
10 changes: 2 additions & 8 deletions fullscreen.bs
Original file line number Diff line number Diff line change
Expand Up @@ -656,17 +656,11 @@ properties apply to this pseudo-element either.
<h3 id=:fullscreen-pseudo-class><code>:fullscreen</code> pseudo-class</h3>

<p>The <dfn id=css-pc-fullscreen selector><code>:fullscreen</code></dfn> pseudo-class must match any
<a>element</a> <var>element</var> for which one of the following conditions is true:

<ul>
<li><p><var>element</var>'s <a>fullscreen flag</a> is set.

<li><p><var>element</var> is a <a>shadow host</a> and the result of <a>retargeting</a> its
<a>node document</a>'s <a>fullscreen element</a> against <var>element</var> is <var>element</var>.
</ul>
<a>element</a> <var>element</var> for which <p><var>element</var>'s <a>fullscreen flag</a> is set.
nt1m marked this conversation as resolved.
Show resolved Hide resolved

<p class="note no-backref">This makes it different from the
{{DocumentOrShadowRoot/fullscreenElement}} API, which returns the topmost <a>fullscreen element</a>.
It also does not perform <a>retargeting</a>.
nt1m marked this conversation as resolved.
Show resolved Hide resolved

<h3 id=user-agent-level-style-sheet-defaults>User-agent level style sheet defaults</h3>
<!-- HTML's "The CSS user agent style sheet and presentational hints" section uses this term -->
Expand Down