Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 935d438f1288b7c7dc73eb3432fe68ddbc430002
      
https://github.com/WebKit/WebKit/commit/935d438f1288b7c7dc73eb3432fe68ddbc430002
  Author: Simon Fraser <simon.fra...@apple.com>
  Date:   2024-08-14 (Wed, 14 Aug 2024)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-shapes/shape-functions/xywh-function-invalid-expected.txt
    M Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp

  Log Message:
  -----------
  xywh() shape's dimensions should not accept negative values
https://bugs.webkit.org/show_bug.cgi?id=278120
rdar://133870976

Reviewed by Tim Nguyen.

Disallow negative values in the "dimension" arguments of the `xywh()` shape, 
per spec[1]

[1] https://www.w3.org/TR/css-shapes/#supported-basic-shapes

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-shapes/shape-functions/xywh-function-invalid-expected.txt:
* Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::consumeBasicShapeXywh):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to