RESOLVED FIXED 232750
Remove separate classes for CSS wide keywords (initial/inherit/unset/revert)
https://bugs.webkit.org/show_bug.cgi?id=232750
Summary Remove separate classes for CSS wide keywords (initial/inherit/unset/revert)
Antti Koivisto
Reported 2021-11-05 03:25:31 PDT
They can all be handled by CSSPrimitiveValue.
Attachments
Patch (61.09 KB, patch)
2021-11-05 03:27 PDT, Antti Koivisto
no flags
Patch (226.48 KB, patch)
2021-11-05 09:07 PDT, Antti Koivisto
no flags
Patch (222.01 KB, patch)
2021-11-05 09:12 PDT, Antti Koivisto
no flags
Patch (223.52 KB, patch)
2021-11-05 10:32 PDT, Antti Koivisto
no flags
Patch (222.98 KB, patch)
2021-11-05 10:37 PDT, Antti Koivisto
no flags
Patch (64.78 KB, patch)
2021-11-06 05:36 PDT, Antti Koivisto
no flags
Patch (64.36 KB, patch)
2021-11-06 07:04 PDT, Antti Koivisto
no flags
Patch (64.94 KB, patch)
2021-11-06 07:22 PDT, Antti Koivisto
no flags
Patch for landing (65.79 KB, patch)
2021-11-06 11:39 PDT, Antti Koivisto
no flags
Antti Koivisto
Comment 1 2021-11-05 03:27:45 PDT
Antti Koivisto
Comment 2 2021-11-05 09:07:37 PDT
Antti Koivisto
Comment 3 2021-11-05 09:12:39 PDT
Antti Koivisto
Comment 4 2021-11-05 10:32:56 PDT
Antti Koivisto
Comment 5 2021-11-05 10:37:26 PDT
Antti Koivisto
Comment 6 2021-11-06 05:36:51 PDT
Antti Koivisto
Comment 7 2021-11-06 07:04:50 PDT
Antti Koivisto
Comment 8 2021-11-06 07:22:51 PDT
Tim Nguyen (:ntim)
Comment 9 2021-11-06 09:08:31 PDT
*** Bug 224815 has been marked as a duplicate of this bug. ***
Sam Weinig
Comment 10 2021-11-06 09:44:53 PDT
Comment on attachment 443485 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=443485&action=review > Source/WebCore/bindings/js/JSDeprecatedCSSOMValueCustom.cpp:54 > + if (value->isPrimitiveValue() && !downcast<DeprecatedCSSOMPrimitiveValue>(value.get()).isCSSWideKeyword()) This could use a comment and/or a dedicated predicate that states that the value should be exposed as something else.
Antti Koivisto
Comment 11 2021-11-06 11:39:15 PDT
Created attachment 443489 [details] Patch for landing
EWS
Comment 12 2021-11-06 12:21:06 PDT
Committed r285373 (243930@main): <https://commits.webkit.org/243930@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 443489 [details].
Radar WebKit Bug Importer
Comment 13 2021-11-06 12:22:20 PDT
Note You need to log in before you can comment on or make changes to this bug.