Opened 16 years ago

Closed 16 years ago

#1911 closed defect (invalid)

Inconsistent getMarginBox , setContentBox, etc... behavior across browsers!

Reported by: Jonathan Bond-Caron Owned by: Bryan Forbes
Priority: high Milestone:
Component: HTML Version: 0.4
Keywords: Cc:
Blocked By: Blocking:


I've only tested getMarginBox, getBorderBox & setContentBox.

But these core functions return different values across Firefox, Opera & IE 6.0 I'll attach a test case...

This likely affects Safari as well... Browsers do their best with standards but the toolkit should fix these problems.. I'd be happy to do some research and submit a patch but I need to know if that has been addressed before?


Attachments (1)

TestGetMarginBox.html (1.1 KB) - added by Jonathan Bond-Caron 16 years ago.

Download all attachments as: .zip

Change History (2)

Changed 16 years ago by Jonathan Bond-Caron

Attachment: TestGetMarginBox.html added

comment:1 Changed 16 years ago by bill

Resolution: invalid
Status: newclosed

The boxes (divs) you are testing have different sizes on IE and FF. That's why the functions return different values.

See and for detailed explanation of how "width" and "height" CSS properties mean different things depending on the browser and browser settings.

Note: See TracTickets for help on using tickets.