Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 80af29c993f83bdb5b220f3290cb3e5b6cb6b12f
      
https://github.com/WebKit/WebKit/commit/80af29c993f83bdb5b220f3290cb3e5b6cb6b12f
  Author: Gerald Squelart <g_squel...@apple.com>
  Date:   2025-01-20 (Mon, 20 Jan 2025)

  Changed paths:
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h
    M Source/WebCore/page/QuirksData.h
    M Source/WebCore/style/StyleAdjuster.cpp

  Log Message:
  -----------
  Add a quirk to zomato.com, to prevent hiding the caret in login-by-email
https://bugs.webkit.org/show_bug.cgi?id=286123
rdar://128962778

Reviewed by Anne van Kesteren.

When trying to log in with an email, the <input> is followed by a <label>
that displays "Email" when the input is empty. (Similar to what a
'placeholder' attribute would do.) But that label has a white background,
which can hide the input's blinking caret at certain zoom levels.

To make sure the caret stays visible, this patch adds a quirk that
replaces that label's background color with a fully-transparent color.

* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::needsZomatoEmailLoginLabelQuirk const):
(WebCore::handleZomatoQuirks):
(WebCore::Quirks::determineRelevantQuirks):
* Source/WebCore/page/Quirks.h:
* Source/WebCore/page/QuirksData.h:
* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::Adjuster::adjustForSiteSpecificQuirks const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to