[Webkit-unassigned] [Bug 277660] New: Use an enum class for CSSValue Type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 5 17:42:01 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=277660

            Bug ID: 277660
           Summary: Use an enum class for CSSValue Type
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: EasyFix, GoodFirstBug
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zakr at apple.com
                CC: webkit-bug-importer at group.apple.com

We should use an enum class for the different types of CSSValues so we don't have to repeat "Class" in every name. We could even use the new `using enum`, so we don't need the identifier in front of each enum.

Relevant files:

https://github.com/WebKit/WebKit/blob/fbf46d69fa4deb0bad4471e749bf2349eb353356/Source/WebCore/css/CSSValue.h#L212

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240806/7f525adc/attachment.htm>


More information about the webkit-unassigned mailing list