Changeset 66678 in webkit


Ignore:
Timestamp:
Sep 2, 2010 12:06:47 PM (14 years ago)
Author:
rniwa@webkit.org
Message:

2010-09-02 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Kent Tamura.

dumpAsText/Markup conversion: editing/style/block-style-004.html through block-style-006.html and editing/style/fontsize-1.html
https://bugs.webkit.org/show_bug.cgi?id=45050

  • editing/style/block-style-004-expected.txt: Added.
  • editing/style/block-style-004.html:
  • editing/style/block-style-005.html:
  • editing/style/block-style-006.html:
  • editing/style/fontsize-1.html:
  • platform/chromium-linux/editing/style/block-style-004-expected.checksum: Removed.
  • platform/chromium-linux/editing/style/block-style-004-expected.png: Removed.
  • platform/chromium-linux/editing/style/block-style-005-expected.checksum: Removed.
  • platform/chromium-linux/editing/style/block-style-005-expected.png: Removed.
  • platform/chromium-linux/editing/style/block-style-006-expected.checksum: Removed.
  • platform/chromium-linux/editing/style/block-style-006-expected.png: Removed.
  • platform/chromium-linux/editing/style/fontsize-1-expected.checksum: Removed.
  • platform/chromium-linux/editing/style/fontsize-1-expected.png: Removed.
  • platform/chromium-win/editing/style/block-style-004-expected.checksum: Removed.
  • platform/chromium-win/editing/style/block-style-004-expected.png: Removed.
  • platform/chromium-win/editing/style/block-style-004-expected.txt: Removed.
  • platform/chromium-win/editing/style/block-style-005-expected.checksum: Removed.
  • platform/chromium-win/editing/style/block-style-005-expected.png: Removed.
  • platform/chromium-win/editing/style/block-style-005-expected.txt: Removed.
  • platform/chromium-win/editing/style/block-style-006-expected.checksum: Removed.
  • platform/chromium-win/editing/style/block-style-006-expected.png: Removed.
  • platform/chromium-win/editing/style/block-style-006-expected.txt: Removed.
  • platform/chromium-win/editing/style/fontsize-1-expected.checksum: Removed.
  • platform/chromium-win/editing/style/fontsize-1-expected.png: Removed.
  • platform/chromium-win/editing/style/fontsize-1-expected.txt: Removed.
  • platform/gtk/editing/style/fontsize-1-expected.txt: Removed.
  • platform/mac-leopard/editing/style/fontsize-1-expected.checksum: Removed.
  • platform/mac-leopard/editing/style/fontsize-1-expected.png: Removed.
  • platform/mac/editing/style/block-style-004-expected.checksum: Removed.
  • platform/mac/editing/style/block-style-004-expected.png: Removed.
  • platform/mac/editing/style/block-style-004-expected.txt: Removed.
  • platform/mac/editing/style/block-style-005-expected.checksum: Removed.
  • platform/mac/editing/style/block-style-005-expected.png: Removed.
  • platform/mac/editing/style/block-style-005-expected.txt: Removed.
  • platform/mac/editing/style/block-style-006-expected.checksum: Removed.
  • platform/mac/editing/style/block-style-006-expected.png: Removed.
  • platform/mac/editing/style/block-style-006-expected.txt: Removed.
  • platform/mac/editing/style/fontsize-1-expected.checksum: Removed.
  • platform/mac/editing/style/fontsize-1-expected.png: Removed.
  • platform/mac/editing/style/fontsize-1-expected.txt: Removed.
  • platform/qt/editing/style/block-style-004-expected.txt: Removed.
  • platform/qt/editing/style/block-style-005-expected.txt: Removed.
  • platform/qt/editing/style/block-style-006-expected.txt: Removed.
  • platform/qt/editing/style/fontsize-1-expected.txt: Removed.
