diff options
Diffstat (limited to 'WebCore/dom/Document.idl')
| -rw-r--r-- | WebCore/dom/Document.idl | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/WebCore/dom/Document.idl b/WebCore/dom/Document.idl index cd3ec77..e54add0 100644 --- a/WebCore/dom/Document.idl +++ b/WebCore/dom/Document.idl @@ -64,7 +64,7 @@ module core { raises (DOMException); [OldStyleObjC] NodeList getElementsByTagNameNS(in [ConvertNullToNullString] DOMString namespaceURI, in DOMString localName); - Element getElementById(in [V8Custom=HintAtomic] DOMString elementId); + Element getElementById(in DOMString elementId); // DOM Level 3 Core @@ -155,22 +155,25 @@ module core { attribute [ConvertNullToNullString] DOMString title; readonly attribute DOMString referrer; #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT - attribute [ConvertNullToNullString] DOMString domain; + attribute [ConvertNullToNullString] DOMString domain + setter raises (DOMException); #else readonly attribute DOMString domain; #endif readonly attribute DOMString URL; - // FIXME: the DOM spec states that this attribute can - // raise an exception on setting. attribute [ConvertNullToNullString] DOMString cookie - /*setter raises (DOMException)*/; + setter raises (DOMException), + getter raises (DOMException); // FIXME: the DOM spec does NOT have this attribute // raising an exception. attribute HTMLElement body setter raises (DOMException); +#if !defined(LANGUAGE_COM) || !LANGUAGE_COM + readonly attribute HTMLHeadElement head; +#endif readonly attribute HTMLCollection images; readonly attribute HTMLCollection applets; readonly attribute HTMLCollection links; @@ -191,6 +194,9 @@ module core { readonly attribute [ConvertNullStringTo=Undefined] DOMString readyState; Element elementFromPoint(in long x, in long y); +#if !defined(LANGUAGE_COM) || !LANGUAGE_COM + Range caretRangeFromPoint(in long x, in long y); +#endif // Mozilla extensions #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT @@ -264,6 +270,7 @@ module core { attribute [DontEnum] EventListener onerror; attribute [DontEnum] EventListener onfocus; attribute [DontEnum] EventListener oninput; + attribute [DontEnum] EventListener oninvalid; attribute [DontEnum] EventListener onkeydown; attribute [DontEnum] EventListener onkeypress; attribute [DontEnum] EventListener onkeyup; @@ -291,7 +298,6 @@ module core { // attribute [DontEnum] EventListener onended; // attribute [DontEnum] EventListener onformchange; // attribute [DontEnum] EventListener onforminput; - // attribute [DontEnum] EventListener oninvalid; // attribute [DontEnum] EventListener onloadeddata; // attribute [DontEnum] EventListener onloadedmetadata; // attribute [DontEnum] EventListener onloadstart; |
