| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 1204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1215 int topInner = inner.y(); | 1215 int topInner = inner.y(); |
| 1216 int bottomOuter = outer.maxY(); | 1216 int bottomOuter = outer.maxY(); |
| 1217 int bottomInner = inner.maxY(); | 1217 int bottomInner = inner.maxY(); |
| 1218 | 1218 |
| 1219 drawLineForBoxSide(graphicsContext, leftOuter, topOuter, leftInner, bottomOu
ter, BSLeft, outlineColor, outlineStyle, outlineWidth, outlineWidth); | 1219 drawLineForBoxSide(graphicsContext, leftOuter, topOuter, leftInner, bottomOu
ter, BSLeft, outlineColor, outlineStyle, outlineWidth, outlineWidth); |
| 1220 drawLineForBoxSide(graphicsContext, leftOuter, topOuter, rightOuter, topInne
r, BSTop, outlineColor, outlineStyle, outlineWidth, outlineWidth); | 1220 drawLineForBoxSide(graphicsContext, leftOuter, topOuter, rightOuter, topInne
r, BSTop, outlineColor, outlineStyle, outlineWidth, outlineWidth); |
| 1221 drawLineForBoxSide(graphicsContext, rightInner, topOuter, rightOuter, bottom
Outer, BSRight, outlineColor, outlineStyle, outlineWidth, outlineWidth); | 1221 drawLineForBoxSide(graphicsContext, rightInner, topOuter, rightOuter, bottom
Outer, BSRight, outlineColor, outlineStyle, outlineWidth, outlineWidth); |
| 1222 drawLineForBoxSide(graphicsContext, leftOuter, bottomInner, rightOuter, bott
omOuter, BSBottom, outlineColor, outlineStyle, outlineWidth, outlineWidth); | 1222 drawLineForBoxSide(graphicsContext, leftOuter, bottomInner, rightOuter, bott
omOuter, BSBottom, outlineColor, outlineStyle, outlineWidth, outlineWidth); |
| 1223 | 1223 |
| 1224 if (useTransparencyLayer) | 1224 if (useTransparencyLayer) |
| 1225 graphicsContext->endTransparencyLayer(); | 1225 graphicsContext->endLayer(); |
| 1226 } | 1226 } |
| 1227 | 1227 |
| 1228 IntRect RenderObject::absoluteBoundingBoxRect(bool useTransforms) const | 1228 IntRect RenderObject::absoluteBoundingBoxRect(bool useTransforms) const |
| 1229 { | 1229 { |
| 1230 if (useTransforms) { | 1230 if (useTransforms) { |
| 1231 Vector<FloatQuad> quads; | 1231 Vector<FloatQuad> quads; |
| 1232 absoluteQuads(quads); | 1232 absoluteQuads(quads); |
| 1233 | 1233 |
| 1234 size_t n = quads.size(); | 1234 size_t n = quads.size(); |
| 1235 if (!n) | 1235 if (!n) |
| (...skipping 2088 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3324 { | 3324 { |
| 3325 if (object1) { | 3325 if (object1) { |
| 3326 const WebCore::RenderObject* root = object1; | 3326 const WebCore::RenderObject* root = object1; |
| 3327 while (root->parent()) | 3327 while (root->parent()) |
| 3328 root = root->parent(); | 3328 root = root->parent(); |
| 3329 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); | 3329 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); |
| 3330 } | 3330 } |
| 3331 } | 3331 } |
| 3332 | 3332 |
| 3333 #endif | 3333 #endif |
| OLD | NEW |