Title: [115794] trunk/LayoutTests
Revision
115794
Author
[email protected]
Date
2012-05-01 21:57:30 -0700 (Tue, 01 May 2012)

Log Message

Unnecessary <form> tags created inside of an <iframe> with designMode on
https://bugs.webkit.org/show_bug.cgi?id=13126

Reviewed by Eric Seidel.

Add a regression test since this bug doesn't reproduce anymore but it's still good to test it.

* editing/inserting/insert-paragraph-inside-form-expected.txt: Added.
* editing/inserting/insert-paragraph-inside-form.html: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (115793 => 115794)


--- trunk/LayoutTests/ChangeLog	2012-05-02 04:44:03 UTC (rev 115793)
+++ trunk/LayoutTests/ChangeLog	2012-05-02 04:57:30 UTC (rev 115794)
@@ -1,3 +1,15 @@
+2012-05-01  Ryosuke Niwa  <[email protected]>
+
+        Unnecessary <form> tags created inside of an <iframe> with designMode on
+        https://bugs.webkit.org/show_bug.cgi?id=13126
+
+        Reviewed by Eric Seidel.
+
+        Add a regression test since this bug doesn't reproduce anymore but it's still good to test it.
+
+        * editing/inserting/insert-paragraph-inside-form-expected.txt: Added.
+        * editing/inserting/insert-paragraph-inside-form.html: Added.
+
 2012-05-01  Xiaomei Ji  <[email protected]>
 
         Skip editing/selection/move-by-word-visually-mac.html (introduced in r115788) in qt and wk2.

Added: trunk/LayoutTests/editing/inserting/insert-paragraph-inside-form-expected.txt (0 => 115794)


--- trunk/LayoutTests/editing/inserting/insert-paragraph-inside-form-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/editing/inserting/insert-paragraph-inside-form-expected.txt	2012-05-02 04:57:30 UTC (rev 115794)
@@ -0,0 +1,7 @@
+This tests inserting a paragraph inside a form element. We should do clone the form element.
+| <form>
+|   "hello"
+|   <br>
+|   <#selection-caret>
+|   <br>
+|   "world"

Added: trunk/LayoutTests/editing/inserting/insert-paragraph-inside-form.html (0 => 115794)


--- trunk/LayoutTests/editing/inserting/insert-paragraph-inside-form.html	                        (rev 0)
+++ trunk/LayoutTests/editing/inserting/insert-paragraph-inside-form.html	2012-05-02 04:57:30 UTC (rev 115794)
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<body>
+<div id="test" contenteditable><form>hello<br>world</form></div>
+<script src=""
+<script>
+
+Markup.description('This tests inserting a paragraph inside a form element. We should do clone the form element.')
+
+var form = document.querySelector('form');
+getSelection().collapse(form, 1);
+document.execCommand('InsertParagraph', false, null);
+
+Markup.dump('test');
+
+</script>
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to