[Webkit-unassigned] [Bug 56623] Consider adding an execCommand to apply an arbitrary set of CSS styles.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 18 11:33:46 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=56623
Aryeh Gregor <ayg at aryeh.name> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ayg at aryeh.name
--- Comment #1 from Aryeh Gregor <ayg at aryeh.name> 2011-08-18 11:33:46 PST ---
This is extremely nontrivial in practice. CSS styles that don't behave in a very particular way need a whole bunch of special-casing to work properly with execCommand(). There's unique special-case code for every command in my spec except bold, fontName, and italic, I think. There are probably only one or two additional properties that would make any sense without special-cases, like font-variant.
We do definitely need to make execCommand() more extensible going forward, once the current implementation is settled down a bit more. But it's not likely to be a matter of just passing the name and value of a CSS property, more like the author will have to write a few callbacks.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list