| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * 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. |
| 10 * | 10 * |
| (...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 774 return "RenderInline (relative positioned)"; | 774 return "RenderInline (relative positioned)"; |
| 775 // FIXME: Cleanup isPseudoElement duplication with other renderName methods. | 775 // FIXME: Cleanup isPseudoElement duplication with other renderName methods. |
| 776 // crbug.com/415653 | 776 // crbug.com/415653 |
| 777 if (isPseudoElement()) { | 777 if (isPseudoElement()) { |
| 778 if (style()->styleType() == BEFORE) | 778 if (style()->styleType() == BEFORE) |
| 779 return "RenderInline (pseudo:before)"; | 779 return "RenderInline (pseudo:before)"; |
| 780 if (style()->styleType() == AFTER) | 780 if (style()->styleType() == AFTER) |
| 781 return "RenderInline (pseudo:after)"; | 781 return "RenderInline (pseudo:after)"; |
| 782 if (style()->styleType() == BACKDROP) | 782 if (style()->styleType() == BACKDROP) |
| 783 return "RenderInline (pseudo:backdrop)"; | 783 return "RenderInline (pseudo:backdrop)"; |
| 784 if (style()->styleType() == FIRST_LETTER) |
| 785 return "RenderInline (pseudo:first-letter)"; |
| 786 |
| 784 ASSERT_NOT_REACHED(); | 787 ASSERT_NOT_REACHED(); |
| 785 } | 788 } |
| 786 if (isAnonymous()) | 789 if (isAnonymous()) |
| 787 return "RenderInline (generated)"; | 790 return "RenderInline (generated)"; |
| 788 return "RenderInline"; | 791 return "RenderInline"; |
| 789 } | 792 } |
| 790 | 793 |
| 791 bool RenderInline::nodeAtPoint(const HitTestRequest& request, HitTestResult& res
ult, | 794 bool RenderInline::nodeAtPoint(const HitTestRequest& request, HitTestResult& res
ult, |
| 792 const HitTestLocation& locationInContainer, cons
t LayoutPoint& accumulatedOffset, HitTestAction hitTestAction) | 795 const HitTestLocation& locationInContainer, cons
t LayoutPoint& accumulatedOffset, HitTestAction hitTestAction) |
| 793 { | 796 { |
| (...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1426 container = this; | 1429 container = this; |
| 1427 | 1430 |
| 1428 FloatPoint absPos = container->localToAbsolute(); | 1431 FloatPoint absPos = container->localToAbsolute(); |
| 1429 region.bounds.setX(absPos.x() + region.bounds.x()); | 1432 region.bounds.setX(absPos.x() + region.bounds.x()); |
| 1430 region.bounds.setY(absPos.y() + region.bounds.y()); | 1433 region.bounds.setY(absPos.y() + region.bounds.y()); |
| 1431 | 1434 |
| 1432 regions.append(region); | 1435 regions.append(region); |
| 1433 } | 1436 } |
| 1434 | 1437 |
| 1435 } // namespace blink | 1438 } // namespace blink |
| OLD | NEW |