[Webkit-unassigned] [Bug 21235] New: accessing the red property of an RGBColor throw an exception

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 30 02:02:05 PDT 2008


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

           Summary: accessing the red property of an RGBColor throw an
                    exception
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P1
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: marchant at mac.com


I'm pretty sure it started to happen in Version 3.1.2 (5525.20.1):

        var startTypedValue = startValue.getRGBColorValue(), 
                startR = startTypedValue.red.getFloatValue(1);

startTypedValue is returned fine, but on different calls:
startTypedValue = Object-ID164
startTypedValue.red = undefined

and on a subsequent call:
startTypedValue = Object-ID168
Gianduia.js (line 7)startTypedValue.red = -1041054550
Gianduia.js (line 7)startTypedValue.red.getFloatValue = undefined

It used to work just fine, by comparison in FireFox:
startTypedValue = [object CSSRGBColor]
startTypedValue.red = [object ROCSSPrimitiveValue]
startTypedValue.red.getFloatValue = function getFloatValue() { [native code] }

and in Safari (shipping version)
startTypedValue = Object-ID4
startTypedValue.red = Object-ID5
startTypedValue.red.getFloatValue = function getFloatValue() {
    [native code]
}


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list