Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: LayoutTests/paint/invalidation/percentage-transform-paint-offset.html

Issue 1355753008: RuntimeEnabledFeatures::slimmingPaintOffsetCaching (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/run-after-layout-and-paint.js"></script>
3 <script>
4 onload = function() {
5 runAfterLayoutAndPaint(function() {
6 document.getElementById('container-outer').style.width = '600px';
7 }, true);
8 };
9 </script>
10 <style>
11 #container-outer {
12 background-color: red;
13 height: 300px;
14 transform: translateX(400%);
15 width: 400px;
16 }
17 #container-inner {
18 background-color: green;
19 height: 300px;
20 left: -400%;
21 position: absolute;
22 width: 100%;
23 }
24 #content {
25 background-color: blue;
26 height: 300px;
27 width: 300px;
28 }
29 </style>
30 Tests paint invalidation on resize of container with percentage-transform (causi ng change of paint offset, but no change of paint invalidation offset). Passes i f there is a blue square and a green square side-by-side.
31 <div style="overflow: hidden; width: 700px; height: 500px"><!-- to avoid scrollb ar -->
32 <div id="container-outer">
33 <div id="container-inner">
34 <div id="content"></div>
35 </div>
36 </div>
37 </div>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/paint/invalidation/percentage-transform-paint-offset-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698