[webkit-changes] [WebKit/WebKit] 0ccd3d: Make caretRangeFromPoint return empty range for co...

Rob Buis noreply at github.com
Tue Dec 20 10:06:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0ccd3d95a41631ffb5bb0d000bf8fafc11f1baab
      https://github.com/WebKit/WebKit/commit/0ccd3d95a41631ffb5bb0d000bf8fafc11f1baab
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2022-12-20 (Tue, 20 Dec 2022)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-080-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-080.html
    M Source/WebCore/dom/Document.cpp

  Log Message:
  -----------
  Make caretRangeFromPoint return empty range for content-visibility: hidden
https://bugs.webkit.org/show_bug.cgi?id=249473

Reviewed by Darin Adler.

Make caretRangeFromPoint return empty range for content-visibility: hidden since
the element's contents are empty.

* LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-080-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-080.html:
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::caretPositionFromPoint):

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




More information about the webkit-changes mailing list