[Webkit-unassigned] [Bug 21680] queryCommandValue("BackColor") always returns rgb(0, 0, 0)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 17 18:44:22 PDT 2009


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





--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org>  2009-08-17 18:44:20 PDT ---
This bug is caused by PassRefPtr<CSSComputedStyleDeclaration>
Frame::selectionComputedStyle(Node*& nodeToRemove) const.

I added styleElement->showTreeForThis(); at the end and probed my demo.

BODY    0x1ac54250
    #text    0x1acf72f0 "\n"
    DIV    0x1acf9360 STYLE=background: green;
        SPAN    0x1acf7b10
            #text    0x1c61a080 "hello world"
    #text    0x1ac53740 "\n\n"
*    P    0x1acf6d60
        #text    0x1acf7150 "BackgroundColor: "
        SPAN    0x1acf6b90
    #text    0x1ac28600 "\n\n"

This isn't right.  P is not even selected.

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