Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / space-before-charset.html
blob90edce6c03d48d2fca7f35fb475e09d83466ee8e
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 @charset "utf-8";
16 .green {
17 background-color: green;
19 </style>
20 </head>
21 <body>
22 <div id="probe" class="green">
23 I should have a green background.
24 </div>
25 <div id="results"></div>
26 </html>