tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / fast / css / comment-before-charset.html
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script>
5 if (window.layoutTestController)
6     layoutTestController.dumpAsText();
7
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;
12 }
13 </script>
14 <style>
15 /* This is a comment before the charset! */
16 @charset "utf-8";
17 .green {
18   background-color: green;
19 }
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>