Re: [csswg-drafts] [scroll-animations] Broader scope of scroll timelines (#7759)

Because `scroll-timeline-axis` doesn’t inherit, I’d say ignore it on the parent.

Consider this snippet:

```css
.parent {
  scroll-timeline-name: timeline;
  scroll-timeline-axis: inline;
  scroll-timeline-attachment: defer;
}

.parent .child {
  scroll-timeline-name: timeline;
  scroll-timeline-attachment: ancestor;
}
```

It’d be weird to see the computed value for `scroll-timeline-axis` on the child be `inline`, when said property doesn’t inherit and has a default value of `block`. Magically taking over the value from the parent looks like something that doesn’t rhyme with the rest of how CSS works.

-- 
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7759#issuecomment-1495580615 using your GitHub account


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

Received on Tuesday, 4 April 2023 08:43:08 UTC