Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / block-style-003.html
blob7818a4cebbb15db1a3021d8033a673fb3e44df95
1 <html>
2 <head>
4 <style>
5 .editing {
6 border: 2px solid red;
7 padding: 12px;
8 font-size: 24px;
10 </style>
11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
13 <script>
15 function editingTest() {
16 for (i = 0; i < 51; i++)
17 extendSelectionForwardByCharacterCommand();
18 justifyCenterCommand();
21 </script>
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>
36 </body>
37 </html>