| 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 1403 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1414         if (!result.addNodeToRectBasedTestResult(node(), request, locationInCont
      ainer, boundsRect)) | 1414         if (!result.addNodeToRectBasedTestResult(node(), request, locationInCont
      ainer, boundsRect)) | 
| 1415             return true; | 1415             return true; | 
| 1416     } | 1416     } | 
| 1417 | 1417 | 
| 1418     return false; | 1418     return false; | 
| 1419 } | 1419 } | 
| 1420 | 1420 | 
| 1421 RenderTable* RenderTable::createAnonymousWithParentRenderer(const RenderObject* 
      parent) | 1421 RenderTable* RenderTable::createAnonymousWithParentRenderer(const RenderObject* 
      parent) | 
| 1422 { | 1422 { | 
| 1423     RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(
      parent->style(), TABLE); | 1423     RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(
      parent->style(), TABLE); | 
| 1424     RenderTable* newTable = new (parent->renderArena()) RenderTable(0); | 1424     RenderTable* newTable = new RenderTable(0); | 
| 1425     newTable->setDocumentForAnonymous(parent->document()); | 1425     newTable->setDocumentForAnonymous(parent->document()); | 
| 1426     newTable->setStyle(newStyle.release()); | 1426     newTable->setStyle(newStyle.release()); | 
| 1427     return newTable; | 1427     return newTable; | 
| 1428 } | 1428 } | 
| 1429 | 1429 | 
| 1430 const BorderValue& RenderTable::tableStartBorderAdjoiningCell(const RenderTableC
      ell* cell) const | 1430 const BorderValue& RenderTable::tableStartBorderAdjoiningCell(const RenderTableC
      ell* cell) const | 
| 1431 { | 1431 { | 
| 1432     ASSERT(cell->isFirstOrLastCellInRow()); | 1432     ASSERT(cell->isFirstOrLastCellInRow()); | 
| 1433     if (hasSameDirectionAs(cell->row())) | 1433     if (hasSameDirectionAs(cell->row())) | 
| 1434         return style()->borderStart(); | 1434         return style()->borderStart(); | 
| 1435 | 1435 | 
| 1436     return style()->borderEnd(); | 1436     return style()->borderEnd(); | 
| 1437 } | 1437 } | 
| 1438 | 1438 | 
| 1439 const BorderValue& RenderTable::tableEndBorderAdjoiningCell(const RenderTableCel
      l* cell) const | 1439 const BorderValue& RenderTable::tableEndBorderAdjoiningCell(const RenderTableCel
      l* cell) const | 
| 1440 { | 1440 { | 
| 1441     ASSERT(cell->isFirstOrLastCellInRow()); | 1441     ASSERT(cell->isFirstOrLastCellInRow()); | 
| 1442     if (hasSameDirectionAs(cell->row())) | 1442     if (hasSameDirectionAs(cell->row())) | 
| 1443         return style()->borderEnd(); | 1443         return style()->borderEnd(); | 
| 1444 | 1444 | 
| 1445     return style()->borderStart(); | 1445     return style()->borderStart(); | 
| 1446 } | 1446 } | 
| 1447 | 1447 | 
| 1448 } | 1448 } | 
| OLD | NEW | 
|---|