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

Chris Dumez noreply at github.com
Fri Dec 23 09:50:06 PST 2022


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

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

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

Reviewed by Simon Fraser.

Fix css/css-typed-om/the-stylepropertymap/properties/opacity.html WPT test to
match the specification:
- https://w3c.github.io/csswg-drafts/css-color/#transparency

The `opacity` property should allow percentages and these percentages should
get converted to a number in the [0, 1] range in the computed value.

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

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




More information about the webkit-changes mailing list