[Webkit-unassigned] [Bug 265673] New: [scroll-animations] WPT test scroll-animations/css/view-timeline-shorthand.html has incorrect contraction tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 1 09:04:08 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=265673

            Bug ID: 265673
           Summary: [scroll-animations] WPT test
                    scroll-animations/css/view-timeline-shorthand.html has
                    incorrect contraction tests
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: graouts at webkit.org
                CC: dino at apple.com, graouts at apple.com

There are three tests at the end of the WPT test scroll-animations/css/view-timeline-shorthand.html:

```
test_shorthand_contraction('view-timeline', {
  'view-timeline-name': '--a, --b, --c',
  'view-timeline-axis': 'inline, inline',
  'view-timeline-inset': 'auto, auto',
}, '');

test_shorthand_contraction('view-timeline', {
  'view-timeline-name': '--a, --b',
  'view-timeline-axis': 'inline, inline, inline',
  'view-timeline-inset': 'auto, auto, auto',
}, '');

test_shorthand_contraction('view-timeline', {
  'view-timeline-name': '--a, --b',
  'view-timeline-axis': 'inline, inline',
  'view-timeline-inset': 'auto, auto, auto',
}, '');
```

These are wrong in the same way that the equivalent `scroll-timeline` shorthand tests were and which got fixed in 271190 at main after discussion at https://github.com/web-platform-tests/wpt/issues/43336. Indeed, the computed value should trim the longhands to match the length of `view-timeline-name`.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231201/099f7ca5/attachment.htm>


More information about the webkit-unassigned mailing list