Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / create-block-for-style-001.html
blobf14b3e7365cc09809f8f35d62d5528966e93062b
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 justifyCenterCommand();
25 </script>
27 <title>Editing Test</title>
28 </head>
29 <body contenteditable>
31 <div class="explanation">
32 Should see "foo" centered in its own red box, followed by left-aligned two lines, "bar" and "baz", in their own red box.
33 </div>
35 <div id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
36 <div id="test" class="editing">
37 foo<br>bar<br>baz
38 </div>
39 </div>
41 <script>
42 runEditingTest();
43 </script>
45 </body>
46 </html>