Changeset 126919 in webkit
- Timestamp:
- Aug 28, 2012, 1:10:49 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/css/sticky/remove-sticky-crash-expected.txt (added)
-
LayoutTests/fast/css/sticky/remove-sticky-crash.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderBox.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r126916 r126919 1 2012-08-28 Simon Fraser <simon.fraser@apple.com> 2 3 Regression (r126774): Crash when scrolling after removing sticky element. 4 https://bugs.webkit.org/show_bug.cgi?id=95174 5 6 Reviewed by Abhishek Arya. 7 8 Testcase with JS that removes a position:sticky element, then scrolls. 9 10 * fast/css/sticky/remove-sticky-crash-expected.txt: Added. 11 * fast/css/sticky/remove-sticky-crash.html: Added. 12 1 13 2012-08-28 Robert Hogan <robert@webkit.org> 2 14 -
trunk/Source/WebCore/ChangeLog
r126914 r126919 1 2012-08-28 Simon Fraser <simon.fraser@apple.com> 2 3 Regression (r126774): Crash when scrolling after removing sticky element. 4 https://bugs.webkit.org/show_bug.cgi?id=95174 5 6 Reviewed by Abhishek Arya. 7 8 RenderBox::willBeDestroyed() needs to check for both fixed and sticky 9 position to determine whether to remove an object from FrameView's 10 set of fixed objects. 11 12 Test: fast/css/sticky/remove-sticky-crash.html 13 14 * rendering/RenderBox.cpp: 15 (WebCore::RenderBox::willBeDestroyed): 16 1 17 2012-08-28 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> 2 18 -
trunk/Source/WebCore/rendering/RenderBox.cpp
r126859 r126919 140 140 if (RenderView* view = this->view()) { 141 141 if (FrameView* frameView = view->frameView()) { 142 if (style()-> position() == FixedPosition)142 if (style()->hasViewportConstrainedPosition()) 143 143 frameView->removeFixedObject(this); 144 144 }
Note:
See TracChangeset
for help on using the changeset viewer.