Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / delete-at-paragraph-boundaries-011.html
blobdbc8694c7840afa9590ac2796252a25412262ee8
1 <html>
2 <head>
4 <style>
5 .editing {
6 border: 2px solid red;
7 font-size: 24px;
9 .explanation {
10 border: 2px solid blue;
11 padding: 12px;
12 font-size: 24px;
13 margin-bottom: 24px;
15 .scenario { margin-bottom: 16px;}
16 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
17 .expected-results:first-line { font-weight: bold }
18 </style>
19 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
21 <script>
23 function editingTest() {
24 moveSelectionForwardByLineCommand();
25 extendSelectionForwardByLineCommand();
26 extendSelectionForwardByLineCommand();
27 deleteCommand();
30 </script>
32 <title>Editing Test</title>
33 </head>
34 <body>
36 <div class="explanation">
37 <div class="scenario">
38 Tests:
39 <br>
40 Delete at the end of document when there is a BR following a P.
41 <br>
42 This is a test case for rdar://problem/4110366
43 </div>
44 <div class="expected-results">
45 Expected Results:
46 <br>
47 Red box with four lines. The second line is a nested red box with the word "hello". The other three lines are empty.
48 <br>
49 Selection is a caret at the start of the fourth line.
50 </div>
51 </div>
52 <div contenteditable id="root" class="editing"><p id="test" class="editing">hello</p><p class="editing"><br></p><br></div><script>runEditingTest();</script></body></html>