[Webkit-unassigned] [Bug 15651] color-related execCommand operations require the "#" on hex colors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 18 10:52:11 PDT 2011


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


Aryeh Gregor <Simetrical+webkit at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Simetrical+webkit at gmail.com




--- Comment #1 from Aryeh Gregor <Simetrical+webkit at gmail.com>  2011-08-18 10:52:11 PST ---
That's not what my testing showed.  Simple test-case:

data:text/html,<!doctype html>
<div contenteditable>foo</div>
<script>
getSelection().selectAllChildren(document.querySelector("div"));
document.execCommand("forecolor", false, "ff0000");
</script>

The text is red in Chrome 15 dev.  Only Gecko fails this.  The spec I wrote is here:

http://aryeh.name/spec/editing/editing.html#the-forecolor-command

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