Chromium Code Reviews| Index: Source/core/rendering/RenderObject.cpp |
| diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
| index 2aa4fdd45b1d31a40fe9b4a07f74dae9ba66d6ec..f3d3729bd27fe518fbb7cf2a9d8094708c37d4e1 100644 |
| --- a/Source/core/rendering/RenderObject.cpp |
| +++ b/Source/core/rendering/RenderObject.cpp |
| @@ -3316,20 +3316,6 @@ bool RenderObject::isInert() const |
| return renderer->node()->isInert(); |
| } |
| -// touch-action applies to all elements with both width AND height properties. |
|
Rick Byers
2014/06/11 12:52:01
We need to keep this logic (and comment) somewhere
|
| -// According to the CSS Box Model Spec (http://dev.w3.org/csswg/css-box/#the-width-and-height-properties) |
| -// width applies to all elements but non-replaced inline elements, table rows, and row groups and |
| -// height applies to all elements but non-replaced inline elements, table columns, and column groups. |
| -bool RenderObject::visibleForTouchAction() const |
| -{ |
| - if (isInline() && !isReplaced()) |
| - return false; |
| - if (isTableRow() || isRenderTableCol()) |
| - return false; |
| - |
| - return true; |
| -} |
| - |
| void RenderObject::imageChanged(ImageResource* image, const IntRect* rect) |
| { |
| imageChanged(static_cast<WrappedImagePtr>(image), rect); |