oddbird / popover-polyfill

Polyfills the HTML popover attribute and showPopover/hidePopover/togglePopover methods onto HTMLElement, as well as the popovertarget and popovertargetaction attributes on <button> elements.
https://popover.oddbird.net
BSD 3-Clause "New" or "Revised" License
269 stars 14 forks source link

position: fixed in popover.css #123

Closed wmertens closed 1 year ago

wmertens commented 1 year ago

the default CSS puts position: fixed in the popover, but that only makes sense for a dialog box, not a dropdown box, right?

I can't find anything in the HTML spec saying what the position should be, so I'm thinking that it should not be in the polyfill CSS?

wmertens commented 1 year ago

actually, now I see that Chrome has this same thing in the default user agent stylesheet :-)