Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 73 readonly attribute ValidityState validity; | 73 readonly attribute ValidityState validity; |
| 74 readonly attribute DOMString validationMessage; | 74 readonly attribute DOMString validationMessage; |
| 75 boolean checkValidity(); | 75 boolean checkValidity(); |
| 76 boolean reportValidity(); | 76 boolean reportValidity(); |
| 77 void setCustomValidity(DOMString error); | 77 void setCustomValidity(DOMString error); |
| 78 | 78 |
| 79 readonly attribute NodeList labels; | 79 readonly attribute NodeList labels; |
| 80 | 80 |
| 81 void select(); | 81 void select(); |
| 82 // FIXME: selectionStart and selectionEnd should be unsigned long. | 82 // FIXME: selectionStart and selectionEnd should be unsigned long. |
| 83 [RaisesException, ImplementedAs=selectionStartForBinding] attribute long sel ectionStart; | 83 [RaisesException, ImplementedAs=selectionStartForBinding] attribute long? se lectionStart; |
|
foolip
2016/12/13 22:37:31
OK, so I said that making readonly attributes null
lunalu1
2016/12/14 11:00:14
Done.
| |
| 84 [RaisesException, ImplementedAs=selectionEndForBinding] attribute long selec tionEnd; | 84 [RaisesException, ImplementedAs=selectionEndForBinding] attribute long? sele ctionEnd; |
| 85 [RaisesException, ImplementedAs=selectionDirectionForBinding] attribute DOMS tring selectionDirection; | 85 [RaisesException, ImplementedAs=selectionDirectionForBinding] attribute DOMS tring? selectionDirection; |
| 86 [RaisesException] void setRangeText(DOMString replacement); | 86 [RaisesException] void setRangeText(DOMString replacement); |
| 87 [RaisesException] void setRangeText(DOMString replacement, | 87 [RaisesException] void setRangeText(DOMString replacement, |
| 88 unsigned long start, | 88 unsigned long start, |
| 89 unsigned long end, | 89 unsigned long end, |
| 90 optional SelectionMode selectionMode = " preserve"); | 90 optional SelectionMode selectionMode = " preserve"); |
| 91 // FIXME: The start and end arguments should be unsigned long and should not have [Default=Undefined]. | 91 // FIXME: The start and end arguments should be unsigned long and should not have [Default=Undefined]. |
| 92 [RaisesException, ImplementedAs=setSelectionRangeForBinding] | 92 [RaisesException, ImplementedAs=setSelectionRangeForBinding] |
| 93 void setSelectionRange([Default=Undefined] optional long start, | 93 void setSelectionRange([Default=Undefined] optional long start, |
| 94 [Default=Undefined] optional long end, | 94 [Default=Undefined] optional long end, |
| 95 optional DOMString direction); | 95 optional DOMString direction); |
| 96 | 96 |
| 97 // obsolete members | 97 // obsolete members |
| 98 // https://html.spec.whatwg.org/#HTMLInputElement-partial | 98 // https://html.spec.whatwg.org/#HTMLInputElement-partial |
| 99 [CEReactions, Reflect] attribute DOMString align; | 99 [CEReactions, Reflect] attribute DOMString align; |
| 100 [CEReactions, Reflect] attribute DOMString useMap; | 100 [CEReactions, Reflect] attribute DOMString useMap; |
| 101 | 101 |
| 102 // HTML autocapitalize proposal | 102 // HTML autocapitalize proposal |
| 103 // https://github.com/mounirlamouri/html-autocapitalize/blob/master/proposal .md | 103 // https://github.com/mounirlamouri/html-autocapitalize/blob/master/proposal .md |
| 104 [Measure] attribute DOMString autocapitalize; | 104 [Measure] attribute DOMString autocapitalize; |
| 105 | 105 |
| 106 // HTML Media Capture | 106 // HTML Media Capture |
| 107 // http://www.w3.org/TR/html-media-capture/ | 107 // http://www.w3.org/TR/html-media-capture/ |
| 108 [RuntimeEnabled=MediaCapture, Reflect] attribute boolean capture; | 108 [RuntimeEnabled=MediaCapture, Reflect] attribute boolean capture; |
| 109 | 109 |
| 110 // Non-standard APIs | 110 // Non-standard APIs |
| 111 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire ctory; | 111 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire ctory; |
| 112 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental; | 112 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental; |
| 113 }; | 113 }; |
| OLD | NEW |