Reviewed by John
[WebKit-https.git] / LayoutTests / editing / style / block-style-003.html
1 <html> 
2 <head>
3
4 <style>
5 .editing { 
6     border: 2px solid red; 
7     padding: 12px; 
8     font-size: 24px; 
9 }
10 </style>
11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
12
13 <script>
14
15 function editingTest() {
16     for (i = 0; i < 51; i++)
17         extendSelectionForwardByCharacterCommand();
18     justifyCenterCommand();
19 }
20
21 </script>
22
23 <title>Editing Test</title> 
24 </head> 
25 <body id="root" contenteditable>
26 <div style="test-align: right;" id="test" class="editing">
27 Here is some text. Should be <b>centered</b>.
28 </div>
29 <div id="test" class="editing">
30 Here is some text. Should be <b>centered</b>.
31 </div>
32 <script>
33 runEditingTest();
34 </script>
35
36 </body>
37 </html>