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

Yes, that would make sense, but would also be good for the spec to explain (in a note).

In terms of testing, looks like none of the tests in `wpt/css/motion` actually test the effect of a percentage-containing-calc for `offset-distance` - https://wpt.fyi/results/css/motion?label=master&label=experimental

The `offset-distance-00x.html` tests all use percentages, and `offset-supports-calc.html` just checks getComputedStyle which doesn't actually tell you how it resolved.

So yes, some more tests would also be good there to verify browsers are actually computing the right thing, but this issue is looking to answer the question of "what is the correct computed style for `offset-distance: 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-523472312 using your GitHub account

Received on Wednesday, 21 August 2019 14:05:51 UTC