cascade-import-001.xht (1131B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>Cascade: Basic ordering test (with data:)</title> 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/import/001.html"/> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#at-import"/> 8 <link rel="help" href="http://www.w3.org/TR/css-cascade-3/#at-import"/> 9 <link rel="help" href="http://www.w3.org/TR/css-cascade-4/#at-import"/> 10 <link rel="help" href="http://www.ietf.org/rfc/rfc2397.txt"/> 11 <style type="text/css"> 12 @import url(data:text/css,@import%20url\(data:text/css,.test%2520%257B%2520background:%2520maroon;%2520color:%2520white;%2520%257D\);%0D%0A.test.test%20%7B%20background:%20green;%20color:%20white;%20%7D); 13 p { color: yellow; background: red; } 14 </style> 15 <link rel="match" href="/css/CSS2/syntax/character-encoding-041-ref.xht" /> 16 </head> 17 <body> 18 <p class="test">This line should be green.</p> 19 20 21 </body> 22 </html>