[webkit-changes] [WebKit/WebKit] 297c8c: Remove separate ruby user-agent stylesheet and set...

Antti Koivisto noreply at github.com
Tue Mar 12 03:52:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 297c8c16edae5c04e1392bd04d53fa0a4571de45
      https://github.com/WebKit/WebKit/commit/297c8c16edae5c04e1392bd04d53fa0a4571de45
  Author: Antti Koivisto <antti at apple.com>
  Date:   2024-03-12 (Tue, 12 Mar 2024)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/CMakeLists.txt
    M Source/WebCore/DerivedSources-input.xcfilelist
    M Source/WebCore/DerivedSources.make
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/css/html.css
    R Source/WebCore/css/ruby.css
    M Source/WebCore/style/UserAgentStyle.cpp
    M Source/WebCore/style/UserAgentStyle.h

  Log Message:
  -----------
  Remove separate ruby user-agent stylesheet and setting
https://bugs.webkit.org/show_bug.cgi?id=270843
rdar://problem/124438539

Reviewed by Anne van Kesteren.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:

The setting would just disable ruby stylesheet parsing.

=* Source/WebCore/CMakeLists.txt:
=* Source/WebCore/DerivedSources-input.xcfilelist:
=* Source/WebCore/DerivedSources.make:
=* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/html.css:
(ruby):
(ruby, rt):
(ruby > rt):
(ruby > :not(rb, rbc, ruby)):
(rt): Deleted.

Move the ruby style rules to the main UA sheet.

* Source/WebCore/css/ruby.css: Removed.
* Source/WebCore/style/UserAgentStyle.cpp:
(WebCore::Style::UserAgentStyle::ensureDefaultStyleSheetsForElement):
* Source/WebCore/style/UserAgentStyle.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list