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

Side by Side Diff: Source/core/rendering/RenderGrid.cpp

Issue 334373002: Clear absolute clip rects when transform changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Split updateTransform into two parts Created 6 years, 6 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
1 /* 1 /*
2 * Copyright (C) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 311
312 if (size() != previousSize) 312 if (size() != previousSize)
313 relayoutChildren = true; 313 relayoutChildren = true;
314 314
315 layoutPositionedObjects(relayoutChildren || isDocumentElement()); 315 layoutPositionedObjects(relayoutChildren || isDocumentElement());
316 316
317 computeRegionRangeForBlock(flowThreadContainingBlock()); 317 computeRegionRangeForBlock(flowThreadContainingBlock());
318 318
319 computeOverflow(oldClientAfterEdge); 319 computeOverflow(oldClientAfterEdge);
320 320
321 updateLayerTransform(); 321 updateLayerTransformAfterLayout();
322 322
323 // Update our scroll information if we're overflow:auto/scroll/hidden now th at we know if 323 // Update our scroll information if we're overflow:auto/scroll/hidden now th at we know if
324 // we overflow or not. 324 // we overflow or not.
325 if (hasOverflowClip()) 325 if (hasOverflowClip())
326 layer()->scrollableArea()->updateAfterLayout(); 326 layer()->scrollableArea()->updateAfterLayout();
327 327
328 repainter.repaintAfterLayout(); 328 repainter.repaintAfterLayout();
329 329
330 clearNeedsLayout(); 330 clearNeedsLayout();
331 } 331 }
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
1259 if (isOutOfFlowPositioned()) 1259 if (isOutOfFlowPositioned())
1260 return "RenderGrid (positioned)"; 1260 return "RenderGrid (positioned)";
1261 if (isAnonymous()) 1261 if (isAnonymous())
1262 return "RenderGrid (generated)"; 1262 return "RenderGrid (generated)";
1263 if (isRelPositioned()) 1263 if (isRelPositioned())
1264 return "RenderGrid (relative positioned)"; 1264 return "RenderGrid (relative positioned)";
1265 return "RenderGrid"; 1265 return "RenderGrid";
1266 } 1266 }
1267 1267
1268 } // namespace WebCore 1268 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698