[webkit-changes] [WebKit/WebKit] 565c29: Don't show 'cursor: pointer' on unclickable <area>...
Ahmad Saleem
noreply at github.com
Mon Apr 3 20:12:34 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 565c294fbf5fe2ba6ef15fbb52f561bd5b7e1420
https://github.com/WebKit/WebKit/commit/565c294fbf5fe2ba6ef15fbb52f561bd5b7e1420
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2023-04-03 (Mon, 03 Apr 2023)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-css-user-agent-style-sheet-and-presentational-hints/mouse-cursor-imagemap-expected.txt
M Source/WebCore/css/html.css
Log Message:
-----------
Don't show 'cursor: pointer' on unclickable <area> by updating UA Stylesheet
https://bugs.webkit.org/show_bug.cgi?id=254769
Reviewed by Simon Fraser.
This patch aligns WebKit with Blink / Chromium and Gecko / Firefox.
Merge - https://chromium.googlesource.com/chromium/src.git/+/459b7d5eaf26a0c71ebb81a12ce354eaefe980c0
This patch is to update unclickable 'area' element to not show 'pointer' cursor
aligned with HTML Web-Spec [1]:
'The href attribute on a and area elements is not
required; when those elements do not have href
attributes they do not create hyperlinks.'
[1] https://html.spec.whatwg.org/#links-created-by-a-and-area-elements
* Source/WebCore/css/html.css: Updated for 'area' link
* LayoutTests/imported/w3c/web-platform-tests/html/rendering/the-css-user-agent-style-sheet-and-presentational-hints/mouse-cursor-imagemap-expected.txt: Rebaselined
Canonical link: https://commits.webkit.org/262559@main
More information about the webkit-changes
mailing list