Open
Description
Some properties require <dashed-idents>
, for example scroll-timeline-name
. So e.g. scroll-timeline-name:nondash
would be invalid at parse-time. However, with the ident()
function, we'll no longer be able to reject those values parse-time: scroll-timeline-name:ident(var(--maybe-dashes-maybe-not) "mytimeline")
.
I guess we have two choices:
- Allow
ident()
to bypass the dashed requirement, makingscroll-timeline-name:ident(timeline)
actually a define a timeline namedtimeline
. (In order for the timeline to be reachable, the name would have to be "escaped" withident()
on theanimation-timeline
side as well). - Enforce the dashed requirement computed value time instead.