OLD | NEW |
1 /** | 1 /** |
2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
3 * (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * (C) 2008 Torch Mobile Inc. All rights reserved. |
| 4 * (http://www.torchmobile.com/) |
4 * | 5 * |
5 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
9 * | 10 * |
10 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 14 * Library General Public License for more details. |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 placeholderBox->mutableStyleRef().setLogicalWidth(Length( | 112 placeholderBox->mutableStyleRef().setLogicalWidth(Length( |
112 contentLogicalWidth() - placeholderBox->borderAndPaddingLogicalWidth(), | 113 contentLogicalWidth() - placeholderBox->borderAndPaddingLogicalWidth(), |
113 Fixed)); | 114 Fixed)); |
114 placeholderBox->layoutIfNeeded(); | 115 placeholderBox->layoutIfNeeded(); |
115 placeholderBox->setX(borderLeft() + paddingLeft()); | 116 placeholderBox->setX(borderLeft() + paddingLeft()); |
116 placeholderBox->setY(borderTop() + paddingTop()); | 117 placeholderBox->setY(borderTop() + paddingTop()); |
117 return placeholderLayoutObject; | 118 return placeholderLayoutObject; |
118 } | 119 } |
119 | 120 |
120 } // namespace blink | 121 } // namespace blink |
OLD | NEW |