upload tizen1.0 source
[framework/web/webkit-efl.git] / 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.layoutTestController)
8     window.layoutTestController.dumpAsText();
9
10 window.getSelection().setPosition(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>