Changeset 101180 in webkit
- Timestamp:
- Nov 25, 2011, 12:21:06 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/text/empty-bdi-crash-expected.txt (added)
-
LayoutTests/fast/text/empty-bdi-crash.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderBlockLineLayout.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r101173 r101180 1 2011-11-25 Ryosuke Niwa <rniwa@webkit.org> 2 3 Crash in BidiRunList<Run>::replaceRunWithRuns with an empty bdi element 4 https://bugs.webkit.org/show_bug.cgi?id=73116 5 6 Reviewed by Eric Seidel. 7 8 Added a regression test. 9 10 * fast/text/empty-bdi-crash-expected.txt: Added. 11 * fast/text/empty-bdi-crash.html: Added. 12 1 13 2011-11-25 Yury Semikhatsky <yurys@chromium.org> 2 14 -
trunk/Source/WebCore/ChangeLog
r101177 r101180 1 2011-11-25 Ryosuke Niwa <rniwa@webkit.org> 2 3 Crash in BidiRunList<Run>::replaceRunWithRuns with an empty bdi element 4 https://bugs.webkit.org/show_bug.cgi?id=73116 5 6 Reviewed by Eric Seidel. 7 8 The assertion failure was caused because isolatedResolver is initialized with 9 null start object due to the isolated run being empty. 10 11 Fixed the failure by skipping empty isolated runs. 12 13 Test: fast/text/empty-bdi-crash.html 14 15 * rendering/RenderBlockLineLayout.cpp: 16 (WebCore::constructBidiRuns): 17 1 18 2011-11-25 Antti Koivisto <antti@apple.com> 2 19 -
trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp
r100949 r101180 965 965 // currently prevents this code from moving into BidiResolver. 966 966 RenderObject* startObj = bidiFirstSkippingEmptyInlines(isolatedSpan, &isolatedResolver); 967 if (!startObj) 968 continue; 967 969 isolatedResolver.setPosition(InlineIterator(isolatedSpan, startObj, 0)); 968 970
Note:
See TracChangeset
for help on using the changeset viewer.