[Webkit-unassigned] [Bug 46658] New: The web colours palevioletred and mediumpurple are incorrect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 27 14:59:30 PDT 2010


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

           Summary: The web colours palevioletred and mediumpurple are
                    incorrect
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: paulmgillard at gmail.com


The RGB values returned for the palevioletred and mediumpurple web colours in Safari Version 5.0.2 (6533.18.5) and Chrome 6.0.472.63 are incorrect. Given the colours are incorrect in both browsers I'm assuming this is a WebKit issue. The following code can be used to illustrate the difference when compared to http://www.w3.org/TR/css3-color/#svg-color.

getWebColor = function(colour) {
  i = document.createElement("i")
  i.title = "Example"
  document.body.appendChild(i)
  i.style.color = colour
  document.defaultView.getComputedStyle(i, "").getPropertyValue("color")
}

getWebColor('mediumpurple');
getWebColor('palevioletred');

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