[Webkit-unassigned] [Bug 110595] New: Inconsistent behavior of the Selection API on tables, depending on whitespaces in HTML source

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 22 05:25:05 PST 2013


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

           Summary: Inconsistent behavior of the Selection API on tables,
                    depending on whitespaces in HTML source
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://jsfiddle.net/tTUJL/
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: csillag.kristof at gmail.com


When selecting parts of the DOM using the selection API,
the behavior related to tables is inconsistent.

Please check the demo here: http://jsfiddle.net/tTUJL/

This sample shows how inserting a newline between the TABLE and a TBODY tag changes (breaks) the behavior of WebKit's implementation of the Selection API. The HTML sources of the two tables shown is identical, except for some newlines and spaces between the tags. However, selecting the TBODY works with the first one, but not with the second one. (Please hit the test buttons to see the results.)

(In FF, both tables work the same way.)

Detected with:
Chromium 24.0.1312.68 (Developer Build 180326) Debian 7.0
Powered by WebKit 537.17 (trunk at 132834)

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