Changeset 207984 in webkit
- Timestamp:
- Oct 27, 2016, 3:45:54 AM (10 years ago)
- Location:
- releases/WebKitGTK/webkit-2.14
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/lists/crash-when-list-marker-is-moved-during-selection-expected.txt (added)
-
LayoutTests/fast/lists/crash-when-list-marker-is-moved-during-selection.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderListItem.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.14/LayoutTests/ChangeLog
r207980 r207984 1 2016-10-21 Zalan Bujtas <zalan@apple.com> 2 3 Do not mutate the render tree while collecting selection repaint rects. 4 https://bugs.webkit.org/show_bug.cgi?id=163800 5 <rdar://problem/28806886> 6 7 Reviewed by David Hyatt. 8 9 * fast/lists/crash-when-list-marker-is-moved-during-selection-expected.txt: Added. 10 * fast/lists/crash-when-list-marker-is-moved-during-selection.html: Added. 11 1 12 2016-10-20 Zalan Bujtas <zalan@apple.com> 2 13 -
releases/WebKitGTK/webkit-2.14/Source/WebCore/ChangeLog
r207982 r207984 1 2016-10-21 Zalan Bujtas <zalan@apple.com> 2 3 Do not mutate the render tree while collecting selection repaint rects. 4 https://bugs.webkit.org/show_bug.cgi?id=163800 5 <rdar://problem/28806886> 6 7 Reviewed by David Hyatt. 8 9 RenderListItem not only mutates the tree while in layout but it also uses 10 the old descendant context to find the insertion point. 11 This patch strictly ensures that we only do it while in layout and never 12 in other cases such as collecting repaint rects. 13 This gets redundant when webkit.org/b/163789 is fixed. 14 15 Test: fast/lists/crash-when-list-marker-is-moved-during-selection.html 16 17 * rendering/RenderListItem.cpp: 18 (WebCore::RenderListItem::insertOrMoveMarkerRendererIfNeeded): 19 1 20 2016-10-20 Carlos Garcia Campos <cgarcia@igalia.com> 2 21 -
releases/WebKitGTK/webkit-2.14/Source/WebCore/rendering/RenderListItem.cpp
r207941 r207984 267 267 // Sanity check the location of our marker. 268 268 if (!m_marker) 269 return; 270 271 // FIXME: Do not even try reposition the marker when we are not in layout 272 // until after we fixed webkit.org/b/163789. 273 if (!view().frameView().isInRenderTreeLayout()) 269 274 return; 270 275
Note:
See TracChangeset
for help on using the changeset viewer.