[Webkit-unassigned] [Bug 38133] New: Can't select tr:first-child in table built with JS when element exists before first tr tag
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 26 11:57:24 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=38133
Summary: Can't select tr:first-child in table built with JS
when element exists before first tr tag
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: quinntaylor at mac.com
Created an attachment (id=54320)
--> (https://bugs.webkit.org/attachment.cgi?id=54320)
Sample HTML demonstrates problems with tr:first-child for JS-generated tables
I discovered that CSS rules that use tr:first-child don't work for tables built
up using JavaScript when there is an element (such as <caption> or <thead>)
that appears before the first <tr> tag. However, the rule works for me when an
identical table is specified in HTML. This behavior is problematic because one
would expect that the first row would be selectable regardless of how the table
is created.
I've attached an example HTML file that exhibits this problem. The issue occurs
for me in Safari 4, Mobile Safari 3.1.3, and the latest WebKit nightly. (FWIW,
Firefox 3.5.8 also fails identically.)
--
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