Commit b5b64ec7 authored by Xianzhu Wang's avatar Xianzhu Wang Committed by Commit Bot

Remove two paint/invalidation tests that were written for horizontal-bt

The tests were written for testing horizontal-bt (crrev.com/128a4df4).
Then when we removed horizontal-bt mode, we changed them to test
vertical-rl, but the changed tests try to repaint something totally
invisible. I'm deleting them because they are actually testing nothing,
and I don't know the original intent.

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Change-Id: Ie807413e8ebec50b01ed0c18eef6153ad9114677
Reviewed-on: https://chromium-review.googlesource.com/749626Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#513301}
parent 8001500f
......@@ -7542,8 +7542,6 @@ crbug.com/591099 paint/invalidation/overflow-auto-in-overflow-auto-scrolled.html
crbug.com/591099 paint/invalidation/overflow-changed-on-child-of-composited-layer.html [ Failure ]
crbug.com/591099 paint/invalidation/overflow-clip-subtree-layout.html [ Failure Pass ]
crbug.com/591099 paint/invalidation/overflow-delete-line.html [ Failure ]
crbug.com/591099 paint/invalidation/overflow-flipped-writing-mode-block.html [ Failure Pass ]
crbug.com/591099 paint/invalidation/overflow-flipped-writing-mode-table.html [ Failure Pass ]
crbug.com/591099 paint/invalidation/overflow-hidden-in-overflow-hidden-scrolled.html [ Failure ]
crbug.com/591099 paint/invalidation/overflow-hidden-to-visible.html [ Failure ]
crbug.com/591099 paint/invalidation/overflow-hidden-yet-scrolled-with-custom-scrollbar.html [ Failure ]
......
{
"layers": [
{
"name": "LayoutView #document",
"bounds": [800, 600],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF",
"paintInvalidations": [
{
"object": "LayoutBlockFlow DIV id='target'",
"rect": [-92, 108, 50, 100],
"reason": "disappeared"
}
]
}
],
"objectPaintInvalidations": [
{
"object": "LayoutBlockFlow DIV id='target'",
"reason": "style change"
}
]
}
{
"layers": [
{
"name": "LayoutView #document",
"bounds": [800, 600],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF",
"paintInvalidations": [
{
"object": "LayoutBlockFlow DIV id='target'",
"rect": [-92, 108, 50, 100],
"reason": "disappeared"
}
]
}
],
"objectPaintInvalidations": [
{
"object": "LayoutBlockFlow DIV id='target'",
"reason": "style change"
}
]
}
{
"layers": [
{
"name": "LayoutView #document",
"bounds": [800, 600],
"backgroundColor": "#FFFFFF"
},
{
"name": "Scrolling Layer",
"bounds": [800, 600],
"drawsContent": false
},
{
"name": "Scrolling Contents Layer",
"bounds": [800, 600],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF",
"paintInvalidations": [
{
"object": "LayoutBlockFlow DIV id='target'",
"rect": [-92, 108, 50, 100],
"reason": "style change"
}
]
}
],
"objectPaintInvalidations": [
{
"object": "LayoutBlockFlow DIV id='target'",
"reason": "style change"
}
]
}
{
"layers": [
{
"name": "LayoutView #document",
"bounds": [800, 600],
"backgroundColor": "#FFFFFF"
},
{
"name": "Scrolling Layer",
"bounds": [800, 600],
"drawsContent": false
},
{
"name": "Scrolling Contents Layer",
"bounds": [800, 600],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF",
"paintInvalidations": [
{
"object": "LayoutBlockFlow DIV id='target'",
"rect": [-92, 108, 50, 100],
"reason": "style change"
}
]
}
],
"objectPaintInvalidations": [
{
"object": "LayoutBlockFlow DIV id='target'",
"reason": "style change"
}
]
}
<div style="height: 100px; width: 100px; background-color: red; writing-mode: vertical-rl;">
<div style="width: 25px;">
<div style="width: 100px; background-color: green;"></div>
</div>
</div>
{
"layers": [
{
"name": "LayoutView #document",
"bounds": [800, 600],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF",
"paintInvalidations": [
{
"object": "LayoutBlockFlow DIV id='target'",
"rect": [-92, 108, 50, 100],
"reason": "style change"
}
]
}
],
"objectPaintInvalidations": [
{
"object": "LayoutBlockFlow DIV id='target'",
"reason": "style change"
}
]
}
<script src="resources/text-based-repaint.js"></script>
<script>
onload = runRepaintAndPixelTest;
function repaintTest()
{
document.getElementById("target").style.visibility = "hidden";
}
</script>
<div style="height: 100px; width: 100px; background-color: red; writing-mode: vertical-rl;">
<div style="width: 25px;">
<div style="width: 100px; background-color: green;"></div>
</div>
</div>
<div id="target" style="width: 50px; height: 100px; background-color: red; margin-left: -100px;"></div>
<div style="height: 100px; width: 100px; background-color: red; writing-mode: vertical-rl;">
<div style="display: table; height: 100px;">
<div style="width: 25px;">
<div style="width: 100px; background-color: green;"></div>
</div>
</div>
</div>
{
"layers": [
{
"name": "LayoutView #document",
"bounds": [800, 600],
"contentsOpaque": true,
"backgroundColor": "#FFFFFF",
"paintInvalidations": [
{
"object": "LayoutBlockFlow DIV id='target'",
"rect": [-92, 108, 50, 100],
"reason": "style change"
}
]
}
],
"objectPaintInvalidations": [
{
"object": "LayoutBlockFlow DIV id='target'",
"reason": "style change"
}
]
}
<script src="resources/text-based-repaint.js"></script>
<script>
onload = runRepaintAndPixelTest;
function repaintTest()
{
document.getElementById("target").style.visibility = "hidden";
}
</script>
<div style="height: 100px; width: 100px; background-color: red; writing-mode: vertical-rl;">
<div style="display: table; height: 100px;">
<div style="width: 25px;">
<div style="width: 100px; background-color: green;"></div>
</div>
</div>
</div>
<div id="target" style="width: 50px; height: 100px; background-color: red; margin-left: -100px;"></div>
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