[csswg-drafts] [css-view-transitions-2] CSSOM for CSSViewTransitionRule.navigation does not match implementation (#10654)

nt1m has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-view-transitions-2] CSSOM for CSSViewTransitionRule.navigation does not match implementation ==
The spec defines it as:
```
readonly attribute ViewTransitionNavigation navigation;
```

and Blink has:

```
readonly attribute CSSOMString navigation;
```

This is actually visible on the web, and Blink's behavior is tested inside a WPT:

https://searchfox.org/wubkat/rev/b36cbce69fddb7da33823f316bd8ead5bebee970/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/navigation/at-rule-cssom.html#24

The test expects this attribute to be an empty string, which is not possible if you have enumerated values (ViewTransitionNavigation), the CSSOM would return `none` with the enum instead of an empty string in this case.

cc @noamr @khushalsagar @mattwoodrow @vmpstr 


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10654 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 1 August 2024 01:44:43 UTC