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 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
6 * (C) 2007 David Smith (catfish.man@gmail.com) | 6 * (C) 2007 David Smith (catfish.man@gmail.com) |
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. | 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. |
8 * (C) 2007 Eric Seidel (eric@webkit.org) | 8 * (C) 2007 Eric Seidel (eric@webkit.org) |
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 2595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2606 } | 2606 } |
2607 return nullptr; | 2607 return nullptr; |
2608 } | 2608 } |
2609 | 2609 |
2610 exceptionState.throwDOMException(SyntaxError, "The value provided ('" + wher
e + "') is not one of 'beforeBegin', 'afterBegin', 'beforeEnd', or 'afterEnd'.")
; | 2610 exceptionState.throwDOMException(SyntaxError, "The value provided ('" + wher
e + "') is not one of 'beforeBegin', 'afterBegin', 'beforeEnd', or 'afterEnd'.")
; |
2611 return nullptr; | 2611 return nullptr; |
2612 } | 2612 } |
2613 | 2613 |
2614 NodeIntersectionObserverData* Element::intersectionObserverData() const | 2614 NodeIntersectionObserverData* Element::intersectionObserverData() const |
2615 { | 2615 { |
2616 if (elementRareData()) | 2616 if (hasRareData()) |
2617 return elementRareData()->intersectionObserverData(); | 2617 return elementRareData()->intersectionObserverData(); |
2618 return nullptr; | 2618 return nullptr; |
2619 } | 2619 } |
2620 | 2620 |
2621 NodeIntersectionObserverData& Element::ensureIntersectionObserverData() | 2621 NodeIntersectionObserverData& Element::ensureIntersectionObserverData() |
2622 { | 2622 { |
2623 return ensureElementRareData().ensureIntersectionObserverData(); | 2623 return ensureElementRareData().ensureIntersectionObserverData(); |
2624 } | 2624 } |
2625 | 2625 |
2626 // Step 1 of http://domparsing.spec.whatwg.org/#insertadjacenthtml() | 2626 // Step 1 of http://domparsing.spec.whatwg.org/#insertadjacenthtml() |
(...skipping 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3707 | 3707 |
3708 DEFINE_TRACE_WRAPPERS(Element) | 3708 DEFINE_TRACE_WRAPPERS(Element) |
3709 { | 3709 { |
3710 if (hasRareData()) { | 3710 if (hasRareData()) { |
3711 visitor->traceWrappers(elementRareData()); | 3711 visitor->traceWrappers(elementRareData()); |
3712 } | 3712 } |
3713 ContainerNode::traceWrappers(visitor); | 3713 ContainerNode::traceWrappers(visitor); |
3714 } | 3714 } |
3715 | 3715 |
3716 } // namespace blink | 3716 } // namespace blink |
OLD | NEW |