Very basic <dialog> show/close support
Created attachment 386301 [details] Patch
Created attachment 386302 [details] Patch
Comment on attachment 386302 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=386302&action=review > Source/WebCore/style/UserAgentStyle.cpp:237 > + else if (is<HTMLDialogElement>(element) && RuntimeEnabledFeatures::sharedFeatures().dialogElementEnabled()) { > + if (!dialogStyleSheet) { > + dialogStyleSheet = parseUASheet(dialogUserAgentStyleSheet, sizeof(dialogUserAgentStyleSheet)); > + addToDefaultStyle(*dialogStyleSheet); > + } > + } We should remember to merge this to the main stylesheet when this ships. > Source/WebKit/Shared/WebPreferences.yaml:1889 > + category: internal Don't web facing things usually go to experimental?
Created attachment 386320 [details] Patch
https://trac.webkit.org/changeset/253880/webkit
<rdar://problem/58151097>