Closed Bug 761989 Opened 13 years ago Closed 13 years ago

With -moz-box-sizing, getComputedStyle() and element.style.height should be congruent

Categories

(Core :: CSS Parsing and Computation, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 520992

People

(Reporter: djc, Unassigned)

References

Details

With -moz-box-sizing: border-box, if I get the computed height off an element with padding, then set the style.height on the element, it shrinks. I'm not sure if/how box-sizing should affect JS this way, but it sure is surprising.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.