[Webkit-unassigned] [Bug 67424] New: getComputedStyle() returns "italic" instead of "oblique"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 1 12:27:45 PDT 2011


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

           Summary: getComputedStyle() returns "italic" instead of
                    "oblique"
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ayg at aryeh.name


Test case:

data:text/html,<!doctype html>
<span style=font-style:oblique></span>
<script>
alert(getComputedStyle(document.querySelector("span")).fontStyle)
</script>

Chrome 15 dev alerts "italic".  Firefox 8.0a2 alerts "oblique".  I didn't test in other browsers, but really, it's pretty obvious that Chrome is wrong here.  Not likely to be high impact, since no one uses "oblique", but . . .

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