Re: [csswg-drafts] [css-ui-3] caret-color animations, 'auto' and 'currentColor'

> So now thinking on `caret-color`, I understand that for `auto`, 
`getComputedStyle()` should return `auto`.

It depends on what we would say in the CSSOM spec for resolved value 
of this property. If the resolved value of `caret-color` is its used 
value, you would return numeric value for all values of it including 
`auto`. If it says something else, then something else.

I don't have strong opinion here what the behavior should be, but I 
tend to think `currentcolor` should be resolved to used value like 
other color properties, and making `auto` follow that seems to be 
simplier for wording of the spec.

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

Received on Friday, 2 December 2016 12:46:23 UTC