diff options
Diffstat (limited to 'WebCore/dom/Element.h')
-rw-r--r-- | WebCore/dom/Element.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/WebCore/dom/Element.h b/WebCore/dom/Element.h index c6eebcb..a0cf7b1 100644 --- a/WebCore/dom/Element.h +++ b/WebCore/dom/Element.h @@ -26,7 +26,7 @@ #define Element_h #include "Document.h" -#include "MappedAttributeEntry.h" +#include "FragmentScriptingPermission.h" #include "NamedNodeMap.h" #include "ScrollTypes.h" @@ -101,6 +101,12 @@ public: void setAttribute(const QualifiedName&, const AtomicString& value, ExceptionCode&); void removeAttribute(const QualifiedName&, ExceptionCode&); + // Typed getters and setters for language bindings. + int getIntegralAttribute(const QualifiedName& attributeName) const; + void setIntegralAttribute(const QualifiedName& attributeName, int value); + unsigned getUnsignedIntegralAttribute(const QualifiedName& attributeName) const; + void setUnsignedIntegralAttribute(const QualifiedName& attributeName, unsigned value); + // Call this to get the value of an attribute that is known not to be the style // attribute or one of the SVG animatable attributes. bool fastHasAttribute(const QualifiedName&) const; @@ -279,6 +285,10 @@ public: virtual void dispatchFormControlChangeEvent() { } +#if ENABLE(SVG) + virtual bool childShouldCreateRenderer(Node*) const; +#endif + protected: Element(const QualifiedName& tagName, Document* document, ConstructionType type) : ContainerNode(document, type) |