Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dade038b6069f612e1312d8da3c9de2027899b42
      
https://github.com/WebKit/WebKit/commit/dade038b6069f612e1312d8da3c9de2027899b42
  Author: Taher Ali <[email protected]>
  Date:   2026-04-06 (Mon, 06 Apr 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-shapes/shape-functions/circle-function-valid-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-shapes/shape-functions/circle-function-valid.html
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-shapes/shape-functions/ellipse-function-valid-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-shapes/shape-functions/ellipse-function-valid.html

  Log Message:
  -----------
  Fix WPT test expectations for circle()/ellipse() specified value position 
serialization
https://bugs.webkit.org/show_bug.cgi?id=310663
rdar://173273168

Reviewed by Sam Weinig.

Update test expectations in circle-function-valid.html and 
ellipse-function-valid.html
to preserve position keywords in specified value serialization instead of 
converting
them to percentages.

Per CSS Values Level 5 4.3 (Serializing), the canonical 2 component form
should serialize keywords as keywords, not as equivalent percentages.

These tests read from element.style (specified values), where the spec requires
preserving keywords in their canonical representation. The previous expectations
incorrectly required keyword-to-percentage conversion, which is only appropriate
for computed values.

References:
- CSS Values Level 5 4.3: 
https://drafts.csswg.org/css-values-5/#position-serialization

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-shapes/shape-functions/circle-function-valid-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-shapes/shape-functions/circle-function-valid.html:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-shapes/shape-functions/ellipse-function-valid-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-shapes/shape-functions/ellipse-function-valid.html:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to