[webkit-changes] [WebKit/WebKit] 1e70a1: Remove UseLegacyBackgroundSizeShorthandBehavior pr...

Anne van Kesteren noreply at github.com
Mon Mar 18 14:27:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1e70a1ee916d54723a0c777b044195eaa5e8fe24
      https://github.com/WebKit/WebKit/commit/1e70a1ee916d54723a0c777b044195eaa5e8fe24
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-03-18 (Mon, 18 Mar 2024)

  Changed paths:
    R LayoutTests/fast/backgrounds/background-shorthand-after-set-backgroundSize-expected.txt
    R LayoutTests/fast/backgrounds/background-shorthand-after-set-backgroundSize.html
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/css/parser/CSSParserContext.cpp
    M Source/WebCore/css/parser/CSSParserContext.h
    M Source/WebCore/css/parser/CSSPropertyParser.cpp
    M Source/WebKitLegacy/mac/Misc/WebKitVersionChecks.h
    M Source/WebKitLegacy/mac/WebView/WebPreferencesDefaultValues.h
    M Source/WebKitLegacy/mac/WebView/WebPreferencesDefaultValues.mm

  Log Message:
  -----------
  Remove UseLegacyBackgroundSizeShorthandBehavior preference
https://bugs.webkit.org/show_bug.cgi?id=271156

Reviewed by Tim Nguyen.

The behavior has been consistent for a little over a decade. Time to
remove the old code paths.

* LayoutTests/fast/backgrounds/background-shorthand-after-set-backgroundSize-expected.txt: Removed.
* LayoutTests/fast/backgrounds/background-shorthand-after-set-backgroundSize.html: Removed.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/css/parser/CSSParserContext.cpp:
(WebCore::add):
* Source/WebCore/css/parser/CSSParserContext.h:
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::consumeBackgroundShorthand):
* Source/WebKitLegacy/mac/Misc/WebKitVersionChecks.h:
* Source/WebKitLegacy/mac/WebView/WebPreferencesDefaultValues.h:
* Source/WebKitLegacy/mac/WebView/WebPreferencesDefaultValues.mm:
(WebKit::defaultUseLegacyBackgroundSizeShorthandBehavior): Deleted.

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