| 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 2309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2320 void Element::setIsInCanvasSubtree(bool isInCanvasSubtree) | 2320 void Element::setIsInCanvasSubtree(bool isInCanvasSubtree) |
| 2321 { | 2321 { |
| 2322 ensureElementRareData()->setIsInCanvasSubtree(isInCanvasSubtree); | 2322 ensureElementRareData()->setIsInCanvasSubtree(isInCanvasSubtree); |
| 2323 } | 2323 } |
| 2324 | 2324 |
| 2325 bool Element::isInCanvasSubtree() const | 2325 bool Element::isInCanvasSubtree() const |
| 2326 { | 2326 { |
| 2327 return hasRareData() && elementRareData()->isInCanvasSubtree(); | 2327 return hasRareData() && elementRareData()->isInCanvasSubtree(); |
| 2328 } | 2328 } |
| 2329 | 2329 |
| 2330 bool Element::isUnresolvedCustomElement() | |
| 2331 { | |
| 2332 return isCustomElement() && document()->registry()->isUnresolved(this); | |
| 2333 } | |
| 2334 | |
| 2335 void Element::setIsInsideRegion(bool value) | 2330 void Element::setIsInsideRegion(bool value) |
| 2336 { | 2331 { |
| 2337 if (value == isInsideRegion()) | 2332 if (value == isInsideRegion()) |
| 2338 return; | 2333 return; |
| 2339 | 2334 |
| 2340 ensureElementRareData()->setIsInsideRegion(value); | 2335 ensureElementRareData()->setIsInsideRegion(value); |
| 2341 } | 2336 } |
| 2342 | 2337 |
| 2343 bool Element::isInsideRegion() const | 2338 bool Element::isInsideRegion() const |
| 2344 { | 2339 { |
| (...skipping 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3598 return 0; | 3593 return 0; |
| 3599 } | 3594 } |
| 3600 | 3595 |
| 3601 Attribute* UniqueElementData::attributeItem(unsigned index) | 3596 Attribute* UniqueElementData::attributeItem(unsigned index) |
| 3602 { | 3597 { |
| 3603 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); | 3598 ASSERT_WITH_SECURITY_IMPLICATION(index < length()); |
| 3604 return &m_attributeVector.at(index); | 3599 return &m_attributeVector.at(index); |
| 3605 } | 3600 } |
| 3606 | 3601 |
| 3607 } // namespace WebCore | 3602 } // namespace WebCore |
| OLD | NEW |