[webkit-changes] [WebKit/WebKit] 95e3bd: Fix css/css-typed-om/the-stylepropertymap/properti...

Chris Dumez noreply at github.com
Thu Dec 22 17:07:50 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 95e3bdf7a6db3900efedb262705e217b1dbddf2c
      https://github.com/WebKit/WebKit/commit/95e3bdf7a6db3900efedb262705e217b1dbddf2c
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2022-12-22 (Thu, 22 Dec 2022)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/stroke-opacity-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/stroke-opacity.html

  Log Message:
  -----------
  Fix css/css-typed-om/the-stylepropertymap/properties/stroke-opacity.html WPT test
https://bugs.webkit.org/show_bug.cgi?id=249806

Reviewed by Simon Fraser.

Fix css/css-typed-om/the-stylepropertymap/properties/stroke-opacity.html WPT
test to match the specification:
- https://svgwg.org/svg2-draft/painting.html#StrokeOpacity

The specification says that both <number> and <percentage> are allowed.
However, the test was only allowing <number>.

Also, per the specification, the computed value should be a number within the 0
and 1 range (with percentages converted to numbers).

* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/stroke-opacity-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/stroke-opacity.html:

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




More information about the webkit-changes mailing list