|
Lines 1033-1038
void RenderInline::paintOutline(Graphics
Source/WebCore/rendering/RenderInline.cpp_sec1
|
| 1033 |
RootInlineBox* root = curr->root(); |
1033 |
RootInlineBox* root = curr->root(); |
| 1034 |
int top = max(root->lineTop(), curr->logicalTop()); |
1034 |
int top = max(root->lineTop(), curr->logicalTop()); |
| 1035 |
int bottom = min(root->lineBottom(), curr->logicalBottom()); |
1035 |
int bottom = min(root->lineBottom(), curr->logicalBottom()); |
|
|
1036 |
|
| 1037 |
for (RenderObject* currRenderObj = firstChild(); currRenderObj; currRenderObj = currRenderObj->nextSibling()) { |
| 1038 |
if (!currRenderObj->isText() && !currRenderObj->isListMarker()) { |
| 1039 |
top = min(top, toRenderBox(currRenderObj)->logicalTop()); |
| 1040 |
bottom = max(bottom, toRenderBox(currRenderObj)->logicalBottom()); |
| 1041 |
} |
| 1042 |
} |
| 1036 |
rects.append(IntRect(curr->x(), top, curr->logicalWidth(), bottom - top)); |
1043 |
rects.append(IntRect(curr->x(), top, curr->logicalWidth(), bottom - top)); |
| 1037 |
} |
1044 |
} |
| 1038 |
rects.append(IntRect()); |
1045 |
rects.append(IntRect()); |
|
Lines 1055-1061
void RenderInline::paintOutlineForLine(G
Source/WebCore/rendering/RenderInline.cpp_sec2
|
| 1055 |
int l = tx + thisline.x() - offset; |
1062 |
int l = tx + thisline.x() - offset; |
| 1056 |
int b = ty + thisline.maxY() + offset; |
1063 |
int b = ty + thisline.maxY() + offset; |
| 1057 |
int r = tx + thisline.maxX() + offset; |
1064 |
int r = tx + thisline.maxX() + offset; |
| 1058 |
|
1065 |
|
| 1059 |
// left edge |
1066 |
// left edge |
| 1060 |
drawLineForBoxSide(graphicsContext, |
1067 |
drawLineForBoxSide(graphicsContext, |
| 1061 |
l - ow, |
1068 |
l - ow, |