| 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 12 matching lines...) Expand all Loading... |
| 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 NoInterfaceObject, |
| 32 EnabledAtRuntime=cssRegions, | 32 EnabledAtRuntime=cssRegions, |
| 33 EventTarget, | |
| 34 ImplementedAs=NamedFlow, | 33 ImplementedAs=NamedFlow, |
| 35 GenerateIsReachable=ownerNode | 34 GenerateIsReachable=ownerNode |
| 36 ] interface WebKitNamedFlow { | 35 ] interface WebKitNamedFlow : EventTarget { |
| 37 readonly attribute DOMString name; | 36 readonly attribute DOMString name; |
| 38 readonly attribute boolean overset; | 37 readonly attribute boolean overset; |
| 39 readonly attribute long firstEmptyRegionIndex; | 38 readonly attribute long firstEmptyRegionIndex; |
| 40 NodeList getRegionsByContent(Node contentNode); | 39 NodeList getRegionsByContent(Node contentNode); |
| 41 NodeList getRegions(); | 40 NodeList getRegions(); |
| 42 NodeList getContent(); | 41 NodeList getContent(); |
| 43 | |
| 44 // EventTarget interface | |
| 45 void addEventListener(DOMString type, | |
| 46 EventListener listener, | |
| 47 optional boolean useCapture); | |
| 48 void removeEventListener(DOMString type, | |
| 49 EventListener listener, | |
| 50 optional boolean useCapture); | |
| 51 [RaisesException] boolean dispatchEvent(Event event); | |
| 52 }; | 42 }; |
| OLD | NEW |