Re: [csswg-drafts] [mediaqueries] Spec has conflicting info on whether or not `<media-query-list>` allows trailing commas (#11254)

The trailing whitespace in my example was unintentional, sorry. It does not make any difference: `matchMedia('all, ').media === matchMedia('all,').media` is true. The last list item is either a whitespace token or empty, which then does not make a difference when parsing against the grammar (`<media-query>`).

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 21 November 2024 09:59:40 UTC