-
Notifications
You must be signed in to change notification settings - Fork 14
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
Should we push for equivalent/interoperable support for popover in MathML and SVG? #194
Comments
Thanks for raising the issue. I am (and was) supportive of supporting |
I think we discussed this in whatwg/html#8221 (comment) a bit. The precedent of Some thoughts:
|
Yep, those are indeed some good reasons. It sounds like nothing is really "fundamental" but more that there is a lot of clarification and cleanup needed before we could do this. Sounds reasonable to me.
This is a great question. My gut reaction is that we want the former (works with other namespace elements) and not the latter. It seems weird to have part of an SVG be a popover. Same for mathml. Though I suppose I could imagine some cool effects where part of an image/equation animates up and over to emphasize it?
Since AFAIK there aren't button-like things in SVG or math-ml, I think I'd say no? |
since it was pointed out that we could use examples/info about the API https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/popover |
Recently, HTML has added 'popovers' - which allow some of the machinery related to various kinds of popup ui to be natively supported. It is getting widely implemented now, but is still of a bit limited use without its corresponding partner CSS Anchor Positioning. Once we have that too, I expect use to really take off as it makes it easy to do lots of useful popover/popup stuff.
However, while he originally had intended it for everywhere, @mfreed7 was encouraged to focus on HTML first at least. The result is that that stuff is landed without similar support in MathML or SVG. At least for MathML-Core this seems like it would be very useful and worth moving up to
HTMLOrForeignElement
or something?@AmeliaBR @nikolaszimmermann
The text was updated successfully, but these errors were encountered: