| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 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) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1025 | 1025 |
| 1026 // Build an array of quads in absolute coords for line boxes | 1026 // Build an array of quads in absolute coords for line boxes |
| 1027 virtual void absoluteQuads(Vector<FloatQuad>&) const { } | 1027 virtual void absoluteQuads(Vector<FloatQuad>&) const { } |
| 1028 | 1028 |
| 1029 static FloatRect absoluteBoundingBoxRectForRange(const Range*); | 1029 static FloatRect absoluteBoundingBoxRectForRange(const Range*); |
| 1030 | 1030 |
| 1031 // The bounding box (see: absoluteBoundingBoxRect) including all descendant | 1031 // The bounding box (see: absoluteBoundingBoxRect) including all descendant |
| 1032 // bounding boxes. | 1032 // bounding boxes. |
| 1033 IntRect absoluteBoundingBoxRectIncludingDescendants() const; | 1033 IntRect absoluteBoundingBoxRectIncludingDescendants() const; |
| 1034 | 1034 |
| 1035 // For accessibility, we want the bounding box rect of this element |
| 1036 // in local coordinates, which can then be converted to coordinates relative |
| 1037 // to any ancestor using, e.g., localToAncestorTransform. |
| 1038 virtual FloatRect localBoundingBoxRectForAccessibility() const = 0; |
| 1039 |
| 1035 // This function returns the minimal logical width this object can have | 1040 // This function returns the minimal logical width this object can have |
| 1036 // without overflowing. This means that all the opportunities for wrapping | 1041 // without overflowing. This means that all the opportunities for wrapping |
| 1037 // have been taken. | 1042 // have been taken. |
| 1038 // | 1043 // |
| 1039 // See INTRINSIC SIZES / PREFERRED LOGICAL WIDTHS above. | 1044 // See INTRINSIC SIZES / PREFERRED LOGICAL WIDTHS above. |
| 1040 // | 1045 // |
| 1041 // CSS 2.1 calls this width the "preferred minimum width" (thus this name) | 1046 // CSS 2.1 calls this width the "preferred minimum width" (thus this name) |
| 1042 // and "minimum content width" (for table). | 1047 // and "minimum content width" (for table). |
| 1043 // However CSS 3 calls it the "min-content inline size". | 1048 // However CSS 3 calls it the "min-content inline size". |
| 1044 // https://drafts.csswg.org/css-sizing-3/#min-content-inline-size | 1049 // https://drafts.csswg.org/css-sizing-3/#min-content-inline-size |
| (...skipping 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2138 void showTree(const blink::LayoutObject*); | 2143 void showTree(const blink::LayoutObject*); |
| 2139 void showLineTree(const blink::LayoutObject*); | 2144 void showLineTree(const blink::LayoutObject*); |
| 2140 void showLayoutTree(const blink::LayoutObject* object1); | 2145 void showLayoutTree(const blink::LayoutObject* object1); |
| 2141 // We don't make object2 an optional parameter so that showLayoutTree | 2146 // We don't make object2 an optional parameter so that showLayoutTree |
| 2142 // can be called from gdb easily. | 2147 // can be called from gdb easily. |
| 2143 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 2148 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 2144 | 2149 |
| 2145 #endif | 2150 #endif |
| 2146 | 2151 |
| 2147 #endif // LayoutObject_h | 2152 #endif // LayoutObject_h |
| OLD | NEW |