[webkit-changes] [WebKit/WebKit] 93f73a: ::target-text cannot be applied on visited links

Aditya Keerthi noreply at github.com
Wed Aug 14 10:05:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 93f73ae142691349752f1f0b0e9852c950383d92
      https://github.com/WebKit/WebKit/commit/93f73ae142691349752f1f0b0e9852c950383d92
  Author: Aditya Keerthi <akeerthi at apple.com>
  Date:   2024-08-14 (Wed, 14 Aug 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/rendering/StyledMarkedText.cpp

  Log Message:
  -----------
  ::target-text cannot be applied on visited links
https://bugs.webkit.org/show_bug.cgi?id=278081
rdar://133814103

Reviewed by Tim Nguyen and Richard Robinson.

* LayoutTests/TestExpectations:

The fact that these styles are not web-exposed is covered by the already
passing WPT `css/css-pseudo/highlight-pseudos-visited-computed-001.html`.

* Source/WebCore/rendering/StyledMarkedText.cpp:
(WebCore::computeStyleForPseudoElementStyle):

Use `visitedDependentColorWithColorFilter` to account for visited styles.

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



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


More information about the webkit-changes mailing list