/[blink]
Chromium logo

Revision 188180


Jump to revision: Previous Next
Author: fmalita@chromium.org
Date: Sat Jan 10 04:26:12 2015 UTC (8 years, 4 months ago)
Changed paths: 4
Log Message:
RenderCounter::updateCounter should trigger a relayout.

Currently, the method calls setTextInternal() - which updates the text
but doesn't mark the node for layout and pref widths recalc. This can
leave stale text boxes behind.

Instead, we should use setText() - which triggers the needed
invalidations.

BUG=444707
R=jbroman@chromium.org,eae@chromium.org

Review URL: https://codereview.chromium.org/842913002

Changed paths

Path Details
Directorytrunk/LayoutTests/fast/css/counters/stale-inline-box-crash-expected.txt added
Directorytrunk/LayoutTests/fast/css/counters/stale-inline-box-crash.html added
Directorytrunk/Source/core/paint/InlineTextBoxPainter.cpp modified , text changed
Directorytrunk/Source/core/rendering/RenderCounter.cpp modified , text changed

Properties

Name Value
commit-bot commit-bot@chromium.org

Powered by ViewVC 1.1.26 ViewVC Help