[webkit-changes] [WebKit/WebKit] 1f2c8f: [Quirk] prime.amazon.com: macOS double click on sc...
Jessica Cheung
noreply at github.com
Wed Oct 16 08:33:15 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1f2c8fc06d64d8c120b77023c1fe691abbeeaf40
https://github.com/WebKit/WebKit/commit/1f2c8fc06d64d8c120b77023c1fe691abbeeaf40
Author: Jessica Cheung <jcheung23 at apple.com>
Date: 2024-10-16 (Wed, 16 Oct 2024)
Changed paths:
M Source/WebCore/page/Quirks.cpp
M Source/WebCore/page/Quirks.h
M Source/WebCore/style/StyleAdjuster.cpp
Log Message:
-----------
[Quirk] prime.amazon.com: macOS double click on screen below pause button shows a blue box
https://bugs.webkit.org/show_bug.cgi?id=281242
rdar://128962002
Reviewed by Abrar Rahman Protyasha.
Added an amazon.com quirk to have `-webkit-user-select: none;` on `webPlayerSDKUiContainer`.
This way, the divs inside `webPlayerSDKUiContainer` cannot be selected.
This div only shows when prime video is playing.
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::needsPrimeVideoUserSelectNoneQuirk const):
* Source/WebCore/page/Quirks.h:
* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::Adjuster::adjustForSiteSpecificQuirks const):
Canonical link: https://commits.webkit.org/285267@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