[Webkit-unassigned] [Bug 26336] Some test cases in LayoutTests/editing/execCommand ought to use dumpAsText tests instead

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 17 15:14:35 PDT 2009


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


darin at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Some test cases in          |Some test cases in
                   |LayoutTests/editing/execComm|LayoutTests/editing/execComm
                   |and must be using dumpAsText|and ought to use dumpAsText
                   |tests                       |tests instead




------- Comment #30 from darin at apple.com  2009-06-17 15:14 PDT -------
(In reply to comment #28)
> Sad we can't pretty-print this:
>  36 <ol style="border: 1px solid red;"> <li>This should be in an ordered
> list.</li> </ol><span id="item1"><ul><li><span id="item1">This should be in an
> unordered list.</span> </li></ul></span><ol style="border: 1px solid
> red;"><br> This should be in an ordered list. <li>This should be in an ordered
> list.</li> </ol><ul><li>This should be in an unordered list.</li></ul><ol
> style="border: 1px solid red;"><li>This should be in an ordered list.</li>
> </ol><ul><li>This should be in an unordered list.</li></ul><ol style="border:
> 1px solid red;"> <li>This should be in an ordered list.</li> </ol> This should
> not be in a list.<br><ol><li>This should be in an ordered list.</li></ol>

But we can! There's no reason we just have to log innerHTML. We could use a
couple regular expressions to make it easier to read. I would if I was writing
a test with this as the result.


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



More information about the webkit-unassigned mailing list