Bug
1647455 [wpt PR 24295] - Use the correct layout invalidation root in StyleEngine::InvalidateStyleAndLayoutForFontUpdates, a=testonly
Automatic update from web-platform-tests
Use the correct layout invalidation root in StyleEngine::InvalidateStyleAndLayoutForFontUpdates
The function currently uses the LayoutObject of the documentElement as
the layout invalidation root, which is incorrect because there can be
objects not in its subtree. For example, a modal dialog.
This patch fixes it by using the LayoutView, the root of the layout
tree, as the layout invalidation root.
Bug:
1092411
Change-Id: Ic2475fe1fc9fd9029699a410b4f03a9f3812e240
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
2255738
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#781132}
--
wpt-commits:
80aec473c19f40c879df56657c9c4ee6ed8959ca
wpt-pr: 24295