[webkit-changes] [WebKit/WebKit] ef0484: Revert [258128 at main] CSSRule.type should not retur...

Karl Rackler noreply at github.com
Tue Dec 20 06:12:30 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ef048420b5998cd5c8ae04e8f42a06fb01d42286
      https://github.com/WebKit/WebKit/commit/ef048420b5998cd5c8ae04e8f42a06fb01d42286
  Author: Karl Rackler <rackler at apple.com>
  Date:   2022-12-20 (Tue, 20 Dec 2022)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/at-property-cssom-expected.txt
    M Source/WebCore/css/CSSRule.cpp
    M Source/WebCore/css/CSSRule.h
    M Source/WebCore/css/CSSRule.idl
    M Source/WebCore/css/PropertySetCSSStyleDeclaration.cpp
    M Source/WebCore/css/StyleRuleType.h
    M Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRule.cpp
    M Source/WebKitLegacy/mac/DOM/DOMCSSRule.mm

  Log Message:
  -----------
  Revert [258128 at main] CSSRule.type should not return values greater than 15
https://bugs.webkit.org/show_bug.cgi?id=249560
rdar://103531316

Unreviewed revert
This reverts because it broke the build on the bots.

* LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/at-property-cssom-expected.txt:
* Source/WebCore/css/CSSRule.cpp:
(WebCore::CSSRule::typeForCSSOM const): Deleted.
* Source/WebCore/css/CSSRule.h:
(WebCore::CSSRule::type const):
* Source/WebCore/css/CSSRule.idl:
* Source/WebCore/css/PropertySetCSSStyleDeclaration.cpp:
(WebCore::StyleRuleCSSStyleDeclaration::StyleRuleCSSStyleDeclaration):
* Source/WebCore/css/StyleRuleType.h:
* Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMCSSRule.cpp:
(webkit_dom_css_rule_get_rule_type):
* Source/WebKitLegacy/mac/DOM/DOMCSSRule.mm:
(-[DOMCSSRule type]):

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




More information about the webkit-changes mailing list