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

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

Issue 18254006: Repaint issues with vertical text which has absolute (or fixed) position specified for it. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com)
5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com)
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed. 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserv ed.
7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. 7 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 1913 matching lines...) Expand 10 before | Expand all | Expand 10 after
1924 if (repaintContainer->style()->isFlippedBlocksWritingMode()) 1924 if (repaintContainer->style()->isFlippedBlocksWritingMode())
1925 flipForWritingMode(rect); 1925 flipForWritingMode(rect);
1926 return; 1926 return;
1927 } 1927 }
1928 1928
1929 bool containerSkipped; 1929 bool containerSkipped;
1930 RenderObject* o = container(repaintContainer, &containerSkipped); 1930 RenderObject* o = container(repaintContainer, &containerSkipped);
1931 if (!o) 1931 if (!o)
1932 return; 1932 return;
1933 1933
1934 if (isWritingModeRoot() && !isOutOfFlowPositioned()) 1934 if (isWritingModeRoot())
1935 flipForWritingMode(rect); 1935 flipForWritingMode(rect);
1936 1936
1937 LayoutPoint topLeft = rect.location(); 1937 LayoutPoint topLeft = rect.location();
1938 topLeft.move(locationOffset()); 1938 topLeft.move(locationOffset());
1939 1939
1940 EPosition position = styleToUse->position(); 1940 EPosition position = styleToUse->position();
1941 1941
1942 // We are now in our parent container's coordinate space. Apply our transfo rm to obtain a bounding box 1942 // We are now in our parent container's coordinate space. Apply our transfo rm to obtain a bounding box
1943 // in the parent's coordinate space that encloses us. 1943 // in the parent's coordinate space that encloses us.
1944 if (hasLayer() && layer()->transform()) { 1944 if (hasLayer() && layer()->transform()) {
(...skipping 2649 matching lines...) Expand 10 before | Expand all | Expand 10 after
4594 4594
4595 void RenderBox::reportStaticMembersMemoryUsage(MemoryInstrumentation* memoryInst rumentation) 4595 void RenderBox::reportStaticMembersMemoryUsage(MemoryInstrumentation* memoryInst rumentation)
4596 { 4596 {
4597 memoryInstrumentation->addRootObject(gOverrideHeightMap, WebCoreMemoryTypes: :RenderingStructures); 4597 memoryInstrumentation->addRootObject(gOverrideHeightMap, WebCoreMemoryTypes: :RenderingStructures);
4598 memoryInstrumentation->addRootObject(gOverrideWidthMap, WebCoreMemoryTypes:: RenderingStructures); 4598 memoryInstrumentation->addRootObject(gOverrideWidthMap, WebCoreMemoryTypes:: RenderingStructures);
4599 memoryInstrumentation->addRootObject(gOverrideContainingBlockLogicalHeightMa p, WebCoreMemoryTypes::RenderingStructures); 4599 memoryInstrumentation->addRootObject(gOverrideContainingBlockLogicalHeightMa p, WebCoreMemoryTypes::RenderingStructures);
4600 memoryInstrumentation->addRootObject(gOverrideContainingBlockLogicalWidthMap , WebCoreMemoryTypes::RenderingStructures); 4600 memoryInstrumentation->addRootObject(gOverrideContainingBlockLogicalWidthMap , WebCoreMemoryTypes::RenderingStructures);
4601 } 4601 }
4602 4602
4603 } // namespace WebCore 4603 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698