ToggleBold does not work in specific editable contents
authorKyungTae Kim <ktf.kim@samsung.com>
Wed, 3 Jul 2013 05:08:34 +0000 (14:08 +0900)
committerKyungTae Kim <ktf.kim@samsung.com>
Mon, 15 Jul 2013 11:27:58 +0000 (20:27 +0900)
commit8efef7fd3aea9598945bad72aa53a0a298ec4913
tree7c4095f99aeda509adcd5404a3c71bb4f7e8a974
parent3348721d1fc840315dda220f1c8bb55454623daf
ToggleBold does not work in specific editable contents

[Title] ToggleBold does not work in specific editable contents
[Issue] P130610-4137
[Problem] In Email, ToggleBold does not work after 'select all' for some mails.
[Cause] The invisible text elements was included when checking triStateOfStyle.
[Solution] Add a checking routine for 'node->renderer' so that the invisible elements can't make the state as 'mixed'.
Added on opensource: http://webkit.org/b/118285

Change-Id: I721599d62b87a07bd39ca4a124c5d3e6f4059575
Source/WTF/wtf/Platform.h
Source/WebCore/editing/EditingStyle.cpp