[webkit-changes] [WebKit/WebKit] 5e3c6a: Stop allowing numbers during parsing of baseline-s...

Chris Dumez noreply at github.com
Fri Dec 16 16:25:38 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5e3c6ae374505bbac841e970337a2fd6d9f59dcf
      https://github.com/WebKit/WebKit/commit/5e3c6ae374505bbac841e970337a2fd6d9f59dcf
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2022-12-16 (Fri, 16 Dec 2022)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/baseline-shift-expected.txt
    M Source/WebCore/css/CSSProperties.json

  Log Message:
  -----------
  Stop allowing numbers during parsing of baseline-shift CSS property
https://bugs.webkit.org/show_bug.cgi?id=249482

Reviewed by Sam Weinig.

Stop allowing numbers during parsing of baseline-shift CSS property.

Per the specification, we should allow <length-percentage>, not <number>:
- https://w3c.github.io/csswg-drafts/css-inline/#baseline-shift-property

* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/baseline-shift-expected.txt:
Rebaseline WPT test now that more checks are passing.

* Source/WebCore/css/CSSProperties.json:
Drop svg attribute mode since it allows unitless values during parsing.

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




More information about the webkit-changes mailing list