Bug 56622
Summary: | ApplyStyleCommand will apply font-weight:normal to bold tags outside of the starting selection | ||
---|---|---|---|
Product: | WebKit | Reporter: | Justin Garcia <justin.garcia> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | rniwa |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 |
Justin Garcia
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Justin Garcia
https://bugs.webkit.org/show_bug.cgi?id=56623
Justin Garcia
<rdar://problem/9152837> ApplyStyleCommand will apply font-weight:normal to bold tags outside of the starting selection