[Input Events] Rename inputType "formatForeColor" to "formatFontColor"
authorwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 Aug 2017 04:13:36 +0000 (04:13 +0000)
committerwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 Aug 2017 04:13:36 +0000 (04:13 +0000)
commit86444bd1f9520d7622083e1ed9ec6c80269c931d
tree2632d3dd967a08559d92b564cb80360cf865de51
parent6971d3520c6a770babdc7078555b31256b73a09d
[Input Events] Rename inputType "formatForeColor" to "formatFontColor"
https://bugs.webkit.org/show_bug.cgi?id=175703

Reviewed by Ryosuke Niwa.

Source/WebCore:

Renames an inputType value to match the spec. There is no other change in behavior.
Rebaselines fast/events/input-events-selection-forecolor-data.html and fast/events/input-events-forecolor-data.html.

* editing/EditCommand.cpp:
(WebCore::inputTypeNameForEditingAction):

LayoutTests:

Rebaselines two LayoutTests that check for the "formatForeColor" inputType.

* fast/events/input-events-forecolor-data-expected.txt:
* fast/events/input-events-selection-forecolor-data.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/events/input-events-forecolor-data-expected.txt
LayoutTests/fast/events/input-events-selection-forecolor-data.html
Source/WebCore/ChangeLog
Source/WebCore/editing/EditCommand.cpp