Re: [csswg-drafts] [selectors] :volume() pseudo (#4001)

I don't really like that. :(

An implicit comparison isn't nearly as clear when reading it, I think: `:volume(50%)` *looks* like "volume is set to 50%", not "volume is 50% or more" or "volume is 50% or less" (I'm not actually sure which one you're proposing).

Also, `:not(:volume(50%))` to get the opposite rendering is actually a *way* wider selector than it looks; you have to very carefully still scope it to just appropriate volume-possible elements. Letting you express the opposite relationship directly is a lot easier to use; just `:volume(> 50%)` or `:volume(<= 50%)`, boom.

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

Received on Tuesday, 4 June 2019 21:46:30 UTC