[Webkit-unassigned] [Bug 245747] Align "UA" stylesheet for "dialog" with HTML Spec and other browsers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 27 13:12:09 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=245747

--- Comment #1 from Tim Nguyen (:ntim) <ntim at apple.com> ---
> dialog:not([open]) {
>   display: none;
> }

We do it slightly differently, but it's there: 
https://searchfox.org/wubkat/rev/cf0cfbaf1ad7728a145c06e3539170870bbb913f/Source/WebCore/css/dialog.css#12-17

> dialog:modal {
>   user-select: text;
> }

Same here, we implement this through inertness (similar to how Firefox does it): https://searchfox.org/wubkat/rev/cf0cfbaf1ad7728a145c06e3539170870bbb913f/Source/WebCore/rendering/style/RenderStyle.cpp#2934-2944

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220927/862336b3/attachment.htm>


More information about the webkit-unassigned mailing list