[webkit-changes] [WebKit/WebKit] ab0a71: Remove extraQuirksStyleSheet and handle counterSty...

Anne van Kesteren noreply at github.com
Mon Jan 20 23:43:38 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ab0a71b0e6cc27950227b901be25eff115717041
      https://github.com/WebKit/WebKit/commit/ab0a71b0e6cc27950227b901be25eff115717041
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2025-01-20 (Mon, 20 Jan 2025)

  Changed paths:
    M Source/WebCore/rendering/RenderTheme.h
    M Source/WebCore/style/UserAgentStyle.cpp

  Log Message:
  -----------
  Remove extraQuirksStyleSheet and handle counterStylesStyleSheet as part of initDefaultStyleSheet
https://bugs.webkit.org/show_bug.cgi?id=286255

Reviewed by Tim Nguyen.

extraQuirksStyleSheet should not be needed now that quirks mode is part
of the standard.

And initializing counterStylesStyleSheet does not depend on an element
existing.

* Source/WebCore/rendering/RenderTheme.h:
(WebCore::RenderTheme::extraDefaultStyleSheet):
(WebCore::RenderTheme::extraQuirksStyleSheet): Deleted.
* Source/WebCore/style/UserAgentStyle.cpp:
(WebCore::Style::UserAgentStyle::initDefaultStyleSheet):
(WebCore::Style::UserAgentStyle::ensureDefaultStyleSheetsForElement):

Canonical link: https://commits.webkit.org/289173@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