summaryrefslogtreecommitdiff
path: root/Source/WebCore/dom/WebKitNamedFlow.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/WebKitNamedFlow.idl')
-rw-r--r--Source/WebCore/dom/WebKitNamedFlow.idl19
1 files changed, 5 insertions, 14 deletions
diff --git a/Source/WebCore/dom/WebKitNamedFlow.idl b/Source/WebCore/dom/WebKitNamedFlow.idl
index b27e0d05a..8a3f71a06 100644
--- a/Source/WebCore/dom/WebKitNamedFlow.idl
+++ b/Source/WebCore/dom/WebKitNamedFlow.idl
@@ -28,24 +28,15 @@
*/
[
- NoInterfaceObject,
- EventTarget,
- JSGenerateToJSObject,
GenerateIsReachable=ImplOwnerNodeRoot,
-] interface WebKitNamedFlow {
+ NoInterfaceObject,
+] interface WebKitNamedFlow : EventTarget
+{
readonly attribute DOMString name;
readonly attribute boolean overset;
readonly attribute long firstEmptyRegionIndex;
- NodeList getRegionsByContent(Node contentNode);
+ // FIXME: contentNode should not be nullable.
+ NodeList getRegionsByContent(Node? contentNode);
NodeList getRegions();
NodeList getContent();
-
- // EventTarget interface
- void addEventListener(DOMString type,
- EventListener listener,
- optional boolean useCapture);
- void removeEventListener(DOMString type,
- EventListener listener,
- optional boolean useCapture);
- [RaisesException] boolean dispatchEvent(Event event);
};