Changeset 69980 in webkit


Ignore:
Timestamp:
Oct 18, 2010 11:54:46 AM (14 years ago)
Author:
rniwa@webkit.org
Message:

2010-10-18 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Kent Tamura.

dump-as-markup conversion: editing/execCommand/4786404-1.html, 4786404-2.html, 4920488.html
https://bugs.webkit.org/show_bug.cgi?id=47782

Converted editing/execCommand/4786404-1.html, 4786404-2.html, 4920488.html to dump-as-markup tests.

  • editing/execCommand/4786404-1-expected.txt: Added.
  • editing/execCommand/4786404-1.html:
  • editing/execCommand/4786404-2-expected.txt: Added.
  • editing/execCommand/4786404-2.html:
  • editing/execCommand/4920488-expected.txt: Added.
  • editing/execCommand/4920488.html:
  • platform/chromium-linux/editing/execCommand/4786404-1-expected.checksum: Removed.
  • platform/chromium-linux/editing/execCommand/4786404-1-expected.png: Removed.
  • platform/chromium-linux/editing/execCommand/4786404-2-expected.checksum: Removed.
  • platform/chromium-linux/editing/execCommand/4786404-2-expected.png: Removed.
  • platform/chromium-linux/editing/execCommand/4920488-expected.checksum: Removed.
  • platform/chromium-linux/editing/execCommand/4920488-expected.png: Removed.
  • platform/chromium-win/editing/execCommand/4786404-1-expected.checksum: Removed.
  • platform/chromium-win/editing/execCommand/4786404-1-expected.png: Removed.
  • platform/chromium-win/editing/execCommand/4786404-1-expected.txt: Removed.
  • platform/chromium-win/editing/execCommand/4786404-2-expected.checksum: Removed.
  • platform/chromium-win/editing/execCommand/4786404-2-expected.png: Removed.
  • platform/chromium-win/editing/execCommand/4786404-2-expected.txt: Removed.
  • platform/chromium-win/editing/execCommand/4920488-expected.checksum: Removed.
  • platform/chromium-win/editing/execCommand/4920488-expected.png: Removed.
  • platform/chromium-win/editing/execCommand/4920488-expected.txt: Removed.
  • platform/gtk/editing/execCommand/4786404-1-expected.txt: Removed.
  • platform/gtk/editing/execCommand/4786404-2-expected.txt: Removed.
  • platform/gtk/editing/execCommand/4920488-expected.txt: Removed.
  • platform/mac-leopard/editing/execCommand/4786404-2-expected.checksum: Removed.
  • platform/mac-leopard/editing/execCommand/4786404-2-expected.png: Removed.
  • platform/mac-leopard/editing/execCommand/4920488-expected.checksum: Removed.
  • platform/mac-leopard/editing/execCommand/4920488-expected.png: Removed.
  • platform/mac/editing/execCommand/4786404-1-expected.checksum: Removed.
  • platform/mac/editing/execCommand/4786404-1-expected.png: Removed.
  • platform/mac/editing/execCommand/4786404-1-expected.txt: Removed.
  • platform/mac/editing/execCommand/4786404-2-expected.checksum: Removed.
  • platform/mac/editing/execCommand/4786404-2-expected.png: Removed.
  • platform/mac/editing/execCommand/4786404-2-expected.txt: Removed.
  • platform/mac/editing/execCommand/4920488-expected.checksum: Removed.
  • platform/mac/editing/execCommand/4920488-expected.png: Removed.
  • platform/mac/editing/execCommand/4920488-expected.txt: Removed.
  • platform/qt/editing/execCommand/4786404-1-expected.txt: Removed.
  • platform/qt/editing/execCommand/4786404-2-expected.txt: Removed.
  • platform/qt/editing/execCommand/4920488-expected.txt: Removed.
