tor-browser

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

at-supports-selector-placeholder.html (668B)


      1 <!doctype html>
      2 <html>
      3 <head>
      4 	<title>CSS Test (Conditional Rules): In @supports, pseudo elements can be parsed successfully</title>
      5 	<link rel="author" title="Jan Nicklas" href="https://twitter.com/jantimon">
      6 	<link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports">
      7 	<link rel="match" href="at-supports-001-ref.html">
      8 	<style>
      9 		div {
     10 			background:red;
     11 			height:100px;
     12 			width:100px;
     13 		}
     14 		@supports selector(input::placeholder) {
     15 			div { background-color:green; }
     16 		}
     17 	</style>
     18 </head>
     19 <body>
     20 	<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
     21 	<div></div>
     22 </body>
     23 </html>