Bug 247747

Summary: :lang() selectors should serialize without quotation marks if they were parsed without them
Product: WebKit Reporter: Darin Adler <darin>
Component: CSSAssignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Description Darin Adler 2022-11-10 09:58:18 PST
:lang() selectors should serialize without quotation marks if they were parsed without them

WPT tests make this clear, and while there is nothing obvious in the specification that explicitly calls for this, it does make logical sense. There is a relatively straightforward way to do this in the short term.
Comment 1 Radar WebKit Bug Importer 2022-11-10 09:58:58 PST
<rdar://problem/102198822>
Comment 2 Darin Adler 2022-11-10 12:53:09 PST
Pull request: https://github.com/WebKit/WebKit/pull/6359
Comment 3 EWS 2022-11-12 07:54:03 PST
Committed 256603@main (7e31f273a4e1): <https://commits.webkit.org/256603@main>

Reviewed commits have been landed. Closing PR #6359 and removing active labels.