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

Fix #245 - Addressing new popover values #247

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

theIDinside
Copy link

@theIDinside theIDinside commented Mar 17, 2025

Since the popover attribute got a new value, it's
"find topmost popover ancestor" algorithm changed, and this PR attempts to address this in the Fullscreen API specification.

After discussing with @lukewarlow we came to the conclusion that this is probably the intended change for the Fullscreen API spec.

This addresses #245

  • At least two implementers are interested (and none opposed):
  • Tests are written and can be reviewed and commented upon at:
  • Implementation bugs are filed:
    • Chromium: …
    • Gecko: …
    • WebKit: …
  • MDN issue is filed: …
  • The top of this comment includes a clear commit message to use.

(See WHATWG Working Mode: Changes for more details.)


Preview | Diff

Since the popover attribute got a new value, it's
"find topmost popover ancestor" algorithm changed, and this PR
attempts to address this in the Fullscreen API specification.

After discussing with Luke Warlow we came to the conclusion
that this is probably the intended change for the Fullscreen API spec.
@@ -11,6 +11,11 @@ Markup Shorthands: css no
</pre>

<pre class=link-defaults>
spec:html
type:dfn; text:allowed to use
Copy link
Member

Choose a reason for hiding this comment

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

FYI Reviewers: This is to fix the build as it's currently broken (see #246 for a standalone PR to fix that if that's preferable)

spec:html
type:dfn; text:allowed to use
type:dfn; text:showing hint popover list
type:dfn; text:showing auto popover list
Copy link
Member

@lukewarlow lukewarlow Mar 17, 2025

Choose a reason for hiding this comment

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

These aren't currently exported so are manually added here. PR to export them: whatwg/html#11140

Copy link
Author

@theIDinside theIDinside Mar 17, 2025

Choose a reason for hiding this comment

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

Probably just remove these from this PR then, right?

Nvm :P

Copy link
Member

Choose a reason for hiding this comment

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

Once that gets merged yeah you should be able to remove these, useful to keep them for now so the preview works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants