[webkit-changes] [WebKit/WebKit] a8eba4: Partial Sync 'CSSRule.idl' and 'CSSStyleRule.idl' ...

Ahmad Saleem noreply at github.com
Tue Oct 3 09:14:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a8eba40b3bd441ff8c612d86ab28ce90857f9baa
      https://github.com/WebKit/WebKit/commit/a8eba40b3bd441ff8c612d86ab28ce90857f9baa
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    M LayoutTests/fast/dom/css-element-attribute-js-null-expected.txt
    M LayoutTests/fast/dom/css-element-attribute-js-null.html
    M Source/WebCore/css/CSSRule.idl
    M Source/WebCore/css/CSSStyleRule.idl

  Log Message:
  -----------
  Partial Sync 'CSSRule.idl' and 'CSSStyleRule.idl' to Web Specification

https://bugs.webkit.org/show_bug.cgi?id=262033
rdar://problem/116340666

Reviewed by Chris Dumez.

This patch is to align WebKit with Gecko/Firefox, Blink/Chromium and Web Specification [1] and [2].

[1] https://drafts.csswg.org/cssom/#the-cssrule-interface
[2] https://drafts.csswg.org/cssom/#the-cssstylerule-interface

In following PR, 'cssText' and 'selectorText' are changed to be 'DOMString' rather than 'DOMString?'
aligning with web-specification.

* Source/WebCore/css/CSSRule.idl:
* Source/WebCore/css/CSSStyleRule.idl:
* LayoutTests/fast/dom/css-element-attribute-js-null.html: Rebaselined
* LayoutTests/fast/dom/css-element-attribute-js-null-expected.txt: Rebaselined

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




More information about the webkit-changes mailing list