Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / create-block-for-style-002.html
blob6a71522cbb2cfa49c25c83c1c90d47c8b0802c70
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 moveSelectionForwardByLineCommand();
23 justifyCenterCommand();
26 </script>
28 <title>Editing Test</title>
29 </head>
30 <body contenteditable>
32 <div class="explanation">
33 Should see "bar" centered in its own red box, with a left-aligned "foo" line above and a left-aligned "baz" line below.
34 </div>
36 <div id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
37 <div id="test" class="editing">
38 foo<br>bar<br>baz
39 </div>
40 </div>
42 <script>
43 runEditingTest();
44 </script>
46 </body>
47 </html>