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