Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: Source/core/html/HTMLTextAreaElement.idl

Issue 660783002: Implement reportValidity() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Apply couple more tkent's comments + pull Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/html/HTMLSelectElement.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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) 2011 Motorola Mobility, Inc. All rights reserved. 4 * Copyright (C) 2011 Motorola Mobility, Inc. 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 26 matching lines...) Expand all
37 37
38 readonly attribute DOMString type; 38 readonly attribute DOMString type;
39 attribute DOMString defaultValue; 39 attribute DOMString defaultValue;
40 [TreatNullAs=NullString] attribute DOMString value; 40 [TreatNullAs=NullString] attribute DOMString value;
41 readonly attribute unsigned long textLength; 41 readonly attribute unsigned long textLength;
42 42
43 readonly attribute boolean willValidate; 43 readonly attribute boolean willValidate;
44 readonly attribute ValidityState validity; 44 readonly attribute ValidityState validity;
45 readonly attribute DOMString validationMessage; 45 readonly attribute DOMString validationMessage;
46 boolean checkValidity(); 46 boolean checkValidity();
47 boolean reportValidity();
47 void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error); 48 void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error);
48 49
49 readonly attribute NodeList labels; 50 readonly attribute NodeList labels;
50 51
51 void select(); 52 void select();
52 attribute long selectionStart; 53 attribute long selectionStart;
53 attribute long selectionEnd; 54 attribute long selectionEnd;
54 attribute DOMString selectionDirection; 55 attribute DOMString selectionDirection;
55 56
56 [RaisesException] void setRangeText(DOMString replacement); 57 [RaisesException] void setRangeText(DOMString replacement);
57 [RaisesException] void setRangeText(DOMString replacement, 58 [RaisesException] void setRangeText(DOMString replacement,
58 unsigned long start, 59 unsigned long start,
59 unsigned long end, 60 unsigned long end,
60 optional DOMString selectionMode = null); 61 optional DOMString selectionMode = null);
61 62
62 void setSelectionRange([Default=Undefined] optional long start, 63 void setSelectionRange([Default=Undefined] optional long start,
63 [Default=Undefined] optional long end, 64 [Default=Undefined] optional long end,
64 optional DOMString direction); 65 optional DOMString direction);
65 }; 66 };
OLDNEW
« no previous file with comments | « Source/core/html/HTMLSelectElement.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698