| 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 1380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1391 if (child->nodeAtPoint(request, result, locationInContainer, chi
ldPoint, action)) { | 1391 if (child->nodeAtPoint(request, result, locationInContainer, chi
ldPoint, action)) { |
| 1392 updateHitTestResult(result, toLayoutPoint(locationInContaine
r.point() - childPoint)); | 1392 updateHitTestResult(result, toLayoutPoint(locationInContaine
r.point() - childPoint)); |
| 1393 return true; | 1393 return true; |
| 1394 } | 1394 } |
| 1395 } | 1395 } |
| 1396 } | 1396 } |
| 1397 } | 1397 } |
| 1398 | 1398 |
| 1399 // Check our bounds next. | 1399 // Check our bounds next. |
| 1400 LayoutRect boundsRect(adjustedLocation, size()); | 1400 LayoutRect boundsRect(adjustedLocation, size()); |
| 1401 if (visibleToHitTesting() && (action == HitTestBlockBackground || action ==
HitTestChildBlockBackground) && locationInContainer.intersects(boundsRect)) { | 1401 if (visibleToHitTestRequest(request) && (action == HitTestBlockBackground ||
action == HitTestChildBlockBackground) && locationInContainer.intersects(bounds
Rect)) { |
| 1402 updateHitTestResult(result, flipForWritingMode(locationInContainer.point
() - toLayoutSize(adjustedLocation))); | 1402 updateHitTestResult(result, flipForWritingMode(locationInContainer.point
() - toLayoutSize(adjustedLocation))); |
| 1403 if (!result.addNodeToRectBasedTestResult(node(), request, locationInCont
ainer, boundsRect)) | 1403 if (!result.addNodeToRectBasedTestResult(node(), request, locationInCont
ainer, boundsRect)) |
| 1404 return true; | 1404 return true; |
| 1405 } | 1405 } |
| 1406 | 1406 |
| 1407 return false; | 1407 return false; |
| 1408 } | 1408 } |
| 1409 | 1409 |
| 1410 RenderTable* RenderTable::createAnonymousWithParentRenderer(const RenderObject*
parent) | 1410 RenderTable* RenderTable::createAnonymousWithParentRenderer(const RenderObject*
parent) |
| 1411 { | 1411 { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 1428 const BorderValue& RenderTable::tableEndBorderAdjoiningCell(const RenderTableCel
l* cell) const | 1428 const BorderValue& RenderTable::tableEndBorderAdjoiningCell(const RenderTableCel
l* cell) const |
| 1429 { | 1429 { |
| 1430 ASSERT(cell->isFirstOrLastCellInRow()); | 1430 ASSERT(cell->isFirstOrLastCellInRow()); |
| 1431 if (hasSameDirectionAs(cell->row())) | 1431 if (hasSameDirectionAs(cell->row())) |
| 1432 return style()->borderEnd(); | 1432 return style()->borderEnd(); |
| 1433 | 1433 |
| 1434 return style()->borderStart(); | 1434 return style()->borderStart(); |
| 1435 } | 1435 } |
| 1436 | 1436 |
| 1437 } | 1437 } |
| OLD | NEW |