Location:
trunk/LayoutTests
Files:
3 added
34 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r69977 r69980  
     12010-10-18  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Reviewed by Kent Tamura.
     4
     5        dump-as-markup conversion: editing/execCommand/4786404-1.html, 4786404-2.html, 4920488.html
     6        https://bugs.webkit.org/show_bug.cgi?id=47782
     7
     8        Converted editing/execCommand/4786404-1.html, 4786404-2.html, 4920488.html to dump-as-markup tests.
     9
     10        * editing/execCommand/4786404-1-expected.txt: Added.
     11        * editing/execCommand/4786404-1.html:
     12        * editing/execCommand/4786404-2-expected.txt: Added.
     13        * editing/execCommand/4786404-2.html:
     14        * editing/execCommand/4920488-expected.txt: Added.
     15        * editing/execCommand/4920488.html:
     16        * platform/chromium-linux/editing/execCommand/4786404-1-expected.checksum: Removed.
     17        * platform/chromium-linux/editing/execCommand/4786404-1-expected.png: Removed.
     18        * platform/chromium-linux/editing/execCommand/4786404-2-expected.checksum: Removed.
     19        * platform/chromium-linux/editing/execCommand/4786404-2-expected.png: Removed.
     20        * platform/chromium-linux/editing/execCommand/4920488-expected.checksum: Removed.
     21        * platform/chromium-linux/editing/execCommand/4920488-expected.png: Removed.
     22        * platform/chromium-win/editing/execCommand/4786404-1-expected.checksum: Removed.
     23        * platform/chromium-win/editing/execCommand/4786404-1-expected.png: Removed.
     24        * platform/chromium-win/editing/execCommand/4786404-1-expected.txt: Removed.
     25        * platform/chromium-win/editing/execCommand/4786404-2-expected.checksum: Removed.
     26        * platform/chromium-win/editing/execCommand/4786404-2-expected.png: Removed.
     27        * platform/chromium-win/editing/execCommand/4786404-2-expected.txt: Removed.
     28        * platform/chromium-win/editing/execCommand/4920488-expected.checksum: Removed.
     29        * platform/chromium-win/editing/execCommand/4920488-expected.png: Removed.
     30        * platform/chromium-win/editing/execCommand/4920488-expected.txt: Removed.
     31        * platform/gtk/editing/execCommand/4786404-1-expected.txt: Removed.
     32        * platform/gtk/editing/execCommand/4786404-2-expected.txt: Removed.
     33        * platform/gtk/editing/execCommand/4920488-expected.txt: Removed.
     34        * platform/mac-leopard/editing/execCommand/4786404-2-expected.checksum: Removed.
     35        * platform/mac-leopard/editing/execCommand/4786404-2-expected.png: Removed.
     36        * platform/mac-leopard/editing/execCommand/4920488-expected.checksum: Removed.
     37        * platform/mac-leopard/editing/execCommand/4920488-expected.png: Removed.
     38        * platform/mac/editing/execCommand/4786404-1-expected.checksum: Removed.
     39        * platform/mac/editing/execCommand/4786404-1-expected.png: Removed.
     40        * platform/mac/editing/execCommand/4786404-1-expected.txt: Removed.
     41        * platform/mac/editing/execCommand/4786404-2-expected.checksum: Removed.
     42        * platform/mac/editing/execCommand/4786404-2-expected.png: Removed.
     43        * platform/mac/editing/execCommand/4786404-2-expected.txt: Removed.
     44        * platform/mac/editing/execCommand/4920488-expected.checksum: Removed.
     45        * platform/mac/editing/execCommand/4920488-expected.png: Removed.
     46        * platform/mac/editing/execCommand/4920488-expected.txt: Removed.
     47        * platform/qt/editing/execCommand/4786404-1-expected.txt: Removed.
     48        * platform/qt/editing/execCommand/4786404-2-expected.txt: Removed.
     49        * platform/qt/editing/execCommand/4920488-expected.txt: Removed.
     50
    1512010-10-18  Oliver Hunt  <oliver@apple.com>
    252
  • trunk/LayoutTests/editing/execCommand/4786404-1.html

    r64488 r69980  
     1<!DOCTYPE html>
    12<html style="font-weight: bold;">
    23<body style="color: #999;">
    3 <p>This tests for a bug where performing the Remove Format operation on content would apply the document's style to it, not the editable regions default style.  The text below should not be bold, and should be black.</p>
    4 <div id="div" contenteditable="true" style="font-weight: normal; color: black;">foo <i>bar</i> baz</div>
     4<script src="../../resources/dump-as-markup.js"></script>
     5<div id="container"><div id="div" contenteditable="true" style="font-weight: normal; color: black;">foo <i>bar</i> baz</div></div>
     6<script>
    57
    6 <script>
    78var div = document.getElementById("div");
    89div.focus();
     
    1011document.execCommand("SelectAll");
    1112document.execCommand("RemoveFormat");
     13
     14Markup.description('This tests for a bug where performing the Remove Format operation on content would apply the document\'s style to it, not the editable regions default style.  "foo bar baz" should not be bold, and should be black.');
     15Markup.dump('container');
     16
    1217</script>
    1318</body>
     19</html>
  • trunk/LayoutTests/editing/execCommand/4786404-2.html

    r64488 r69980  
     1<!DOCTYPE html>
    12<html>
    23<body>
    3 <p>This tests for a bug where performing the Remove Format operation on a selection that started in underlined content would underline everything operated on.</p>
    4 <div id="div" contenteditable="true"><u>foo</u> bar baz</div>
    5 
     4<script src="../../resources/dump-as-markup.js"></script>
     5<div id="container"><div id="div" contenteditable="true"><u>foo</u> bar baz</div></div>
    66<script>
    77var div = document.getElementById("div");
     
    1010document.execCommand("SelectAll");
    1111document.execCommand("RemoveFormat");
     12
     13Markup.description('This tests for a bug where performing the Remove Format operation on a selection that started in underlined content would underline everything operated on. "foo bar baz" should not have underline.');
     14Markup.dump('container');
     15
    1216</script>
    1317</body>
     18</html>
  • trunk/LayoutTests/editing/execCommand/4920488.html

    r18924 r69980  
    1 <p>This tests for a bug in GMail's Editor, they try to extract the contents of a range that has had it's contents removed from the document by an editing command.  You should see 'dogfood' unstyled below.</p>
     1<!DOCTYPE html>
     2<html>
     3<body>
     4<script src="../../resources/dump-as-markup.js"></script>
    25<div id="div" contenteditable="true">dog<a href="http://www.google.com/">food</a></div>
     6<script>
    37
    4 <script>
     8Markup.description("This tests for a bug in GMail's Editor, they try to extract the contents of a range that has had it's contents removed from the document by an editing command.  You should see 'dogfood' unstyled below.");
     9
    510var div = document.getElementById("div");
    611var text = div.firstChild;
     
    1520document.execCommand("RemoveFormat");
    1621
     22Markup.dump(div, 'After removeFormat');
     23
    1724r.extractContents();
     25
     26Markup.dump(div, 'After extractContents()');
     27
    1828</script>
     29</body>
     30</html>
Note: See TracChangeset for help on using the changeset viewer.