Bug 256958 - :link is not parsed correctly in a combination with hsl colors.
Summary: :link is not parsed correctly in a combination with hsl colors.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://codepen.io/nhoizey/pen/gOBBeEz
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2023-05-18 04:35 PDT by Karl Dubost
Modified: 2023-05-23 05:06 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Dubost 2023-05-18 04:35:13 PDT
Let's take the first case. 

https://codepen.io/webcompat/pen/NWOOzyp?editors=1100
:link applies the background-color and not ::link


But if we go to 
https://codepen.io/nhoizey/pen/gOBBeEz
This :link is not applied. 
Funnily enough if I do ::link instead, then the background-color is applied.


That might be related to parsing rules.
Comment 1 Radar WebKit Bug Importer 2023-05-18 04:35:27 PDT
<rdar://problem/109508572>