summaryrefslogtreecommitdiff
path: root/Source/WebCore/dom/Attr.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/Attr.idl')
-rw-r--r--Source/WebCore/dom/Attr.idl24
1 files changed, 7 insertions, 17 deletions
diff --git a/Source/WebCore/dom/Attr.idl b/Source/WebCore/dom/Attr.idl
index 15c001a6b..4cf65336f 100644
--- a/Source/WebCore/dom/Attr.idl
+++ b/Source/WebCore/dom/Attr.idl
@@ -20,28 +20,18 @@
[
JSCustomMarkFunction,
- JSGenerateToNativeObject
+ JSGenerateToJSObject,
+ JSGenerateToNativeObject,
] interface Attr : Node {
-
- // DOM Level 1
-
- [TreatReturnedNullStringAs=Null] readonly attribute DOMString name;
+ readonly attribute DOMString? name;
readonly attribute boolean specified;
- [TreatReturnedNullStringAs=Null, TreatNullAs=NullString, SetterRaisesException] attribute DOMString value;
-
- // DOM Level 2
+ [CEReactions, ImplementedAs=valueForBindings] attribute DOMString value;
readonly attribute Element ownerElement;
- // DOM Level 3
-
- readonly attribute boolean isId;
-
-#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
- // This extension is no longer needed, but it has to remain available in Objective C, as it's public API.
- readonly attribute CSSStyleDeclaration style;
-#endif
+ readonly attribute DOMString? namespaceURI;
+ readonly attribute DOMString? prefix;
+ readonly attribute DOMString localName;
};
-