WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
265254
Web Inspector: The `tan()` function triggers the color picker
https://bugs.webkit.org/show_bug.cgi?id=265254
Summary
Web Inspector: The `tan()` function triggers the color picker
Bramus
Reported
2023-11-22 09:28:22 PST
Created
attachment 468731
[details]
Screenshot of Web Inspector 1. Visit
https://codepen.io/thebabydino/pen/JjxvKLe
2. Inspect the `<html>` element (of the demo in the `<iframe>`) 3. Check the value for `--m` Web Inspector is showing the Color Picker for it, most likely because it sees “tan” in there which is a named color. /via
https://twitter.com/anatudor/status/1727371562146533592
Attachments
Screenshot of Web Inspector
(232.93 KB, image/png)
2023-11-22 09:28 PST
,
Bramus
no flags
Details
Test case
(187 bytes, text/html)
2023-11-22 11:03 PST
,
Razvan Caliman
no flags
Details
Screenshot of Web Inspector with patch applied
(402.47 KB, image/png)
2023-11-22 11:04 PST
,
Razvan Caliman
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Razvan Caliman
Comment 1
2023-11-22 10:49:25 PST
Well, this is embarrassing :) Thanks for filing the issue!
Radar WebKit Bug Importer
Comment 2
2023-11-22 10:49:56 PST
<
rdar://problem/118724061
>
Razvan Caliman
Comment 3
2023-11-22 11:02:34 PST
Pull request:
https://github.com/WebKit/WebKit/pull/20829
Razvan Caliman
Comment 4
2023-11-22 11:03:52 PST
Created
attachment 468732
[details]
Test case
Razvan Caliman
Comment 5
2023-11-22 11:04:39 PST
Created
attachment 468733
[details]
Screenshot of Web Inspector with patch applied
Bramus
Comment 6
2023-11-23 01:12:36 PST
> Well, this is embarrassing :)
FWIW: Chrome also affected by this 😅 Thanks for fixing this so quickly.
EWS
Comment 7
2023-11-23 03:22:13 PST
Committed
271075@main
(edd9c3ef508e): <
https://commits.webkit.org/271075@main
> Reviewed commits have been landed. Closing PR #20829 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug