<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>67424</bug_id>
          
          <creation_ts>2011-09-01 12:27:46 -0700</creation_ts>
          <short_desc>getComputedStyle() returns &quot;italic&quot; instead of &quot;oblique&quot;</short_desc>
          <delta_ts>2022-07-24 12:10:26 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aryeh Gregor">ayg</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>mmaxfield</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>460687</commentid>
    <comment_count>0</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-09-01 12:27:46 -0700</bug_when>
    <thetext>Test case:

data:text/html,&lt;!doctype html&gt;
&lt;span style=font-style:oblique&gt;&lt;/span&gt;
&lt;script&gt;
alert(getComputedStyle(document.querySelector(&quot;span&quot;)).fontStyle)
&lt;/script&gt;

Chrome 15 dev alerts &quot;italic&quot;.  Firefox 8.0a2 alerts &quot;oblique&quot;.  I didn&apos;t test in other browsers, but really, it&apos;s pretty obvious that Chrome is wrong here.  Not likely to be high impact, since no one uses &quot;oblique&quot;, but . . .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1886334</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-07-24 05:02:43 -0700</bug_when>
    <thetext>I am unable to reproduce this bug in Safari 15.6 on macOS 12.5, it returns &quot;oblique&quot; as expected in the test case.

JSFiddle - https://jsfiddle.net/9g8rtod7/show

Chrome Canary 106 returns &quot;italic&quot; but Firefox Nightly 104 matches with Safari 15.6. I think it is Chrome bug and not Safari and can be marked as &quot;RESOLVED INVALID&quot; or &quot;RESOLVED CONFIGURATION CHANGED&quot;. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>