Bug 256714

Summary: Newline breaks :host(:is()) parsing
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: karlcow, koivisto, ntim, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2023-05-12 09:54:20 PDT
Hi Team,

While going through Blink's commit, I came across another failing testcase:

Test Case - https://jsfiddle.net/t7qd4brz/

^ WebKit ToT is matching Firefox Nightly 115 in this test case, while Chrome Canary 115 is showing text as expected.

Blink Commit - https://chromium.googlesource.com/chromium/src/+/c397af87189cc4ea1370ec0afbc1d80cc5c4a56f

This patch refers to following WPT: https://wpt.fyi/results/css/selectors/is-where-parsing.html?label=master&label=experimental&aligned&q=is-where-parsing

From above, we only fail single test case:

> Nested inside :host, with combinators	

______

Just wanted to raise to get this fixed.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-05-19 09:55:19 PDT
<rdar://problem/109571326>
Comment 2 Ahmad Saleem 2023-10-10 03:39:16 PDT
Chrome Canary 120 now matches with Safari Technology Preview 180 and Firefox Nightly 120 and don't have any 'green' text.

Marking this as 'RESOLVED INVALID'.