[webkit-changes] [WebKit/WebKit] 987db2: Validation message should be repositioned in a upd...
Ryosuke Niwa
noreply at github.com
Wed May 3 23:03:23 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 987db2a04859e9c6a68d0bc4e7ac89c99fb80402
https://github.com/WebKit/WebKit/commit/987db2a04859e9c6a68d0bc4e7ac89c99fb80402
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2023-05-03 (Wed, 03 May 2023)
Changed paths:
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Document.h
M Source/WebCore/html/ValidationMessage.cpp
M Source/WebCore/html/ValidationMessage.h
M Source/WebCore/page/Page.cpp
M Source/WebCore/page/Page.h
Log Message:
-----------
Validation message should be repositioned in a update-the-rendering step
https://bugs.webkit.org/show_bug.cgi?id=256291
Reviewed by Tim Nguyen.
Update the positions of validation messages as a rendering update step instead of a post layout task.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::scheduleToAdjustValidationMessagePosition):
(WebCore::Document::adjustValidationMessagePositions):
* Source/WebCore/dom/Document.h:
* Source/WebCore/html/ValidationMessage.cpp:
(WebCore::ValidationMessage::buildBubbleTree):
* Source/WebCore/html/ValidationMessage.h:
* Source/WebCore/page/Page.cpp:
(WebCore::Page::updateRendering):
(WebCore::operator<<):
* Source/WebCore/page/Page.h:
Canonical link: https://commits.webkit.org/263663@main
More information about the webkit-changes
mailing list