Closed Bug 160619 Opened 22 years ago Closed 22 years ago

getComputedStyle does not work for certain properties.

Categories

(Core :: DOM: CSS Object Model, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 42417

People

(Reporter: vladimire, Assigned: jst)

Details

Attachments

(1 file)

getComputedStyle does not work for the following properties:
azimuth
background-position
border
border-color
border-spacing
border-style
border-top
border-right
border-bottom
border-left
border-top-width - always computes to 0px
border-right-width - always computes to 0px
border-left-width - always computes to 0px
border-bottom-width - always computes to 0px
border-width
content
cue
cue-after
cue-before
elevation
font
font-stretch
list-style
margin
marks
orphans
Attached file testcase
Most of these fall under bug 42417.  The borders are computing correctly, since
those divs have "border-style: none" (the default) and
http://www.w3.org/TR/REC-CSS2/box.html#value-def-border-style says:

  none
    No border. This value forces the computed value of 'border-width' to be '0'.

As a further note, the "cue-* properties are not set correctly (the quoting is
all broken) and the list-style should not have that comma in the value.

*** This bug has been marked as a duplicate of 42417 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
verifying
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: