Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 18173dd49a5f64aca7b6003186aa05b5d6441691
      
https://github.com/WebKit/WebKit/commit/18173dd49a5f64aca7b6003186aa05b5d6441691
  Author: Chris Dumez <[email protected]>
  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-width-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/stroke-width.html

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

Reviewed by Simon Fraser.

Per the specification, `stroke-width`'s computed value should be positive:
- https://svgwg.org/svg2-draft/painting.html#StrokeWidth

However, the test was setting `stroke-width` to "calc(-3.14%)" and expecting
"-3.14s" as computed value. With clamping, the computed value should be "0%" in
this case.

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

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to