Commit c08801b2 authored by Yoichi Osato's avatar Yoichi Osato Committed by Commit Bot

Rebase paint/invalidation/selection/selection-rl.html

For LegacyLayout, we have to do character-range-based partial invalidation for selections
because a LayoutText is too big to be fully invalidates for selection.
In the other hand, we're invalidating each NGPaintfragment. So no further grain invalidation,
which is based on character range that we're doing for legacy, is not needed.

Bug: 708452
Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng
Change-Id: Id011ced00ee2de43efdc9bf35f7ad922b0cf1078
Reviewed-on: https://chromium-review.googlesource.com/1198744Reviewed-by: default avatarXianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#587946}
parent 664e2296
......@@ -488,7 +488,6 @@ crbug.com/591099 paint/invalidation/position/intermediate-layout-position.html [
crbug.com/714962 paint/invalidation/position/relative-positioned-movement-repaint.html [ Failure ]
crbug.com/591099 paint/invalidation/position/relayout-fixed-position-after-scale.html [ Failure ]
crbug.com/591099 paint/invalidation/scroll/repaint-composited-child-in-scrolled-container.html [ Failure ]
crbug.com/591099 paint/invalidation/selection/selection-rl.html [ Failure ]
crbug.com/591099 paint/invalidation/svg/animated-path-inside-transformed-html.xhtml [ Failure Pass ]
crbug.com/591099 paint/invalidation/svg/resize-svg-invalidate-children.html [ Failure ]
crbug.com/591099 paint/invalidation/svg/svg-background-partial-redraw.html [ Failure ]
......
{
"layers": [
{
"name": "LayoutView #document",
"bounds": [800, 600],
"drawsContent": false,
"backgroundColor": "#FFFFFF"
},
{
"name": "Scrolling Layer",
"bounds": [800, 600],
"drawsContent": false
},
{
"name": "Scrolling Contents Layer",
"bounds": [800, 600],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF",
"paintInvalidations": [
{
"object": "NGPhysicalTextFragment 'Testing both hit testing'",
"rect": [772, 8, 20, 143],
"reason": "selection"
}
]
}
]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment