[Webkit-unassigned] [Bug 41248] styleWithCSS true does not work (always produce <b>, etc)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 27 14:25:48 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=41248


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|PC                          |All
         OS/Version|Windows Vista               |All
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID
                 CC|                            |ap at webkit.org




--- Comment #1 from Alexey Proskuryakov <ap at webkit.org>  2010-06-27 14:25:48 PST ---
>        document.execCommand('bold', false, "styleWithCSS", true);

That's not how execCommand works. Bold and styleWithCSS are two separate commands that need to be invoked separately:

        document.execCommand("styleWithCSS", false, "true");
        document.execCommand('bold', false, null);

-- 
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