Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e5a6ab8334097f126c55ea57ce8aea94e25776de
      
https://github.com/WebKit/WebKit/commit/e5a6ab8334097f126c55ea57ce8aea94e25776de
  Author: Said Abou-Hallawa <[email protected]>
  Date:   2026-02-13 (Fri, 13 Feb 2026)

  Changed paths:
    M Source/WebCore/html/HTMLInputElement.cpp
    M Source/WebCore/html/HTMLInputElement.h
    M Source/WebCore/rendering/updating/RenderTreeBuilderFormControls.cpp
    M Source/WebCore/style/StyleTreeResolver.cpp

  Log Message:
  -----------
  [appearance: base] Resolve and update the appearance: base pseudo elements by 
default
https://bugs.webkit.org/show_bug.cgi?id=307860
rdar://170018554

Reviewed by Tim Nguyen.

Resolving and updating the `appearance: base` pseudo elements should not rely on
the feature flag `cssAppearanceBaseEnabled` anymore. Instead we should allow
resolving and updating `appearance: base` pseudo elements only if the parent
checkbox is styled with `appearance: base`.

* Source/WebCore/html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::isCheckable const):
* Source/WebCore/html/HTMLInputElement.h:
* Source/WebCore/rendering/updating/RenderTreeBuilderFormControls.cpp:
(WebCore::RenderTreeBuilder::FormControls::updateAfterDescendants):
(WebCore::RenderTreeBuilder::FormControls::updatePseudoElement):
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::resolveElement):

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



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

Reply via email to