Re: [fxtf-drafts] [motion-1] Computed value of offset-distance is vague (#365)

Ahah, I think I just found it: https://drafts.csswg.org/css-values-3/#calc-computed-value

```Where percentages are not resolved at computed-value time, they are not resolved in calc() expressions, e.g. calc(100% - 100% + 1em) resolves to calc(1em + 0%), not to 1em. If there are special rules for computing percentages in a value (e.g. the height property), they apply whenever a calc() expression contains percentages.```

So I think Chrome is wrong here, and the correct behavior is already spec'd as `calc(0% + 10px)`


-- 
GitHub Notification of comment by stephenmcgruer
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/365#issuecomment-523474307 using your GitHub account

Received on Wednesday, 21 August 2019 14:10:26 UTC