Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / comment-before-charset.html
blob9e57e1cc80fc781405826c4cac1d3761b87560cf
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 window.onload = function() {
9 var elmt = document.getElementById("probe");
10 var color = window.getComputedStyle(elmt, null).getPropertyValue("background-color");
11 document.getElementById("results").innerHTML= color;
13 </script>
14 <style>
15 /* This is a comment before the charset! */
16 @charset "utf-8";
17 .green {
18 background-color: green;
20 </style>
21 </head>
22 <body>
23 <div id="probe" class="green">
24 I should have a green background.
25 </div>
26 <div id="results"></div>
27 </html>