DescriptionDo not ignore the text style properties when checking styles in EditingStyle.
When we run document.queryCommandState() to see if the text styles(bold,
italic, underline, strikethrough) were applied on selected img tag, it
returns wrong value because the text styles are only considerded for text node.
BUG=584939
TEST=editing/execCommand/queryCommandState-03.html
Committed: https://crrev.com/1e7d66ca32345881ae135af6ed712d3571f9b9e9
Cr-Commit-Position: refs/heads/master@{#392855}
Patch Set 1 #Patch Set 2 : move the test case #
Total comments: 1
Patch Set 3 : use w3c test harness #
Messages
Total messages: 12 (5 generated)
|