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

Side by Side Diff: Source/core/rendering/RenderDeprecatedFlexibleBox.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 * This file is part of the render object implementation for KHTML. 2 * This file is part of the render object implementation for KHTML.
3 * 3 *
4 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 4 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
5 * (C) 1999 Antti Koivisto (koivisto@kde.org) 5 * (C) 1999 Antti Koivisto (koivisto@kde.org)
6 * Copyright (C) 2003 Apple Computer, Inc. 6 * Copyright (C) 2003 Apple Computer, Inc.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 if (previousSize.height() != height()) 290 if (previousSize.height() != height())
291 relayoutChildren = true; 291 relayoutChildren = true;
292 292
293 layoutPositionedObjects(relayoutChildren || isDocumentElement()); 293 layoutPositionedObjects(relayoutChildren || isDocumentElement());
294 294
295 computeRegionRangeForBlock(flowThreadContainingBlock()); 295 computeRegionRangeForBlock(flowThreadContainingBlock());
296 296
297 computeOverflow(oldClientAfterEdge); 297 computeOverflow(oldClientAfterEdge);
298 } 298 }
299 299
300 updateLayerTransform(); 300 updateLayerTransformAfterLayout();
301 301
302 if (view()->layoutState()->pageLogicalHeight()) 302 if (view()->layoutState()->pageLogicalHeight())
303 setPageLogicalOffset(view()->layoutState()->pageLogicalOffset(*this, log icalTop())); 303 setPageLogicalOffset(view()->layoutState()->pageLogicalOffset(*this, log icalTop()));
304 304
305 // Update our scrollbars if we're overflow:auto/scroll/hidden now that we kn ow if 305 // Update our scrollbars if we're overflow:auto/scroll/hidden now that we kn ow if
306 // we overflow or not. 306 // we overflow or not.
307 if (hasOverflowClip()) 307 if (hasOverflowClip())
308 layer()->scrollableArea()->updateAfterLayout(); 308 layer()->scrollableArea()->updateAfterLayout();
309 309
310 // Repaint with our new bounds if they are different from our old bounds. 310 // Repaint with our new bounds if they are different from our old bounds.
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
1081 if (isPseudoElement()) 1081 if (isPseudoElement())
1082 return "RenderDeprecatedFlexibleBox (generated)"; 1082 return "RenderDeprecatedFlexibleBox (generated)";
1083 if (isAnonymous()) 1083 if (isAnonymous())
1084 return "RenderDeprecatedFlexibleBox (generated)"; 1084 return "RenderDeprecatedFlexibleBox (generated)";
1085 if (isRelPositioned()) 1085 if (isRelPositioned())
1086 return "RenderDeprecatedFlexibleBox (relative positioned)"; 1086 return "RenderDeprecatedFlexibleBox (relative positioned)";
1087 return "RenderDeprecatedFlexibleBox"; 1087 return "RenderDeprecatedFlexibleBox";
1088 } 1088 }
1089 1089
1090 } // namespace WebCore 1090 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698