Re: [csswg-drafts] [media-queries][css-sizing] Support <number> (and therefore calc) as a <ratio> (#3757)

I'd appreciate a comment about how precision would affect the matching of media queries when numbers with decimals are used. Consider a viewport or page with a 4/3 ratio, and the following media feature tests:

`max-aspect-ratio: 4/3`
`max-aspect-ratio: calc(4/3)`
`max-aspect-ratio: 1.3333`

My current code would match the first two, but not the third. What if more decimals were added to it?

Perhaps that is specified in a more general way elsewhere, but could not find it.

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

Received on Sunday, 1 September 2019 14:44:15 UTC