[Webkit-unassigned] [Bug 23995] backgound color lost on indent/listify

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 10 12:44:05 PDT 2009


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





--- Comment #2 from Julie Parent <jparent at google.com>  2009-07-10 12:44:05 PDT ---
Ok, better demo, will alert PASS if this is fixed, FAIL otherwise.  This demo
tests indent.
http://www.plexode.com/cgi-bin/eval3.py#ht=%3Cdiv%20contentEditable%20id%3D'foo'%3E%3Cfont%20style%3D'background-color%3Ared'%3EI%20am%20red%3C%2Ffont%3E%3C%2Fdiv%3E%3Cdiv%20id%3D'c'%3E%3C%2Fdiv%3E&ohh=1&ohj=0&jt=foo.focus()%3B%0Adocument.execCommand('selectAll')%3B%0Adocument.execCommand('indent')%3B%0A%0Avar%20text%20%3D%20document.createTextNode(foo.innerHTML)%3B%0Ac.appendChild(text)%3B%0Avar%20color%20%3D%20document.queryCommandValue('backColor')%3B%0Aif%20(color%20%3D%3D%20%22rgba(0%2C%200%2C%200%2C%200)%22)%20%7B%0A%20%20alert(%22FAIL%22)%3B%0A%7D%20else%20%7B%0A%20%20alert(%22PASS%22)%3B%0A%7D%0A&ojh=1&ojj=1&ms=100&oth=0&otj=0&cex=1

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