Bug 276302

Summary: [css-syntax] Implement special error recovery for ambiguous rule with custom properties
Product: WebKit Reporter: Matthieu Dubet <m_dubet>
Component: WebCore Misc.Assignee: Matthieu Dubet <m_dubet>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Matthieu Dubet
Reported 2024-07-07 16:47:57 PDT
https://drafts.csswg.org/css-syntax/#consume-qualified-rule If the first two non-<whitespace-token> values of rule’s prelude are an <ident-token> whose value starts with "--" followed by a <colon-token>, then: If nested is true, consume the remnants of a bad declaration from input, with nested set to true, and return nothing. If nested is false, consume a block from input, and return nothing.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-07-07 16:48:24 PDT
Matthieu Dubet
Comment 2 2024-07-07 17:05:39 PDT
EWS
Comment 3 2024-07-18 15:43:18 PDT
Committed 281108@main (445f89c8ea16): <https://commits.webkit.org/281108@main> Reviewed commits have been landed. Closing PR #30554 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.