Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ac072d32dcece2c835a524b3c6d1c15d995805af
      
https://github.com/WebKit/WebKit/commit/ac072d32dcece2c835a524b3c6d1c15d995805af
  Author: Chris Dumez <[email protected]>
  Date:   2026-02-07 (Sat, 07 Feb 2026)

  Changed paths:
    M Source/WebCore/css/html.css

  Log Message:
  -----------
  WebCore/css/html.css:862:24: warning: empty character constant 
[-Winvalid-pp-token]
https://bugs.webkit.org/show_bug.cgi?id=307160

Reviewed by Tim Nguyen.

The CSS `content: '\2713' / '';` syntax uses an empty string as
alternative text for accessibility. Since html.css is processed by
the C preprocessor (for #if directives), the empty single quotes ''
trigger a warning about an empty character constant.

Use double quotes "" instead, which is equivalent in CSS but valid
in C as an empty string literal.

* Source/WebCore/css/html.css:
(input[type=checkbox]:not([switch]):checked::checkmark):

Canonical link: https://commits.webkit.org/306998@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to