Changeset 220901 in webkit
- Timestamp:
- Aug 17, 2017 9:13:36 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r220892 r220901 1 2017-08-17 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 [Input Events] Rename inputType "formatForeColor" to "formatFontColor" 4 https://bugs.webkit.org/show_bug.cgi?id=175703 5 6 Reviewed by Ryosuke Niwa. 7 8 Rebaselines two LayoutTests that check for the "formatForeColor" inputType. 9 10 * fast/events/input-events-forecolor-data-expected.txt: 11 * fast/events/input-events-selection-forecolor-data.html: 12 1 13 2017-08-17 Ryan Haddad <ryanhaddad@apple.com> 2 14 -
trunk/LayoutTests/fast/events/input-events-forecolor-data-expected.txt
r207244 r220901 5 5 6 6 event.type = beforeinput 7 event.inputType = formatFo reColor7 event.inputType = formatFontColor 8 8 event.data = rgb(255, 255, 255) 9 9 event.type = input 10 event.inputType = formatFo reColor10 event.inputType = formatFontColor 11 11 event.data = rgb(255, 255, 255) 12 12 event.type = beforeinput 13 event.inputType = formatFo reColor13 event.inputType = formatFontColor 14 14 event.data = rgb(100, 255, 0) 15 15 event.type = input 16 event.inputType = formatFo reColor16 event.inputType = formatFontColor 17 17 event.data = rgb(100, 255, 0) 18 18 event.type = beforeinput 19 event.inputType = formatFo reColor19 event.inputType = formatFontColor 20 20 event.data = rgb(0, 0, 0) 21 21 event.type = input 22 event.inputType = formatFo reColor22 event.inputType = formatFontColor 23 23 event.data = rgb(0, 0, 0) 24 24 event.type = beforeinput 25 event.inputType = formatFo reColor25 event.inputType = formatFontColor 26 26 event.data = rgb(255, 0, 0) 27 27 event.type = input 28 event.inputType = formatFo reColor28 event.inputType = formatFontColor 29 29 event.data = rgb(255, 0, 0) 30 30 PASS successfullyParsed is true -
trunk/LayoutTests/fast/events/input-events-selection-forecolor-data.html
r208461 r220901 30 30 function handleInput(event) 31 31 { 32 if (event.inputType === "formatFo reColor")32 if (event.inputType === "formatFontColor") 33 33 write(`Received ${event.type} event with data: "${event.data}"`); 34 34 } -
trunk/Source/WebCore/ChangeLog
r220897 r220901 1 2017-08-17 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 [Input Events] Rename inputType "formatForeColor" to "formatFontColor" 4 https://bugs.webkit.org/show_bug.cgi?id=175703 5 6 Reviewed by Ryosuke Niwa. 7 8 Renames an inputType value to match the spec. There is no other change in behavior. 9 Rebaselines fast/events/input-events-selection-forecolor-data.html and fast/events/input-events-forecolor-data.html. 10 11 * editing/EditCommand.cpp: 12 (WebCore::inputTypeNameForEditingAction): 13 1 14 2017-08-17 Daewoong Jang <daewoong.jang@navercorp.com> 2 15 -
trunk/Source/WebCore/editing/EditCommand.cpp
r213355 r220901 57 57 return ASCIILiteral("formatUnderline"); 58 58 case EditActionSetColor: 59 return ASCIILiteral("formatFo reColor");59 return ASCIILiteral("formatFontColor"); 60 60 case EditActionDeleteByDrag: 61 61 return ASCIILiteral("deleteByDrag");
Note: See TracChangeset
for help on using the changeset viewer.