[Webkit-unassigned] [Bug 229622] New: Rename enums in CSSUnitType to CamelCase and remove CSS_ prefix

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 27 12:17:54 PDT 2021


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

            Bug ID: 229622
           Summary: Rename enums in CSSUnitType to CamelCase and remove
                    CSS_ prefix
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tho22 at apple.com

Rename enums in CSSUnitType to CamelCase and remove CSS_ prefix.

Most renames follow the format CSSUnitType::CSS_XXX_YYY => CSSUnitType::XxxYyy except for:
* If there exists a method CSSPrimitiveValue::IsXXXX(), then it's renamed to CssUnitType::XXXX instead. For example, CSS_VW is renamed to ViewportPercentageWidth because of CSSPrimitiveValue::IsViewportPercentageWidth()
* CSS_S is renamed to Second

Feel free to comment if you think an enum should be renamed to something else.

-- 
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/20210827/e428e61c/attachment.htm>


More information about the webkit-unassigned mailing list