Bug 13123

Summary: CSS selectors that use :lang, :not, and namespaces do not serialize correctly
Product: WebKit Reporter: Darin Adler <darin>
Component: CSSAssignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
patch, with change log and test case mitz: review+

Darin Adler
Reported 2007-03-19 16:15:00 PDT
CSS selectors that use :lang, :not, and namespaces do not serialize correctly. I noticed this while working on another bug awhile back and created a test case and fixes.
Attachments
patch, with change log and test case (12.64 KB, patch)
2007-03-19 16:16 PDT, Darin Adler
mitz: review+
Darin Adler
Comment 1 2007-03-19 16:16:03 PDT
Created attachment 13709 [details] patch, with change log and test case
mitz
Comment 2 2007-03-20 06:48:46 PDT
Comment on attachment 13709 [details] patch, with change log and test case The outer if block needs braces. + if (m_match == CSSSelector::None || !prefix.isNull() || localName != starAtom) + if (prefix.isNull()) + str = localName; + else + str = prefix + "|" + localName; r=me
Darin Adler
Comment 3 2007-03-24 20:04:16 PDT
Committed revision 20477.
Note You need to log in before you can comment on or make changes to this bug.