Changeset 79656 in webkit
- Timestamp:
- Feb 24, 2011, 6:21:20 PM (15 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r79655 r79656 1 2011-02-24 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Simon Fraser. 4 5 REGRESSION (r79629): Non-expanding ruby base is start-aligned rather than centered 6 https://bugs.webkit.org/show_bug.cgi?id=55197 7 8 * rendering/RenderBlockLineLayout.cpp: 9 (WebCore::RenderBlock::computeInlineDirectionPositionsForLine): Adjust the line boundaries even 10 if there are no expansion opportunities. This allows RenderRubyBase to center itself. 11 1 12 2011-02-24 Darin Adler <darin@apple.com> 2 13 -
trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp
r79629 r79656 413 413 break; 414 414 case JUSTIFY: 415 adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, availableLogicalWidth); 415 416 if (expansionOpportunityCount) { 416 adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, availableLogicalWidth);417 417 if (trailingSpaceRun) { 418 418 totalLogicalWidth -= trailingSpaceRun->m_box->logicalWidth(); … … 423 423 // fall through 424 424 case TAAUTO: 425 expansionOpportunityCount = 0;426 425 // for right to left fall through to right aligned 427 426 if (style()->isLeftToRightDirection()) {
Note:
See TracChangeset
for help on using the changeset viewer.