Changeset 133085 in webkit
- Timestamp:
- Oct 31, 2012 3:27:49 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r133084 r133085 1 2012-10-31 Tien-Ren Chen <trchen@chromium.org> 2 3 Apply transformation for highlights on non-composited contents 4 https://bugs.webkit.org/show_bug.cgi?id=100438 5 6 Reviewed by Adam Barth. 7 8 Non-composited content host layer "steals" the contents on the 9 RenderView layer, including the highlight layer. 10 The transformation for regular contents are applied by the paint 11 function of the non-composited content host however the highlight 12 uses its own WebLayer. Need to apply the same transformation to 13 the highlight layer as well. 14 15 * platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-scaled-document.html: Added. 16 * platform/chromium-linux/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-scaled-document-expected.png: Added. 17 * platform/chromium-linux/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-scaled-document-expected.txt: Added. 18 1 19 2012-10-31 Thiago Marcos P. Santos <thiago.santos@intel.com> 2 20 -
trunk/Source/WebKit/chromium/ChangeLog
r133053 r133085 1 2012-10-31 Tien-Ren Chen <trchen@chromium.org> 2 3 Apply transformation for highlights on non-composited contents 4 https://bugs.webkit.org/show_bug.cgi?id=100438 5 6 Reviewed by Adam Barth. 7 8 Non-composited content host layer "steals" the contents on the 9 RenderView layer, including the highlight layer. 10 The transformation for regular contents are applied by the paint 11 function of the non-composited content host however the highlight 12 uses its own WebLayer. Need to apply the same transformation to 13 the highlight layer as well. 14 15 * src/LinkHighlight.cpp: 16 (WebKit::LinkHighlight::computeEnclosingCompositingLayer): 17 * src/LinkHighlight.h: 18 (LinkHighlight): 19 1 20 2012-10-31 Mike West <mkwst@chromium.org> 2 21 -
trunk/Source/WebKit/chromium/src/LinkHighlight.cpp
r131111 r133085 49 49 #include <public/WebRect.h> 50 50 #include <public/WebSize.h> 51 #include <public/WebTransformationMatrix.h> 51 52 52 53 using namespace WebCore; … … 126 127 return 0; 127 128 128 m_graphicsLayerOffset = FloatPoint();129 129 GraphicsLayerChromium* newGraphicsLayer = static_cast<GraphicsLayerChromium*>(renderLayer->backing()->graphicsLayer()); 130 m_clipLayer->setSublayerTransform(WebTransformationMatrix()); 130 131 if (!newGraphicsLayer->drawsContent()) { 131 m_ graphicsLayerOffset = newGraphicsLayer->position();132 m_clipLayer->setSublayerTransform(WebTransformationMatrix(newGraphicsLayer->transform())); 132 133 newGraphicsLayer = static_cast<GraphicsLayerChromium*>(m_owningWebViewImpl->nonCompositedContentHost()->topLevelRootLayer()); 133 134 } -
trunk/Source/WebKit/chromium/src/LinkHighlight.h
r130539 r133085 92 92 bool m_geometryNeedsUpdate; 93 93 bool m_isAnimating; 94 WebCore::FloatPoint m_graphicsLayerOffset;95 94 }; 96 95
Note: See TracChangeset
for help on using the changeset viewer.