Closed Bug 771414 Opened 13 years ago Closed 13 years ago

-moz-box-sizing: border-box (image with padding, height and no width has strange margin)

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 801116

People

(Reporter: cicevac, Unassigned)

References

Details

(Keywords: regression, testcase)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11 Steps to reproduce: -moz-box-sizing: border-box Set padding and height(only) on an image Very short example http://jsfiddle.net/jRVfU/ Actual results: Padding adds margin Expected results: Not that
Status: UNCONFIRMED → NEW
Component: DOM: CSS Object Model → Layout
Ever confirmed: true
Keywords: regression
Blocks: 243412
Keywords: testcase
OS: Windows 7 → All
Hardware: x86 → All
Summary: -moz-box-sizing: border-box → -moz-box-sizing: border-box (image with padding, height and no width has strange margin)
Attached file testcase
Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0 seems to work now, anyone here to confirm?
I can confirm it works correctly now. So this leaves us with one bug left to be able to unprefix box-sizing... https://bugzilla.mozilla.org/show_bug.cgi?id=520992
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: