Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / create-block-for-style-010.html
blobf014e8fe6964f7824b6953451c2c91983a29f1a8
1 <html>
2 <head>
4 <style>
5 .editing {
6 border: 2px solid red;
7 padding: 12px;
8 font-size: 24px;
10 .explanation {
11 border: 2px solid blue;
12 padding: 12px;
13 font-size: 24px;
14 margin-bottom: 24px;
16 </style>
17 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
19 <script>
21 function editingTest() {
22 extendSelectionForwardByLineCommand();
23 extendSelectionForwardByCharacterCommand();
24 justifyCenterCommand();
27 </script>
29 <title>Editing Test</title>
30 </head>
31 <body contenteditable>
33 <div class="explanation">
34 Should see the "foo" and "baz" lines centered in their own red boxes. The "baz" line should not be centered.
35 </div>
37 <div id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
38 <div id="test" class="editing">
39 foo
40 <div class="editing">
41 bar
42 </div>
43 baz
44 </div>
45 </div>
47 <script>
48 runEditingTest();
49 </script>
51 </body>
52 </html>