OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
10 * disclaimer. | 10 * disclaimer. |
(...skipping 10 matching lines...) Expand all Loading... |
21 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | 21 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
22 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | 22 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR | 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF | 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF |
26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
27 * SUCH DAMAGE. | 27 * SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 [ | 30 [ |
| 31 NoInterfaceObject, |
31 EnabledAtRuntime=cssRegions, | 32 EnabledAtRuntime=cssRegions, |
32 EventTarget, | 33 EventTarget, |
33 InterfaceName=WebKitNamedFlow, | 34 InterfaceName=WebKitNamedFlow, |
34 GenerateIsReachable=ImplOwnerNodeRoot | 35 GenerateIsReachable=ImplOwnerNodeRoot |
35 ] interface NamedFlow { | 36 ] interface NamedFlow { |
36 readonly attribute DOMString name; | 37 readonly attribute DOMString name; |
37 readonly attribute boolean overset; | 38 readonly attribute boolean overset; |
38 readonly attribute long firstEmptyRegionIndex; | 39 readonly attribute long firstEmptyRegionIndex; |
39 NodeList getRegionsByContent(Node contentNode); | 40 NodeList getRegionsByContent(Node contentNode); |
40 NodeList getRegions(); | 41 NodeList getRegions(); |
41 NodeList getContent(); | 42 NodeList getContent(); |
42 | 43 |
43 // EventTarget interface | 44 // EventTarget interface |
44 void addEventListener(DOMString type, | 45 void addEventListener(DOMString type, |
45 EventListener listener, | 46 EventListener listener, |
46 optional boolean useCapture); | 47 optional boolean useCapture); |
47 void removeEventListener(DOMString type, | 48 void removeEventListener(DOMString type, |
48 EventListener listener, | 49 EventListener listener, |
49 optional boolean useCapture); | 50 optional boolean useCapture); |
50 [RaisesException] boolean dispatchEvent(Event event); | 51 [RaisesException] boolean dispatchEvent(Event event); |
51 }; | 52 }; |
OLD | NEW |