Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / create-block-for-style-007.html
blob3eaf5ad3e9e3774bd62048960b3c49d306b4691a
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. The "bar" and "baz" lines should not be centered.
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
38 <div class="editing">
39 bar
40 </div>
41 baz
42 </div>
43 </div>
45 <script>
46 runEditingTest();
47 </script>
49 </body>
50 </html>