-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[scroll-to-text-fragment] Apply :target CSS pseudo-class to match.
Per the spec, the common ancestor element of the match range becomes the target element[1] and should have the :target pseudo-class applied. [1] https://html.spec.whatwg.org/multipage/browsing-the-web.html#target-element Bug: 959163 Change-Id: Idb462a17972f4758df9617653f03b88196fd565a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1965273 Reviewed-by: David Bokan <bokan@chromium.org> Commit-Queue: Nick Burris <nburris@chromium.org> Cr-Commit-Position: refs/heads/master@{#726031}
- Loading branch information
Showing
2 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters