[Webkit-unassigned] [Bug 47166] querySelectorAll('body>:last-child') does not work unless HTML file ends with 'new-line'.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 5 12:59:44 PDT 2010


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


Adam Barth <abarth at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
         AssignedTo|webkit-unassigned at lists.web |abarth at webkit.org
                   |kit.org                     |
     Ever Confirmed|0                           |1




--- Comment #2 from Adam Barth <abarth at webkit.org>  2010-10-05 12:59:44 PST ---
We had trouble with the last-child selector early on when developing the new tree builder.  There's some API we need to call on an element when it's received its last child (as I recall).  I'll possible we're screwing that up in this case.

The newline at the end of the file gets moved to just inside the body element, which might be confusing something.

Thanks for the report.  I'll take a look.

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