Changeset 201407 in webkit for trunk/Source/WebCore/rendering/RenderBox.cpp
- Timestamp:
- May 25, 2016, 4:01:51 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/Source/WebCore/rendering/RenderBox.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/rendering/RenderBox.cpp
r201205 r201407 517 517 } 518 518 } 519 520 519 // Check for overflow clip. 521 520 // It's sufficient to just check one direction, since it's illegal to have visible on only one overflow value. 522 521 if (boxHasOverflowClip) { 523 if (!s_hadOverflowClip) 524 // Erase the overflow 525 repaint(); 522 if (!s_hadOverflowClip && hasRenderOverflow()) { 523 // Erase the overflow. 524 // Overflow changes have to result in immediate repaints of the entire layout overflow area because 525 // repaints issued by removal of descendants get clipped using the updated style when they shouldn't. 526 repaintRectangle(visualOverflowRect()); 527 repaintRectangle(layoutOverflowRect()); 528 } 526 529 setHasOverflowClip(); 527 530 } 528 531 } 529 530 532 setHasTransformRelatedProperty(styleToUse.hasTransformRelatedProperty()); 531 533 setHasReflection(styleToUse.boxReflect());
Note:
See TracChangeset
for help on using the changeset viewer.