Changeset 39078 in webkit
- Timestamp:
- Dec 6, 2008 10:15:49 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r39075 r39078 4 4 5 5 * editing/pasteboard/5780697-2-expected.txt: 6 7 2008-12-06 Simon Fraser <simon.fraser@apple.com> 8 9 Reviewed by Antti Koivisto, Dan Bernstein 10 11 https://bugs.webkit.org/show_bug.cgi?id=22088 12 13 Testcase for repaint issue when transform changes 14 15 * fast/repaint/transform-repaint-descendants.html: Added. 16 * platform/mac/fast/repaint/transform-repaint-descendants-expected.checksum: Added. 17 * platform/mac/fast/repaint/transform-repaint-descendants-expected.png: Added. 18 * platform/mac/fast/repaint/transform-repaint-descendants-expected.txt: Added. 6 19 7 20 2008-12-06 Simon Fraser <simon.fraser@apple.com> -
trunk/WebCore/ChangeLog
r39076 r39078 81 81 * editing/markup.cpp: 82 82 (WebCore::appendStartMarkup): 83 84 2008-12-06 Simon Fraser <simon.fraser@apple.com> 85 86 Reviewed by Antti Koivisto, Dan Bernstein 87 88 https://bugs.webkit.org/show_bug.cgi?id=22088 89 90 Fix logic related to repainting when transform changes: 91 If an object has a layer, and the transform changes, then we need 92 to do a repaintIncludingDescendants(), not just a repaint. 93 94 Test: fast/repaint/transform-repaint-descendants.html 95 96 * rendering/RenderObject.cpp: 97 (WebCore::RenderObject::styleWillChange): 83 98 84 99 2008-12-06 Simon Fraser <simon.fraser@apple.com> -
trunk/WebCore/rendering/RenderObject.cpp
r39069 r39078 2278 2278 // When a layout hint happens, we go ahead and do a repaint of the layer, since the layer could 2279 2279 // end up being destroyed. 2280 if (hasLayer() && 2281 (m_style->position() != newStyle->position() || 2282 m_style->zIndex() != newStyle->zIndex() || 2283 m_style->hasAutoZIndex() != newStyle->hasAutoZIndex() || 2284 !(m_style->clip() == newStyle->clip()) || 2285 m_style->hasClip() != newStyle->hasClip() || 2286 m_style->opacity() != newStyle->opacity())) 2280 if (hasLayer()) { 2281 if (m_style->position() != newStyle->position() || 2282 m_style->zIndex() != newStyle->zIndex() || 2283 m_style->hasAutoZIndex() != newStyle->hasAutoZIndex() || 2284 !(m_style->clip() == newStyle->clip()) || 2285 m_style->hasClip() != newStyle->hasClip() || 2286 m_style->opacity() != newStyle->opacity() || 2287 m_style->transform() != newStyle->transform()) 2287 2288 layer()->repaintIncludingDescendants(); 2288 else if (m_style->transform() != newStyle->transform()) {2289 } else if (m_style->transform() != newStyle->transform()) { 2289 2290 // If we don't have a layer yet, but we are going to get one because of a transform change, then 2290 2291 // we need to repaint the old position of the object
Note: See TracChangeset
for help on using the changeset viewer.