OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) |
3 * (C) 1997 Torben Weis (weis@kde.org) | 3 * (C) 1997 Torben Weis (weis@kde.org) |
4 * (C) 1998 Waldo Bastian (bastian@kde.org) | 4 * (C) 1998 Waldo Bastian (bastian@kde.org) |
5 * (C) 1999 Lars Knoll (knoll@kde.org) | 5 * (C) 1999 Lars Knoll (knoll@kde.org) |
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. |
8 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.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 1264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1275 updateHitTestResult(result, flipForWritingMode(pointInContainer - toLayo
utSize(adjustedLocation))); | 1275 updateHitTestResult(result, flipForWritingMode(pointInContainer - toLayo
utSize(adjustedLocation))); |
1276 if (!result.addNodeToRectBasedTestResult(node(), pointInContainer, bound
sRect)) | 1276 if (!result.addNodeToRectBasedTestResult(node(), pointInContainer, bound
sRect)) |
1277 return true; | 1277 return true; |
1278 } | 1278 } |
1279 | 1279 |
1280 return false; | 1280 return false; |
1281 } | 1281 } |
1282 | 1282 |
1283 RenderTable* RenderTable::createAnonymousWithParentRenderer(const RenderObject*
parent) | 1283 RenderTable* RenderTable::createAnonymousWithParentRenderer(const RenderObject*
parent) |
1284 { | 1284 { |
1285 RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyle(parent->sty
le()); | 1285 RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(
parent->style(), TABLE); |
1286 newStyle->setDisplay(TABLE); | |
1287 | |
1288 RenderTable* newTable = new (parent->renderArena()) RenderTable(parent->docu
ment() /* is anonymous */); | 1286 RenderTable* newTable = new (parent->renderArena()) RenderTable(parent->docu
ment() /* is anonymous */); |
1289 newTable->setStyle(newStyle.release()); | 1287 newTable->setStyle(newStyle.release()); |
1290 return newTable; | 1288 return newTable; |
1291 } | 1289 } |
1292 | 1290 |
1293 } | 1291 } |
OLD | NEW |