Changeset 250916 in webkit


Ignore:
Timestamp:
Oct 9, 2019 10:26:50 AM (5 years ago)
Author:
Chris Dumez
Message:

Unreviewed, address Darin's post-landing comments for r250912.

The array should be const.

  • css/CSSDefaultStyleSheets.cpp:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r250915 r250916  
     12019-10-09  Chris Dumez  <cdumez@apple.com>
     2
     3        Unreviewed, address Darin's post-landing comments for r250912.
     4
     5        The array should be const.
     6
     7        * css/CSSDefaultStyleSheets.cpp:
     8
    192019-10-09  Daniel Bates  <dabates@apple.com>
    210
  • trunk/Source/WebCore/css/CSSDefaultStyleSheets.cpp

    r250912 r250916  
    9494
    9595// FIXME: It would be nice to use some mechanism that guarantees this is in sync with the real UA stylesheet.
    96 static const char* simpleUserAgentStyleSheet = "html,body,div{display:block}" CSS_DARK_MODE_ADDITION "head{display:none}body{margin:8px}div:focus,span:focus,a:focus{outline:auto " DEFAULT_OUTLINE_WIDTH " -webkit-focus-ring-color}a:any-link{color:-webkit-link;text-decoration:underline}a:any-link:active{color:-webkit-activelink}";
     96static const char simpleUserAgentStyleSheet[] = "html,body,div{display:block}" CSS_DARK_MODE_ADDITION "head{display:none}body{margin:8px}div:focus,span:focus,a:focus{outline:auto " DEFAULT_OUTLINE_WIDTH " -webkit-focus-ring-color}a:any-link{color:-webkit-link;text-decoration:underline}a:any-link:active{color:-webkit-activelink}";
    9797
    9898static inline bool elementCanUseSimpleDefaultStyle(const Element& element)
Note: See TracChangeset for help on using the changeset viewer.