Cameron McCormack

Results 23 comments of Cameron McCormack

Sounds reasonable. What about linking it to http://heycam.github.io/webidl/#dfn-object-type and then adding promise types to that definition?

If `supports(at-rule(@layer))` is a valid media query, then it should work in `` and `` too, for consistency. Is there any need for a change on the HTML side for...

> So we've proposed extending the media attribute to allow all 'import conditions' as defined on the @import rule: both media-query and support-query conditions. I see, in the @import rule...

> But if we take this approach, the solution becomes re-usable for similar situations in the future. I think it's totally reasonable to have an approach like this available for...

> Styles with that combination won't be applied until browsers support both layers and support-queries-in-media. Of course, that makes sense. Thanks for spelling it out. In terms of the mechanics...

Just running it through EWS first. I plan to write a test.

(Note the draft status of the PR!)

Patch changed significantly to something much simpler.

Note that escaping of ">" is required in attribute values but not in character data.

If you have some existing XPath expressions that you are happy to change, but you don't want to change the code around them too much, you could wrap them with...