Location:
trunk/LayoutTests
Files:
4 added
39 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r66677 r66678  
     12010-09-02  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Reviewed by Kent Tamura.
     4
     5        dumpAsText/Markup conversion: editing/style/block-style-004.html through block-style-006.html and editing/style/fontsize-1.html
     6        https://bugs.webkit.org/show_bug.cgi?id=45050
     7
     8        * editing/style/block-style-004-expected.txt: Added.
     9        * editing/style/block-style-004.html:
     10        * editing/style/block-style-005.html:
     11        * editing/style/block-style-006.html:
     12        * editing/style/fontsize-1.html:
     13        * platform/chromium-linux/editing/style/block-style-004-expected.checksum: Removed.
     14        * platform/chromium-linux/editing/style/block-style-004-expected.png: Removed.
     15        * platform/chromium-linux/editing/style/block-style-005-expected.checksum: Removed.
     16        * platform/chromium-linux/editing/style/block-style-005-expected.png: Removed.
     17        * platform/chromium-linux/editing/style/block-style-006-expected.checksum: Removed.
     18        * platform/chromium-linux/editing/style/block-style-006-expected.png: Removed.
     19        * platform/chromium-linux/editing/style/fontsize-1-expected.checksum: Removed.
     20        * platform/chromium-linux/editing/style/fontsize-1-expected.png: Removed.
     21        * platform/chromium-win/editing/style/block-style-004-expected.checksum: Removed.
     22        * platform/chromium-win/editing/style/block-style-004-expected.png: Removed.
     23        * platform/chromium-win/editing/style/block-style-004-expected.txt: Removed.
     24        * platform/chromium-win/editing/style/block-style-005-expected.checksum: Removed.
     25        * platform/chromium-win/editing/style/block-style-005-expected.png: Removed.
     26        * platform/chromium-win/editing/style/block-style-005-expected.txt: Removed.
     27        * platform/chromium-win/editing/style/block-style-006-expected.checksum: Removed.
     28        * platform/chromium-win/editing/style/block-style-006-expected.png: Removed.
     29        * platform/chromium-win/editing/style/block-style-006-expected.txt: Removed.
     30        * platform/chromium-win/editing/style/fontsize-1-expected.checksum: Removed.
     31        * platform/chromium-win/editing/style/fontsize-1-expected.png: Removed.
     32        * platform/chromium-win/editing/style/fontsize-1-expected.txt: Removed.
     33        * platform/gtk/editing/style/fontsize-1-expected.txt: Removed.
     34        * platform/mac-leopard/editing/style/fontsize-1-expected.checksum: Removed.
     35        * platform/mac-leopard/editing/style/fontsize-1-expected.png: Removed.
     36        * platform/mac/editing/style/block-style-004-expected.checksum: Removed.
     37        * platform/mac/editing/style/block-style-004-expected.png: Removed.
     38        * platform/mac/editing/style/block-style-004-expected.txt: Removed.
     39        * platform/mac/editing/style/block-style-005-expected.checksum: Removed.
     40        * platform/mac/editing/style/block-style-005-expected.png: Removed.
     41        * platform/mac/editing/style/block-style-005-expected.txt: Removed.
     42        * platform/mac/editing/style/block-style-006-expected.checksum: Removed.
     43        * platform/mac/editing/style/block-style-006-expected.png: Removed.
     44        * platform/mac/editing/style/block-style-006-expected.txt: Removed.
     45        * platform/mac/editing/style/fontsize-1-expected.checksum: Removed.
     46        * platform/mac/editing/style/fontsize-1-expected.png: Removed.
     47        * platform/mac/editing/style/fontsize-1-expected.txt: Removed.
     48        * platform/qt/editing/style/block-style-004-expected.txt: Removed.
     49        * platform/qt/editing/style/block-style-005-expected.txt: Removed.
     50        * platform/qt/editing/style/block-style-006-expected.txt: Removed.
     51        * platform/qt/editing/style/fontsize-1-expected.txt: Removed.
     52
    1532010-09-02  Sheriff Bot  <webkit.review.bot@gmail.com>
    254
  • trunk/LayoutTests/editing/style/block-style-004.html

    r18820 r66678  
    4646
    4747<script>
    48 runEditingTest();
     48runDumpAsTextEditingTest();
    4949</script>
    5050
  • trunk/LayoutTests/editing/style/block-style-005.html

    r18820 r66678  
    4646
    4747<script>
    48 runEditingTest();
     48runDumpAsTextEditingTest();
    4949</script>
    5050
  • trunk/LayoutTests/editing/style/block-style-006.html

    r18820 r66678  
    4747
    4848<script>
    49 runEditingTest();
     49runDumpAsTextEditingTest();
    5050</script>
    5151
  • trunk/LayoutTests/editing/style/fontsize-1.html

    r18820 r66678  
    1 <p>This test execCommand("FontSize", ...).  You should see 'small' 'medium' and 'large' below in every increasing font sizes.</p>
     1<script src="../../resources/dump-as-markup.js"></script>
    22<div id="div" contenteditable="true"></div>
    33<ul id="console"></ul>
    44
    55<script>
     6
     7Markup.description("This test execCommand('FontSize', ...).  You should see 'small' 'medium' and 'large' below in every increasing font sizes.")
     8
    69function log(str) {
    710    var li = document.createElement("li");
     
    1518
    1619sel.setPosition(div, 0);
     20Markup.dump(div, 'initial');
    1721
    1822if (document.execCommand("FontSize", false, "pasd"))
     
    2125if (!document.execCommand("FontSize", false, "2"))
    2226    log("Failure: execCommand('FontSize', [Legal value]) failed.");
     27Markup.dump(div, 'fontsize 2');
    2328
    2429document.execCommand("InsertText", false, "small");   
     30Markup.dump(div, 'type small');
    2531
    2632if (!document.execCommand("FontSize", false, "4"))
    2733    log("Failure: execCommand('FontSize', [Legal value]) failed.");
     34Markup.dump(div, 'fontsize 4');
    2835
    2936document.execCommand("InsertText", false, "medium");
     37Markup.dump(div, 'type medium');
    3038
    3139if (!document.execCommand("FontSize", false, "6"))
    3240    log("Failure: execCommand('FontSize', [Legal value]) failed.");
     41Markup.dump(div, 'fontsize 6');
    3342
    3443document.execCommand("InsertText", false, "large");
     44Markup.dump(div, 'type large');
     45
     46Markup.dump('console', 'console');
     47
    3548</script>
Note: See TracChangeset for help on using the changeset viewer.