Changeset 63672 in webkit
- Timestamp:
- Jul 19, 2010 9:48:36 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 8 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r63664 r63672 1 2010-07-19 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Simon Fraser. 4 5 <rdar://problem/7232109> Unpainted white area appears at the edge of the page when body has bg color 6 https://bugs.webkit.org/show_bug.cgi?id=34913 7 8 * fast/repaint/view-background-from-body-1.html: Added. 9 * fast/repaint/view-background-from-body-2.html: Added. 10 * platform/mac/fast/repaint/view-background-from-body-1-expected.checksum: Added. 11 * platform/mac/fast/repaint/view-background-from-body-1-expected.png: Added. 12 * platform/mac/fast/repaint/view-background-from-body-1-expected.txt: Added. 13 * platform/mac/fast/repaint/view-background-from-body-2-expected.checksum: Added. 14 * platform/mac/fast/repaint/view-background-from-body-2-expected.png: Added. 15 * platform/mac/fast/repaint/view-background-from-body-2-expected.txt: Added. 16 1 17 2010-07-19 Anders Carlsson <andersca@apple.com> 2 18 -
trunk/WebCore/ChangeLog
r63667 r63672 1 2010-07-19 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Simon Fraser. 4 5 <rdar://problem/7232109> Unpainted white area appears at the edge of the page when body has bg color 6 https://bugs.webkit.org/show_bug.cgi?id=34913 7 8 Tests: fast/repaint/view-background-from-body-1.html 9 fast/repaint/view-background-from-body-2.html 10 11 * rendering/RenderBox.cpp: 12 (WebCore::RenderBox::styleWillChange): If this is the body renderer and its current style is 13 null, repaint the view, similarly to how the view is repainted for any repaint-or-higher 14 style changes. 15 * rendering/RenderObjectChildList.cpp: 16 (WebCore::RenderObjectChildList::removeChildNode): If the removed child is the body renderer, 17 repaint the view, in case the body’s background was propagated to the view. 18 1 19 2010-07-19 Adam Roben <aroben@apple.com> 2 20 -
trunk/WebCore/rendering/RenderBox.cpp
r62118 r63672 4 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) 5 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 7 7 * 8 8 * This library is free software; you can redistribute it and/or … … 146 146 removeFloatingOrPositionedChildFromBlockLists(); 147 147 } 148 } 148 } else if (newStyle && isBody()) 149 view()->repaint(); 150 149 151 if (FrameView *frameView = view()->frameView()) { 150 152 bool newStyleIsFixed = newStyle && newStyle->position() == FixedPosition; -
trunk/WebCore/rendering/RenderObjectChildList.cpp
r60282 r63672 1 1 /* 2 * Copyright (C) 2009 Apple Inc.All rights reserved.2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 63 63 if (!owner->documentBeingDestroyed() && fullRemove && oldChild->m_everHadLayout) { 64 64 oldChild->setNeedsLayoutAndPrefWidthsRecalc(); 65 oldChild->repaint(); 66 } 67 65 if (oldChild->isBody()) 66 owner->view()->repaint(); 67 else 68 oldChild->repaint(); 69 } 70 68 71 // If we have a line box wrapper, delete it. 69 72 if (oldChild->isBox())
Note: See TracChangeset
for help on using the changeset viewer.