Changeset 41257 in webkit
- Timestamp:
- Feb 26, 2009 10:45:25 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r41254 r41257 1 2009-02-26 David Hyatt <hyatt@apple.com> 2 3 Reviewed by Dan Bernstein & Darin Adler 4 5 Make sure the border/padding are properly omitted at the start of an inline that is a continuation. 6 7 * fast/inline/inline-continuation-borders.html: Added. 8 * platform/mac/fast/inline/inline-continuation-borders-expected.checksum: Added. 9 * platform/mac/fast/inline/inline-continuation-borders-expected.png: Added. 10 * platform/mac/fast/inline/inline-continuation-borders-expected.txt: Added. 11 1 12 2009-02-26 Pamela Greene <pam@chromium.org> 2 13 -
trunk/WebCore/ChangeLog
r41255 r41257 1 2009-02-26 David Hyatt <hyatt@apple.com> 2 3 Reviewed by Dan Bernstein & Darin Adler 4 5 Make sure the border/padding are properly omitted at the start of an inline that is a continuation. 6 7 Added fast/inline/inline-continuation-borders.html 8 9 * rendering/InlineFlowBox.cpp: 10 (WebCore::InlineFlowBox::determineSpacingForFlowBoxes): 11 1 12 2009-02-26 Simon Fraser <simon.fraser@apple.com> 2 13 -
trunk/WebCore/rendering/InlineFlowBox.cpp
r41203 r41257 217 217 bool includeLeftEdge = false; 218 218 bool includeRightEdge = false; 219 220 if (!renderer()->firstChild()) 221 includeLeftEdge = includeRightEdge = true; // Empty inlines never split across lines. 222 else if (parent()) { // The root inline box never has borders/margins/padding. 219 220 // The root inline box never has borders/margins/padding. 221 if (parent()) { 223 222 bool ltr = renderer()->style()->direction() == LTR; 224 223 225 224 // Check to see if all initial lines are unconstructed. If so, then 226 // we know the inline began on this line .225 // we know the inline began on this line (unless we are a continuation). 227 226 RenderLineBoxList* lineBoxList = rendererLineBoxes(); 228 if (!lineBoxList->firstLineBox()->isConstructed() ) {227 if (!lineBoxList->firstLineBox()->isConstructed() && !renderer()->isInlineContinuation()) { 229 228 if (ltr && lineBoxList->firstLineBox() == this) 230 229 includeLeftEdge = true;
Note: See TracChangeset
for help on using the changeset viewer.