|
Lines 1254-1260
bool RenderElement::repaintAfterLayoutIfNeeded(const RenderLayerModelObject* rep
a/Source/WebCore/rendering/RenderElement.cpp_sec1
|
| 1254 |
LayoutUnit shadowLeft; |
1254 |
LayoutUnit shadowLeft; |
| 1255 |
LayoutUnit shadowRight; |
1255 |
LayoutUnit shadowRight; |
| 1256 |
style().getBoxShadowHorizontalExtent(shadowLeft, shadowRight); |
1256 |
style().getBoxShadowHorizontalExtent(shadowLeft, shadowRight); |
| 1257 |
int borderRight = isBox() ? toRenderBox(this)->borderRight() : LayoutUnit::fromPixel(0); |
1257 |
LayoutUnit borderRight = isBox() ? toRenderBox(this)->borderRight() : LayoutUnit::fromPixel(0); |
| 1258 |
LayoutUnit boxWidth = isBox() ? toRenderBox(this)->width() : LayoutUnit(); |
1258 |
LayoutUnit boxWidth = isBox() ? toRenderBox(this)->width() : LayoutUnit(); |
| 1259 |
LayoutUnit minInsetRightShadowExtent = std::min<LayoutUnit>(-insetShadowExtent.right(), std::min<LayoutUnit>(newBounds.width(), oldBounds.width())); |
1259 |
LayoutUnit minInsetRightShadowExtent = std::min<LayoutUnit>(-insetShadowExtent.right(), std::min<LayoutUnit>(newBounds.width(), oldBounds.width())); |
| 1260 |
LayoutUnit borderWidth = std::max<LayoutUnit>(borderRight, std::max<LayoutUnit>(valueForLength(style().borderTopRightRadius().width(), boxWidth, &view()), valueForLength(style().borderBottomRightRadius().width(), boxWidth))); |
1260 |
LayoutUnit borderWidth = std::max<LayoutUnit>(borderRight, std::max<LayoutUnit>(valueForLength(style().borderTopRightRadius().width(), boxWidth, &view()), valueForLength(style().borderBottomRightRadius().width(), boxWidth))); |
|
Lines 1274-1280
bool RenderElement::repaintAfterLayoutIfNeeded(const RenderLayerModelObject* rep
a/Source/WebCore/rendering/RenderElement.cpp_sec2
|
| 1274 |
LayoutUnit shadowTop; |
1274 |
LayoutUnit shadowTop; |
| 1275 |
LayoutUnit shadowBottom; |
1275 |
LayoutUnit shadowBottom; |
| 1276 |
style().getBoxShadowVerticalExtent(shadowTop, shadowBottom); |
1276 |
style().getBoxShadowVerticalExtent(shadowTop, shadowBottom); |
| 1277 |
int borderBottom = isBox() ? toRenderBox(this)->borderBottom() : LayoutUnit::fromPixel(0); |
1277 |
LayoutUnit borderBottom = isBox() ? toRenderBox(this)->borderBottom() : LayoutUnit::fromPixel(0); |
| 1278 |
LayoutUnit boxHeight = isBox() ? toRenderBox(this)->height() : LayoutUnit(); |
1278 |
LayoutUnit boxHeight = isBox() ? toRenderBox(this)->height() : LayoutUnit(); |
| 1279 |
LayoutUnit minInsetBottomShadowExtent = std::min<LayoutUnit>(-insetShadowExtent.bottom(), std::min<LayoutUnit>(newBounds.height(), oldBounds.height())); |
1279 |
LayoutUnit minInsetBottomShadowExtent = std::min<LayoutUnit>(-insetShadowExtent.bottom(), std::min<LayoutUnit>(newBounds.height(), oldBounds.height())); |
| 1280 |
LayoutUnit borderHeight = std::max<LayoutUnit>(borderBottom, std::max<LayoutUnit>(valueForLength(style().borderBottomLeftRadius().height(), boxHeight), valueForLength(style().borderBottomRightRadius().height(), boxHeight, &view()))); |
1280 |
LayoutUnit borderHeight = std::max<LayoutUnit>(borderBottom, std::max<LayoutUnit>(valueForLength(style().borderBottomLeftRadius().height(), boxHeight), valueForLength(style().borderBottomRightRadius().height(), boxHeight, &view()))); |