[Webkit-unassigned] [Bug 57148] Delete table in contentEditable/designMode produces odd contents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 26 14:30:43 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=57148


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #95040|review?, commit-queue?      |review+, commit-queue+
               Flag|                            |




--- Comment #28 from Ryosuke Niwa <rniwa at webkit.org>  2011-05-26 14:30:43 PST ---
(From update of attachment 95040)
View in context: https://bugs.webkit.org/attachment.cgi?id=95040&action=review

r=me. Looking at new expected results, I say that this is a progression.

> LayoutTests/ChangeLog:13
> +        Add a test for the case given in the bug: deleting an unstyled table
> +        should not leave behind a style span.
> +
> +        Rebaseline tests now that -webkit-border-horizontal-spacing and -webkit-border-vertical-spacing
> +        style spans are no longer added on table and table cell deletion, and no longer applied when
> +        copying to the clipboard.

It'll be nice to align columns in the future.

> LayoutTests/editing/deleting/delete-last-char-in-table-expected.txt:4
> +PASS

This is great!

> LayoutTests/editing/deleting/delete-last-char-in-table.html:21
> +    var styledSpans = document.getElementsByTagName("span");
> +    result.innerHTML = styledSpans.length == 0 ? "PASS" : "FAIL";

Yup, this works.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list