| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2007, 2008, 2009 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007, 2008, 2009 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2009 Google, Inc. | 5 * Copyright (C) 2009 Google, Inc. |
| 6 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 193 |
| 194 m_overflow.clear(); | 194 m_overflow.clear(); |
| 195 addVisualEffectOverflow(); | 195 addVisualEffectOverflow(); |
| 196 | 196 |
| 197 if (!shouldApplyViewportClip()) { | 197 if (!shouldApplyViewportClip()) { |
| 198 FloatRect contentRepaintRect = repaintRectInLocalCoordinates(); | 198 FloatRect contentRepaintRect = repaintRectInLocalCoordinates(); |
| 199 contentRepaintRect = m_localToBorderBoxTransform.mapRect(contentRepaintR
ect); | 199 contentRepaintRect = m_localToBorderBoxTransform.mapRect(contentRepaintR
ect); |
| 200 addVisualOverflow(enclosingLayoutRect(contentRepaintRect)); | 200 addVisualOverflow(enclosingLayoutRect(contentRepaintRect)); |
| 201 } | 201 } |
| 202 | 202 |
| 203 updateLayerTransform(); | 203 updateLayerTransformAfterLayout(); |
| 204 m_hasBoxDecorations = isDocumentElement() ? calculateHasBoxDecorations() : h
asBoxDecorations(); | 204 m_hasBoxDecorations = isDocumentElement() ? calculateHasBoxDecorations() : h
asBoxDecorations(); |
| 205 invalidateBackgroundObscurationStatus(); | 205 invalidateBackgroundObscurationStatus(); |
| 206 | 206 |
| 207 repainter.repaintAfterLayout(); | 207 repainter.repaintAfterLayout(); |
| 208 clearNeedsLayout(); | 208 clearNeedsLayout(); |
| 209 } | 209 } |
| 210 | 210 |
| 211 bool RenderSVGRoot::shouldApplyViewportClip() const | 211 bool RenderSVGRoot::shouldApplyViewportClip() const |
| 212 { | 212 { |
| 213 // the outermost svg is clipped if auto, and svg document roots are always c
lipped | 213 // the outermost svg is clipped if auto, and svg document roots are always c
lipped |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 updateHitTestResult(result, pointInBorderBox); | 458 updateHitTestResult(result, pointInBorderBox); |
| 459 if (!result.addNodeToRectBasedTestResult(node(), request, locationIn
Container, boundsRect)) | 459 if (!result.addNodeToRectBasedTestResult(node(), request, locationIn
Container, boundsRect)) |
| 460 return true; | 460 return true; |
| 461 } | 461 } |
| 462 } | 462 } |
| 463 | 463 |
| 464 return false; | 464 return false; |
| 465 } | 465 } |
| 466 | 466 |
| 467 } | 467 } |
| OLD | NEW |