| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple Inc. 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 // TODO(philipj): Remove the textinput event and the TextEvent interface. They | 28 // TODO(philipj): Remove the textinput event and the TextEvent interface. They |
| 29 // were removed from the spec in 2012: | 29 // were removed from the spec in 2012: |
| 30 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=12958 | 30 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=12958 |
| 31 // https://github.com/w3c/uievents/commit/1a2aa02b474fd4feaf43fdced06e6fd7214196
a4 | 31 // https://github.com/w3c/uievents/commit/1a2aa02b474fd4feaf43fdced06e6fd7214196
a4 |
| 32 | 32 |
| 33 interface TextEvent : UIEvent { | 33 interface TextEvent : UIEvent { |
| 34 | 34 |
| 35 [Measure] readonly attribute DOMString data; | 35 [Measure] readonly attribute DOMString data; |
| 36 | 36 |
| 37 [Measure] void initTextEvent([Default=Undefined] optional DOMString typeArg, | 37 [Measure] void initTextEvent([Default=Undefined] optional DOMString type, |
| 38 [Default=Undefined] optional boolean canBubbleA
rg, | 38 [Default=Undefined] optional boolean bubbles, |
| 39 [Default=Undefined] optional boolean cancelable
Arg, | 39 [Default=Undefined] optional boolean cancelable
, |
| 40 [Default=Undefined] optional Window viewArg, | 40 [Default=Undefined] optional Window? view, |
| 41 [Default=Undefined] optional DOMString dataArg)
; | 41 [Default=Undefined] optional DOMString data); |
| 42 | 42 |
| 43 }; | 43 }; |
| OLD | NEW |