OLD | NEW |
1 This test setting suggested values on an input element | 1 This test setting suggested values on an input element |
2 and a textarea element. The dump below should have the "suggested value" | 2 and a textarea element. The dump below should have the "suggested value" |
3 instead of "initial value". | 3 instead of "initial value". |
4 | <input> | 4 | <input> |
5 | id="test" | 5 | id="test" |
6 | type="text" | 6 | type="text" |
7 | value="initial value" | 7 | value="initial value" |
8 | this.value="initial value" | 8 | this.value="initial value" |
9 | <shadow:root> | 9 | <shadow:root> |
10 | <div> | 10 | <div> |
11 | id="inner-editor" | 11 | id="inner-editor" |
12 | "suggested value" | 12 | "suggested value" |
| 13 | <input> |
| 14 | id="month" |
| 15 | type="month" |
| 16 | this.value="" |
| 17 | <shadow:root> |
| 18 | <div> |
| 19 | id="date-time-edit" |
| 20 | pseudo="-webkit-datetime-edit" |
| 21 | shadow:pseudoId="-webkit-datetime-edit" |
| 22 | <div> |
| 23 | pseudo="-webkit-datetime-edit-fields-wrapper" |
| 24 | shadow:pseudoId="-webkit-datetime-edit-fields-wrapper" |
| 25 | <span> |
| 26 | aria-help="Month" |
| 27 | aria-valuemax="12" |
| 28 | aria-valuemin="1" |
| 29 | aria-valuenow="1" |
| 30 | aria-valuetext="January" |
| 31 | pseudo="-webkit-datetime-edit-month-field" |
| 32 | role="spinbutton" |
| 33 | shadow:pseudoId="-webkit-datetime-edit-month-field" |
| 34 | "January" |
| 35 | <div> |
| 36 | pseudo="-webkit-datetime-edit-text" |
| 37 | shadow:pseudoId="-webkit-datetime-edit-text" |
| 38 | " " |
| 39 | <span> |
| 40 | aria-help="Year" |
| 41 | aria-valuemax="275760" |
| 42 | aria-valuemin="1" |
| 43 | aria-valuenow="2014" |
| 44 | aria-valuetext="2014" |
| 45 | pseudo="-webkit-datetime-edit-year-field" |
| 46 | role="spinbutton" |
| 47 | shadow:pseudoId="-webkit-datetime-edit-year-field" |
| 48 | "2014" |
| 49 | <div> |
| 50 | id="clear" |
| 51 | pseudo="-webkit-clear-button" |
| 52 | style="" |
| 53 | shadow:pseudoId="-webkit-clear-button" |
| 54 | <div> |
| 55 | id="spin" |
| 56 | pseudo="-webkit-inner-spin-button" |
| 57 | shadow:pseudoId="-webkit-inner-spin-button" |
| 58 | <div> |
| 59 | id="picker" |
| 60 | pseudo="-webkit-calendar-picker-indicator" |
| 61 | shadow:pseudoId="-webkit-calendar-picker-indicator" |
13 | <textarea> | 62 | <textarea> |
14 | id="textarea" | 63 | id="textarea" |
15 | this.value="initial value" | 64 | this.value="initial value" |
16 | <shadow:root> | 65 | <shadow:root> |
17 | <div> | 66 | <div> |
18 | id="inner-editor" | 67 | id="inner-editor" |
19 | "suggested value" | 68 | "suggested value" |
20 | "input.value: initial value" | 69 | "input.value: initial value" |
21 | "internals.suggestedValue(input): suggested value" | 70 | "internals.suggestedValue(input): suggested value" |
22 | "input.selectionStart: 0" | 71 | "input.selectionStart: 0" |
23 | "input.selectionEnd: 0" | 72 | "input.selectionEnd: 0" |
| 73 | "month.value: " |
| 74 | "internals.suggestedValue(month): 2014-01" |
24 | "textarea.value: initial value" | 75 | "textarea.value: initial value" |
25 | "internals.suggestedValue(textarea): suggested value" | 76 | "internals.suggestedValue(textarea): suggested value" |
OLD | NEW |