Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(495)

Side by Side Diff: LayoutTests/fast/encoding/css-charset-default.xhtml

Issue 756313002: Remove CSSCharsetRule (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <?xml version="1.0" encoding="iso-8859-5"?> 1 <?xml version="1.0" encoding="iso-8859-5"?>
2 <?xml-stylesheet href="css-charset-inherit-iso-8859-5.css?1" type="text/css"?> 2 <?xml-stylesheet href="css-charset-inherit-iso-8859-5.css?1" type="text/css"?>
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml"> 5 <html xmlns="http://www.w3.org/1999/xhtml">
6 <head> 6 <head>
7 <title>CSS Default charset</title> 7 <title>CSS Default charset</title>
8 <link rel="stylesheet" type="text/css" href="css-charset-inherit-iso-8859-5. css?2"/> 8 <link rel="stylesheet" type="text/css" href="css-charset-inherit-iso-8859-5. css?2"/>
9 <link rel="stylesheet" type="text/css" href="css-charset-import.css"/> 9 <link rel="stylesheet" type="text/css" href="css-charset-import.css"/>
10 <style type="text/css"> 10 <style type="text/css">
(...skipping 15 matching lines...) Expand all
26 <script type="text/javascript"> 26 <script type="text/javascript">
27 if (window.testRunner) 27 if (window.testRunner)
28 testRunner.dumpAsText(); 28 testRunner.dumpAsText();
29 29
30 function test() { 30 function test() {
31 try { 31 try {
32 document.getElementById("res1").innerHTML += document.styleSheets[0].cssRule s[0].style.content; 32 document.getElementById("res1").innerHTML += document.styleSheets[0].cssRule s[0].style.content;
33 33
34 document.getElementById("res2").innerHTML += document.styleSheets[1].cssRule s[0].style.content; 34 document.getElementById("res2").innerHTML += document.styleSheets[1].cssRule s[0].style.content;
35 35
36 document.getElementById("res3").innerHTML += document.styleSheets[2].cssRule s[1].styleSheet.cssRules[0].style.content; 36 document.getElementById("res3").innerHTML += document.styleSheets[2].cssRule s[0].styleSheet.cssRules[0].style.content;
37 37
38 document.getElementById("res4").innerHTML += document.styleSheets[3].cssRule s[0].styleSheet.cssRules[0].style.content; 38 document.getElementById("res4").innerHTML += document.styleSheets[3].cssRule s[0].styleSheet.cssRules[0].style.content;
39 39
40 document.getElementById("res5").innerHTML += document.styleSheets[4].cssRule s[0].style.content; 40 document.getElementById("res5").innerHTML += document.styleSheets[4].cssRule s[0].style.content;
41 } catch (ex) { 41 } catch (ex) {
42 alert(ex.toString()); 42 alert(ex.toString());
43 } 43 }
44 } 44 }
45 </script> 45 </script>
46 46
47 </body> 47 </body>
48 </html> 48 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/wrapper-identity-expected.txt ('k') | LayoutTests/fast/encoding/css-charset-dom.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698