<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Invalid media feature evaluates to true"
   href="https://bugs.webkit.org/show_bug.cgi?id=143262#c15">Comment # 15</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Invalid media feature evaluates to true"
   href="https://bugs.webkit.org/show_bug.cgi?id=143262">bug 143262</a>
              from <span class="vcard"><a class="email" href="mailto:zcorpan&#64;gmail.com" title="Simon Pieters &lt;zcorpan&#64;gmail.com&gt;"> <span class="fn">Simon Pieters</span></a>
</span></b>
        <pre>I suppose the requirement in HTML4 explains WebKit's behavior here, but that is long obsolete.

<a href="https://html.spec.whatwg.org/multipage/semantics.html#attr-link-media">https://html.spec.whatwg.org/multipage/semantics.html#attr-link-media</a>
[[
However, if the link is an external resource link, then the media attribute is prescriptive. The user agent must apply the external resource when the media attribute's value matches the environment and the other relevant conditions apply, and must not apply it otherwise.
]]

-&gt;

<a href="https://html.spec.whatwg.org/multipage/infrastructure.html#matches-the-environment">https://html.spec.whatwg.org/multipage/infrastructure.html#matches-the-environment</a>
[[
A string matches the environment of the user if it is the empty string, a string consisting of only space characters, or is a media query list that matches the user's environment according to the definitions given in the Media Queries specification. [MQ]
]]

-&gt;

<a href="https://drafts.csswg.org/mediaqueries/#error-handling">https://drafts.csswg.org/mediaqueries/#error-handling</a>
[[
A media query that does not match the grammar in the previous section must be replaced by not all during parsing.
]]</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>