Bug 82078 - CSS OM should return the actual initial value instead of literal "initial"
Summary: CSS OM should return the actual initial value instead of literal "initial"
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-23 12:26 PDT by Ryosuke Niwa
Modified: 2017-03-07 08:55 PST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2012-03-23 12:26:27 PDT
e.g.

<div id="test" style="border:solid;">hello</div>
<script>

alert(document.getElementById('test').borderTopWidth);

</script>

Both Firefox and Internet Explorer return "medium".
Comment 1 L. David Baron 2017-03-06 17:02:15 PST
Also see https://github.com/w3c/csswg-drafts/issues/1068 .
Comment 2 Chris Dumez 2017-03-07 08:49:51 PST
Corresponding Blink bug:
https://bugs.chromium.org/p/chromium/issues/detail?id=501673