WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
67424
getComputedStyle() returns "italic" instead of "oblique"
https://bugs.webkit.org/show_bug.cgi?id=67424
Summary
getComputedStyle() returns "italic" instead of "oblique"
Aryeh Gregor
Reported
2011-09-01 12:27:46 PDT
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 . . .
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-07-24 05:02:43 PDT
I am unable to reproduce this bug in Safari 15.6 on macOS 12.5, it returns "oblique" as expected in the test case. JSFiddle -
https://jsfiddle.net/9g8rtod7/show
Chrome Canary 106 returns "italic" but Firefox Nightly 104 matches with Safari 15.6. I think it is Chrome bug and not Safari and can be marked as "RESOLVED INVALID" or "RESOLVED CONFIGURATION CHANGED". Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug