Bug 16982

Summary: <script> tag causes :first-child rule to fail to match in Acid3
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: CSSAssignee: Dave Hyatt <hyatt>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
test case
none
Patch to fix the bug. mitz: review+

Eric Seidel (no email)
Reported 2008-01-23 00:18:51 PST
<script> tag causes :first-child rule to fail to match Acid3 See attached test case. Compare with Opera's rendering.
Attachments
test case (1.13 KB, text/html)
2008-01-23 00:19 PST, Eric Seidel (no email)
no flags
Patch to fix the bug. (608 bytes, patch)
2008-01-23 12:37 PST, Dave Hyatt
mitz: review+
Eric Seidel (no email)
Comment 1 2008-01-23 00:19:07 PST
Created attachment 18617 [details] test case
Dave Hyatt
Comment 2 2008-01-23 00:23:51 PST
The <script> should be in the implicit <head> created by <style>. Not sure why that didn't happen. Investigating.
Dave Hyatt
Comment 3 2008-01-23 12:37:09 PST
Created attachment 18622 [details] Patch to fix the bug. Existing layout tests change and so no new ones are required.
mitz
Comment 4 2008-01-23 12:40:24 PST
Comment on attachment 18622 [details] Patch to fix the bug. r=me
Dave Hyatt
Comment 5 2008-01-24 13:53:42 PST
Fixed in r29775-29777.
Note You need to log in before you can comment on or make changes to this bug.