[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

eric at webkit.org eric at webkit.org
Thu Apr 8 02:20:01 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit d67a478f24a277e7bf992ef5dd4420e8bd0486b7
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Mar 12 02:47:38 2010 +0000

    2010-03-11  Ryosuke Niwa  <rniwa at webkit.org>
    
            Reviewed by Darin Adler.
    
            Applying h1 format to text node after HR tag fails to include first letter of text node.
            https://bugs.webkit.org/show_bug.cgi?id=30148
    
            This patch adds a test case to the above bug, which has been fixed by
            http://trac.webkit.org/changeset/55705.
    
            * editing/style/heading-text-after-hr-expected.txt: Added.
            * editing/style/heading-text-after-hr.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55876 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 69049fd..30590db 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,16 @@
+2010-03-11  Ryosuke Niwa  <rniwa at webkit.org>
+
+        Reviewed by Darin Adler.
+
+        Applying h1 format to text node after HR tag fails to include first letter of text node.
+        https://bugs.webkit.org/show_bug.cgi?id=30148
+
+        This patch adds a test case to the above bug, which has been fixed by
+        http://trac.webkit.org/changeset/55705.
+
+        * editing/style/heading-text-after-hr-expected.txt: Added.
+        * editing/style/heading-text-after-hr.html: Added.
+
 2010-03-11  Jian Li  <jianli at chromium.org>
 
         Reviewed by Dmitry Titov.
diff --git a/LayoutTests/editing/style/heading-text-after-hr-expected.txt b/LayoutTests/editing/style/heading-text-after-hr-expected.txt
new file mode 100644
index 0000000..d54e0a9
--- /dev/null
+++ b/LayoutTests/editing/style/heading-text-after-hr-expected.txt
@@ -0,0 +1,6 @@
+This tests formatting a text immediately after hr with h1 tag.
+
+test
+
+Before:<hr>test
+After:<hr><h1>test</h1>
diff --git a/LayoutTests/editing/style/heading-text-after-hr.html b/LayoutTests/editing/style/heading-text-after-hr.html
new file mode 100644
index 0000000..a05accc
--- /dev/null
+++ b/LayoutTests/editing/style/heading-text-after-hr.html
@@ -0,0 +1,25 @@
+<html>
+<body>
+<p>This tests formatting a text immediately after hr with h1 tag.</p>
+<div id="e" contenteditable><hr>test</div>
+
+<ul>
+<li>Before:<span id="c1"></span></li>
+<li>After:<span id="c2"></span></li>
+</ul>
+
+<script type="text/javascript">
+
+if (window.layoutTestController)
+    layoutTestController.dumpAsText();
+
+var e = document.getElementById('e');
+document.getElementById('c1').appendChild(document.createTextNode(e.innerHTML));
+
+var s = window.getSelection();
+s.setPosition(document.getElementById('e'), 1);
+document.execCommand("formatblock", false, "h1");
+
+document.getElementById('c2').appendChild(document.createTextNode(e.innerHTML));
+
+</script>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list