Reviewed by John
[WebKit-https.git] / LayoutTests / editing / style / block-style-001.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     justifyCenterCommand();
17 }
18
19 </script>
20
21 <title>Editing Test</title> 
22 </head> 
23 <body id="root" contenteditable>
24 <div id="test" class="editing">
25 Here is some text. Should be <b>centered</b>.
26 </div>
27 <div id="test" class="editing">
28 Here is some text. Should be <b>flush left</b>.
29 </div>
30 <script>
31 runEditingTest();
32 </script>
33
34 </body>
35 </html>