Closed Bug 1074473 Opened 10 years ago Closed 10 years ago

Computed style for margin seems wrong in some cases

Categories

(Core :: CSS Parsing and Computation, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 381328

People

(Reporter: julienw, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

Attached file testcase-computed-marginleft.html (obsolete) —
It looks like that using:

* margin-left: auto
* margin-right: 0
* width: fixed

the computed value of margin-left is wrong.

I mean that what's rendered is OK, but when I try to retrieve the value using JS, it's wrong.

Tested in Firefox Nightly (v35).
Chromium (tested v37) has it correct.
Removed the float that's not necessary for this bug.
Attachment #8497086 - Attachment is obsolete: true
Component: DOM → CSS Parsing and Computation
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: