NEW 56622
ApplyStyleCommand will apply font-weight:normal to bold tags outside of the starting selection
https://bugs.webkit.org/show_bug.cgi?id=56622
Summary ApplyStyleCommand will apply font-weight:normal to bold tags outside of the s...
Justin Garcia
Reported 2011-03-17 18:35:31 PDT
I'm trying to create an ApplyStyleCommand to apply font-weight:normal (among other styles) to a selection, but the command is adding that style to a bold tag's inline style declaration, and that bold tag is outside the selection. No test case atm. We should consider adding an execCommand to apply an arbitrary set of CSS styles.
Attachments
Justin Garcia
Comment 1 2011-03-17 18:37:10 PDT
Justin Garcia
Comment 2 2011-03-17 18:40:19 PDT
<rdar://problem/9152837> ApplyStyleCommand will apply font-weight:normal to bold tags outside of the starting selection
Note You need to log in before you can comment on or make changes to this bug.