Bug 22854

Summary: <source> tag not selected by css
Product: WebKit Reporter: Georges Marfurt <georges.marfurt>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: ap, rik
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.5   
Attachments:
Description Flags
reduced html file none

Description Georges Marfurt 2008-12-14 12:07:51 PST
The reducted html works not as expected  with webkit r39286
It does in Firefox 3.0.1
Comment 1 Georges Marfurt 2008-12-14 12:10:57 PST
Created attachment 26013 [details]
reduced html file
Comment 2 Anthony Ricaud 2008-12-15 00:37:04 PST
Confirmed with r39230
Comment 3 Georges Marfurt 2010-08-06 03:15:18 PDT
i hoped the new html5 parsing engine (r64727) would finally solve this 
problem, but it's not the case.
Comment 4 Alexey Proskuryakov 2010-08-06 06:29:02 PDT
What exactly is the problem here? Both Firefox and Safari render the lines as red, black, green. With nightly r64816, the DOM is even exactly the same as in Firefox 3.6.6.

I think the difference with Firefox 3.0.1 was caused by it lacking support for <video> element - <source> is part of it, and it has special requirements on where it can appear in the document.

As far as I can tell, this behaves correctly.