Changeset 96385 in webkit
- Timestamp:
- Sep 29, 2011 9:44:39 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 6 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r96380 r96385 1 2011-09-29 Fady Samuel <fsamuel@chromium.org> 2 3 Fixed Hit testing on Framesets when Frameset is transformed 4 https://bugs.webkit.org/show_bug.cgi?id=67740 5 6 Reviewed by Simon Fraser. 7 8 * fast/frames/frame-set-rotation-hit-expected.png: Added. 9 * fast/frames/frame-set-rotation-hit-expected.txt: Added. 10 * fast/frames/frame-set-rotation-hit.html: Added. 11 * fast/frames/frame-set-scaling-hit-expected.png: Added. 12 * fast/frames/frame-set-scaling-hit-expected.txt: Added. 13 * fast/frames/frame-set-scaling-hit.html: Added. 14 1 15 2011-09-29 Adam Barth <abarth@webkit.org> 2 16 -
trunk/Source/WebCore/ChangeLog
r96384 r96385 1 2011-09-29 Fady Samuel <fsamuel@chromium.org> 2 3 Fixed Hit testing on Framesets when Frameset is transformed 4 https://bugs.webkit.org/show_bug.cgi?id=67740 5 6 Reviewed by Simon Fraser. 7 8 Tests: fast/frames/frame-set-rotation-hit.html 9 fast/frames/frame-set-scaling-hit.html 10 11 * rendering/RenderFrameSet.cpp: 12 (WebCore::RenderFrameSet::userResize): 13 1 14 2011-09-29 Dirk Pranke <dpranke@chromium.org> 2 15 -
trunk/Source/WebCore/rendering/RenderFrameSet.cpp
r93287 r96385 700 700 return false; 701 701 if (evt->type() == eventNames().mousedownEvent && evt->button() == LeftButton) { 702 FloatPoint pos = localToAbsolute();703 startResizing(m_cols, evt->absoluteLocation().x() - pos.x());704 startResizing(m_rows, evt->absoluteLocation().y() - pos.y());702 FloatPoint localPos = absoluteToLocal(evt->absoluteLocation(), false, true); 703 startResizing(m_cols, localPos.x()); 704 startResizing(m_rows, localPos.y()); 705 705 if (m_cols.m_splitBeingResized != noSplit || m_rows.m_splitBeingResized != noSplit) { 706 706 setIsResizing(true); … … 710 710 } else { 711 711 if (evt->type() == eventNames().mousemoveEvent || (evt->type() == eventNames().mouseupEvent && evt->button() == LeftButton)) { 712 FloatPoint pos = localToAbsolute();713 continueResizing(m_cols, evt->absoluteLocation().x() - pos.x());714 continueResizing(m_rows, evt->absoluteLocation().y() - pos.y());712 FloatPoint localPos = absoluteToLocal(evt->absoluteLocation(), false, true); 713 continueResizing(m_cols, localPos.x()); 714 continueResizing(m_rows, localPos.y()); 715 715 if (evt->type() == eventNames().mouseupEvent && evt->button() == LeftButton) { 716 716 setIsResizing(false);
Note: See TracChangeset
for help on using the changeset viewer.