tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

is-default-ns-002.html (818B)


      1 <!doctype html>
      2 <title>Default namespace gets ignored inside non-type selectors for :is() / :not() / :where().</title>
      3 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
      4 <link rel="author" title="Mozilla" href="https://mozilla.org">
      5 <link rel="help" href="https://drafts.csswg.org/selectors-4/#matches">
      6 <!--
      7  Default namespace declarations do not affect the compound selector
      8  representing the subject of any selector within a :is() pseudo-class, unless
      9  that compound selector contains an explicit universal selector or type
     10  selector.
     11 -->
     12 <link rel="match" href="/css/reference/blank.html">
     13 <style>
     14 @namespace url("http://www.w3.org/2000/svg");
     15 
     16 /* No type selector, so selector should match and hide the <input> */
     17 *|*:is(:disabled) {
     18  display: none;
     19 }
     20 </style>
     21 <input disabled>