[WK2] Small Caps font variant issue for Italic fonts
[framework/web/webkit-efl.git] / LayoutTests / editing / style / block-styles-007.html
1 <html> 
2 <head>
3
4 <style>
5 .editing { 
6     border: 2px solid red; 
7     font-size: 24px; 
8 }
9 .explanation { 
10     border: 2px solid blue; 
11     padding: 12px; 
12     font-size: 24px; 
13     margin-bottom: 24px;
14 }
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>
20
21 <script>
22
23 function editingTest() {
24     for (i = 0; i < 3; i++)
25         moveSelectionForwardByCharacterCommand();
26     insertParagraphCommand();
27 }
28
29 </script>
30
31 <title>Editing Test</title> 
32 </head> 
33 <body>
34
35 <div class="explanation">
36 <div class="scenario">
37 Tests: 
38 <br>
39 Fix for this bug:
40 <a href="rdar://problem/3977962">&lt;rdar://problem/3977962&gt;</a> font loses bold style after pasting next to existing text and pressing return
41 </div>
42 <div class="expected-results">
43 Expected Results:
44 <br>
45 Should see this content in the red box below: <div>foo<div><b>bar</b></div></div>
46 </div>
47 </div>
48
49 <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
50 <div id="test" class="editing"><div>foo<b>bar</b></div></div>
51 </div>
52
53 <script>
54 runEditingTest();
55 </script>
56
57 </body>
58 </html>