| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserve | 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserve |
| 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 // https://html.spec.whatwg.org/#htmlframesetelement | 21 // https://html.spec.whatwg.org/#htmlframesetelement |
| 22 | 22 |
| 23 // FIXME: HTMLFrameSetElement should not have [OverrideBuiltins]. | 23 // FIXME: HTMLFrameSetElement should not have [OverrideBuiltins]. |
| 24 [ | 24 [ |
| 25 OverrideBuiltins, | 25 OverrideBuiltins, |
| 26 ] interface HTMLFrameSetElement : HTMLElement { | 26 ] interface HTMLFrameSetElement : HTMLElement { |
| 27 [Reflect] attribute DOMString cols; | 27 [Reflect] attribute DOMString cols; |
| 28 [Reflect] attribute DOMString rows; | 28 [Reflect] attribute DOMString rows; |
| 29 | 29 |
| 30 // TODO(philipj): These event handler attributes should be inherited from | 30 // TODO(foolip): These event handler attributes should be inherited from |
| 31 // HTMLElement (which implements GlobalEventHandlers), but have different | 31 // HTMLElement (which implements GlobalEventHandlers), but have different |
| 32 // behavior. See https://www.w3.org/Bugs/Public/show_bug.cgi?id=28166 | 32 // behavior. See https://www.w3.org/Bugs/Public/show_bug.cgi?id=28166 |
| 33 attribute EventHandler onblur; | 33 attribute EventHandler onblur; |
| 34 attribute EventHandler onerror; | 34 attribute EventHandler onerror; |
| 35 attribute EventHandler onfocus; | 35 attribute EventHandler onfocus; |
| 36 attribute EventHandler onload; | 36 attribute EventHandler onload; |
| 37 attribute EventHandler onresize; | 37 attribute EventHandler onresize; |
| 38 attribute EventHandler onscroll; | 38 attribute EventHandler onscroll; |
| 39 | 39 |
| 40 // Non-standard APIs | 40 // Non-standard APIs |
| 41 [NotEnumerable] getter Window (DOMString name); | 41 [NotEnumerable] getter Window (DOMString name); |
| 42 [RuntimeEnabled=OrientationEvent] attribute EventHandler onorientationchange
; | 42 [RuntimeEnabled=OrientationEvent] attribute EventHandler onorientationchange
; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 HTMLFrameSetElement implements WindowEventHandlers; | 45 HTMLFrameSetElement implements WindowEventHandlers; |
| OLD | NEW |