[Webkit-unassigned] [Bug 28093] New: Inspector: May Be Showing The Wrong Inherited/Computed Styles

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 7 21:22:05 PDT 2009


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

           Summary: Inspector: May Be Showing The Wrong Inherited/Computed
                    Styles
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck02 at gmail.com
                CC: hyatt at apple.com, timothy at hatcher.name,
                    aroben at apple.com, kmccullough at apple.com


The Inspector shows that the default (inherited) border color styles for an
<input> is "black" (in the 4 longhand properties).  However, attempting to
actually use manual CSS styles "border-color: black" will look completely
different.  It seems as though the default color really is "none".

The Inspector's computed styles come from the following:

    var computedStyle = node.ownerDocument.defaultView.getComputedStyle(node);

Is getComputedStyle acting wonky in this case?  Could there be other cases
where it is acting incorrectly?

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