WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
238857
Remove some @apply leftover code
https://bugs.webkit.org/show_bug.cgi?id=238857
Summary
Remove some @apply leftover code
Antti Koivisto
Reported
2022-04-06 01:15:37 PDT
@apply is not a thing.
Attachments
Patch
(10.05 KB, patch)
2022-04-06 01:18 PDT
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2022-04-06 01:18:21 PDT
Created
attachment 456789
[details]
Patch
Tim Nguyen (:ntim)
Comment 2
2022-04-06 01:37:42 PDT
Comment on
attachment 456789
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=456789&action=review
> Source/WebCore/css/parser/CSSVariableParser.cpp:91 > + case AtKeywordToken: > break;
Is it possible to delete this? `default:` bellow seems to handle it.
Antti Koivisto
Comment 3
2022-04-06 01:56:42 PDT
> Is it possible to delete this? `default:` bellow seems to handle it.
A better direction might be to eliminate the default branch. Then everyone who adds a new token type needs to consider this code too.
EWS
Comment 4
2022-04-06 02:17:51 PDT
Committed
r292455
(
249306@main
): <
https://commits.webkit.org/249306@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 456789
[details]
.
Radar WebKit Bug Importer
Comment 5
2022-04-06 02:18:18 PDT
<
rdar://problem/91342745
>
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