[Webkit-unassigned] [Bug 26501] New: layoutTestController should have dumpAsMarkup

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 17 17:08:43 PDT 2009


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

           Summary: layoutTestController should have dumpAsMarkup
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ojan at chromium.org
                CC: eric at webkit.org, jparent at google.com, rniwa at google.com


This is for tests that care about the resultant DOM, not the rendering of the
DOM. Note that these tests would *not* do pixel comparisons, so they have many
of the advantages of dumpAsText tests. This is essentially sugar for a
dumpAsText tests that spits out the body's innerHTML. 

Although, I wonder if it should also include the markup for the HTML and HEAD
elements. Seems like that would be good.

Also, it should somehow print the page's selection if there is one. Here's the
IRC discussion around that:
othermaciej: ojan: maybe there is a good way for the page itself to print the
selection range, if there is a good way to do so
<snip>...</snip>
ojan: othermaciej: i see two ways this could work
ojan: 1. after the markup dump, print the baseNode, baseOffset, etc like we do
currently with the renderdumps
ojan: 2. actually include something like [START_SELECTION] inline in the markup
ojan: i prefer 2. it's hard to make sense of the serialized selection stuff in
the renderdumps
othermaciej: 2. seems nice for reading though it's a bit harder to implement I
think
othermaciej: since you can't just directly print document.innerHTML
othermaciej: (and then do separate selection dumping)


-- 
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