[webkit-changes] [WebKit/WebKit] 31c95f: Only apply certain UA styles to HTML elements

Tim Nguyen noreply at github.com
Thu Mar 23 19:34:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 31c95fe588a14d215f4b395c018a9c2bdd6124c0
      https://github.com/WebKit/WebKit/commit/31c95fe588a14d215f4b395c018a9c2bdd6124c0
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    A LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-and-svg-expected.html
    A LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-and-svg-ref.html
    A LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-and-svg.html
    M Source/WebCore/css/captions.css
    M Source/WebCore/css/dialog.css
    M Source/WebCore/css/mediaControls.css
    M Source/WebCore/css/plugIns.css
    M Source/WebCore/css/popover.css
    M Source/WebCore/css/quirks.css

  Log Message:
  -----------
  Only apply certain UA styles to HTML elements
https://bugs.webkit.org/show_bug.cgi?id=254380
rdar://107162842

Reviewed by Simon Fraser.

Some of these styles should not apply to elements with other namespaces than HTML (e.g. SVG).

* LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-and-svg-expected.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-and-svg-ref.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/html/semantics/popovers/popover-and-svg.html: Added.
* Source/WebCore/css/captions.css:
(@namespace "http://www.w3.org/1999/xhtml";):
* Source/WebCore/css/dialog.css:
(@namespace "http://www.w3.org/1999/xhtml";):
* Source/WebCore/css/mediaControls.css:
(#if defined(ENABLE_VIDEO) && ENABLE_VIDEO && !(defined(ENABLE_MODERN_MEDIA_CONTROLS) && ENABLE_MODERN_MEDIA_CONTROLS)):
* Source/WebCore/css/plugIns.css:
(@namespace "http://www.w3.org/1999/xhtml";):
(embed::-webkit-snapshotted-plugin-content,): Deleted.
* Source/WebCore/css/popover.css:
(@namespace "http://www.w3.org/1999/xhtml";):
([popover]:closed:not(dialog[open])): Deleted.
* Source/WebCore/css/quirks.css:
(@namespace "http://www.w3.org/1999/xhtml";):
(img[align="left"]): Deleted.

Canonical link: https://commits.webkit.org/262053@main




More information about the webkit-changes mailing list