Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / paste-text-019.html
blobe829c8b6a6deef01686f6b7afb889b6a801188a1
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 for (i = 0; i < 4; i++)
25 moveSelectionForwardByCharacterCommand();
26 for (i = 0; i < 3; i++)
27 extendSelectionForwardByCharacterCommand();
28 copyCommand();
29 for (i = 0; i < 4; i++)
30 moveSelectionForwardByCharacterCommand();
31 moveSelectionForwardByCharacterCommand();
32 pasteAndMatchStyleCommand();
35 </script>
37 <title>Editing Test</title>
38 </head>
39 <body>
40 <div class="explanation">
41 <div class="scenario">
42 Tests:
43 <br>
44 Fix for this bug:
45 <a href="https://bugs.webkit.org/show_bug.cgi?id=3429">&lt;http://bugzilla.opendarwin.org/show_bug.cgi?id=3429&gt;</a> Text transformed with text-transform does not copy with transform applied
46 </div>
47 <div class="expected-results">
48 Expected Results:
49 <br>
50 Should see the string <pre>Foo Bar baz Bar</pre> (case sensitive).
51 </div>
52 </div>
53 <div contenteditable id="root" class="editing">
54 <span id="test"><span style="text-transform: capitalize;">foo bar</span> baz</span>
55 </div>
57 <script>
58 runEditingTest();
59 </script>
61 </body>
62 </html>