tor-browser

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

interaction-with-placeholder-ref.html (581B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>CSS Shadow Parts - Interaction with placeholder</title>
      5    <meta href="mailto:fergal@chromium.org" rel="author" title="Fergal Daly">
      6    <link href="http://www.google.com/" rel="author" title="Google">
      7    <link href="https://drafts.csswg.org/css-shadow-parts/" rel="help">
      8  </head>
      9  <body>
     10    <style>
     11      #placeholder-i::placeholder { color: green; }
     12    </style>
     13    <div>
     14      The following text should be green:
     15      <input id="placeholder-i" part="placeholder-p" placeholder="this text"></input>
     16    </div>
     17  </body>
     18 </html>