Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / editing / execCommand / backcolor-crash.html
1 <html>
2 <body>
3 This is a crash test when executing backColor on a node where all of its ancestors have transparent background color.  You should see PASS at the end.
4 <div id="test" contenteditable></div>
5 <script>
6
7 if (window.testRunner)
8     window.testRunner.dumpAsText();
9
10 window.getSelection().collapse(test, 0);
11 var color = document.queryCommandValue('backColor', false, null);
12
13 document.write('backColor: ' + color + '<br>');
14 document.write('PASS');
15 </script>
16 </html>