Changeset 135553 in webkit
- Timestamp:
- Nov 22, 2012 6:54:10 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r135550 r135553 1 2012-11-22 John Mellor <johnme@chromium.org> 2 3 Text Autosizing: Improve handling of nested comments on reddit.com 4 https://bugs.webkit.org/show_bug.cgi?id=102409 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Added test to confirm that overflow:hidden no longer triggers a cluster. 9 10 * fast/text-autosizing/cluster-narrow-in-wide-ohidden-expected.html: Added. 11 * fast/text-autosizing/cluster-narrow-in-wide-ohidden.html: Added. 12 1 13 2012-11-22 Stephen Chenney <schenney@chromium.org> 2 14 -
trunk/Source/WebCore/ChangeLog
r135549 r135553 1 2012-11-22 John Mellor <johnme@chromium.org> 2 3 Text Autosizing: Improve handling of nested comments on reddit.com 4 https://bugs.webkit.org/show_bug.cgi?id=102409 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 No longer consider overflow != visible as requiring an independent 9 cluster. Some sites (e.g. reddit.com) wrap ordinary blocks (such as 10 comments) in overflow:hidden or overflow:auto, for various reasons 11 (like allowing it to be scrollable, or clipping an element that sticks 12 out). These reasons are not sufficient justification for a new cluster. 13 14 On reddit.com this means that comments will all get the same multiplier, 15 rather than being independently assigned a variety of multipliers based 16 on how much text each comment contains (etc), which significantly 17 improves the look. 18 19 Test: fast/text-autosizing/cluster-narrow-in-wide-ohidden.html 20 21 * rendering/TextAutosizer.cpp: 22 (WebCore::TextAutosizer::isAutosizingCluster): 23 1 24 2012-11-22 Pravin D <pravind.2k4@gmail.com> 2 25 -
trunk/Source/WebCore/rendering/TextAutosizer.cpp
r130866 r135553 236 236 || renderer->isFlexibleBoxIncludingDeprecated() 237 237 || renderer->hasColumns() 238 || renderer->style()->overflowX() != OVISIBLE239 || renderer->style()->overflowY() != OVISIBLE240 238 || renderer->containingBlock()->isHorizontalWritingMode() != renderer->isHorizontalWritingMode(); 241 239 // FIXME: Tables need special handling to multiply all their columns by
Note: See TracChangeset
for help on using the changeset viewer.