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

LibWeb: Add PopOverInvokerElement and use it in HTMLButtonElement #2542

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

Conversation

nbvdkamp
Copy link
Contributor

The popoverTargetElement seems to be one of the only cases of a reflected Element? attribute in the HTML spec, so I had to implement code generation for that first.

Buttons can't actually toggle popovers yet because showing/hiding popovers is not implemented yet,
but this gets us one step closer.

Copy link
Member

@tcl3 tcl3 left a comment

Choose a reason for hiding this comment

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

I have a couple of suggestions for the codegen. I didn't have time to look at the second commit in detail.

The popoverTargetElement seems to be one of the only cases of a
reflected Element? attribute in the HTML spec, the behaviour of which
is specified in section 2.6.1.

Buttons can't actually toggle popovers yet because showing/hiding
popovers is not implemented yet.
@nbvdkamp
Copy link
Contributor Author

Thanks for the review, I've pushed the changes

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

Successfully merging this pull request may close these issues.

2 participants