Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / xml-stylesheet-alternate-processing.xhtml
blob16c2c2ec3360225a5c85d209cb6ba948cb5222e5
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?xml-stylesheet href="resources/xml-stylesheet-pi-not-in-prolog.css" type="text/css" alternate="yes" title="alt1"?>
3 <?xml-stylesheet href="resources/xml-stylesheet-pi-not-in-prolog.css" type="text/css" alternate="no"?>
4 <?xml-stylesheet href="resources/xml-stylesheet-pi-not-in-prolog.css" type="text/css"?>
5 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
7 <head>
8 <title>xml-stylesheet pseudo attribute alternate test</title>
9 <script type="text/javascript">
10 function runTest() {
11 if (window.testRunner)
12 testRunner.dumpAsText();
13 var pi = document.firstChild;
14 if (pi.sheet.disabled != true) return;
15 pi = pi.nextSibling;
16 if (pi.sheet.disabled != false) return;
17 pi = pi.nextSibling;
18 if (pi.sheet.disabled != false) return;
20 document.getElementById('result').innerHTML = 'SUCCESS';
22 </script>
23 </head>
24 <body onload="runTest();">
25 <div id="result">FAILURE</div>
26 </body>
27 </html>