Summary: | CSS OM should return the actual initial value instead of literal "initial" | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | ahmad.saleem792, ap, bfulgham, cdumez, dbaron, hyatt, kling, koivisto, menard, rniwa, simon.fraser, zalan |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://jsfiddle.net/tmjL0fp8/ |
Description
Ryosuke Niwa
2012-03-23 12:26:27 PDT
Corresponding Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=501673 I changed the test case from Comment 0 into JSFiddle: Link - https://jsfiddle.net/tx5pjqfo/show All browsers (Safari Technology Preview 151, Chrome Canary 106 and Firefox Nightly 105) show alert with "undefined" value. I am not sure whether this is something fixed or not? But all browsers are outputting same. Thanks! This still reproduces as before - WebKit and Blink get "initial", Gecko gets "medium". Blink has a patch posted for this in 2021, not landed yet. The test isn't quite right, it lacks ".style". Here is a corrected one: https://jsfiddle.net/tmjL0fp8/ (In reply to Alexey Proskuryakov from comment #4) > This still reproduces as before - WebKit and Blink get "initial", Gecko gets > "medium". > > Blink has a patch posted for this in 2021, not landed yet. > > The test isn't quite right, it lacks ".style". Here is a corrected one: > https://jsfiddle.net/tmjL0fp8/ Safari 16.5.1 now gets 'medium' in the attached JSFiddle similar to Firefox Nightly 117. |