Closed Bug 43898 Opened 25 years ago Closed 22 years ago

[BLOCK][ABS POS]box-sizing:border-box killed by position:absolute

Categories

(Core :: Layout: Positioned, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: make, Unassigned)

Details

(Keywords: css3, testcase)

Attachments

(1 file, 1 obsolete file)

From Bugzilla Helper: User-Agent: Mozilla/4.73 [en] (WinNT; U) BuildID: 2000062608 box-sizing:border-box does not work on elements with absolute positioning. Reproducible: Always Steps to Reproduce: 1. View the attachement 2. Notice the equal(!) widths of the absolute positioned elements Actual Results: All absolute positioned DIV and INPUT elements on the attached testcase behave as if box-sizing:content-box has been specified. box-sizing:border-box is ignored. Expected Results: The width of absolute positioned DIV and INPUT elements should be different depending on wether box-sizing:content-box or box-sizing: border-box has been specified. Also buggy in M16.
Attached file Testcase (obsolete) —
Keywords: css3, testcase
Yup, there is a problem with how layout is dealing with the box-sizing property when an element is abs. positioned. The style context data is correct, moving to layout component.
Status: UNCONFIRMED → NEW
Component: Style System → Layout
Ever confirmed: true
Summary: box-sizing:border-box killed by position:absolute → [BLOCK][ABSPOS]box-sizing:border-box killed by position:absolute
Sending to buster since he has other block/abspos bugs that are certainly related to this one.
Assignee: pierre → buster
As per meeting with ChrisD today, taking QA.
QA Contact: ckritzer → py8ieh=bugzilla
Width calculation is still incorrect with 20000072520
P3 bugs are getting moved to "future" milestone. They will not be addressed for NS6 RTM.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Summary: [BLOCK][ABSPOS]box-sizing:border-box killed by position:absolute → [BLOCK][ABS POS]box-sizing:border-box killed by position:absolute
Build reassigning Buster's bugs to Marc.
Assignee: buster → attinasi
Status: ASSIGNED → NEW
Assuming that the equality of the DIV widths to each other, and the INPUT widths to each other (but DIV and INPUT widths being different) is the problem behavior demonstrated by the testcase, reconfirmed using FizzillaCFM/2002071508. Setting All/All.
OS: Windows NT → All
Hardware: PC → All
->R&A Pos
Assignee: attinasi → position
Component: Layout → Layout: R & A Pos
The testcase worksforme once I replace "box-sizing" by "-moz-box-sizing". Please do check whether the bug exists before reassigning..
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Updated test case shows that this has been fixed
Attachment #10680 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: