Closed Bug 145132 Opened 22 years ago Closed 22 years ago

Relative positioned DIVs don't get clipped

Categories

(Core :: Layout, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: roger, Assigned: roc)

Details

(Keywords: qawanted, testcase, Whiteboard: WONTFIX?)

Attachments

(1 file)

Clip doesn't work on relative positioned DIVs.
Two DIVs with the same CSS atributes. One is set with position:relative and the other with position:relative. The DIV with relative position doesn't honor the clipping area.
See the discussion starting at bug 87839, comment 17. Summary: 1) our current behavior is consistent with NS4 and IE 2) The CSS Working Group was going to make that behavior the "clip" behavior and make the current "clip" property be called "overflow-clip" 3) This change never happened and no one seems to know what's going on with it. I'd say this is WONTFIX in light of bug 87839, comment 25
QA Contact: petersen → ian
Keywords: testcase
Whiteboard: WONTFIX?
roc, hixie, dbaron, talk amongst yourselves and figure out what the deal with this issue is? ;)
Keywords: qawanted
Actually, I think there's a real bug here. The yellow div should look just like the absolute div. Or maybe there's two real bugs, since I think the background of the absolute DIV should be 54px high (since 'clip' shouldn't clip the background).
Assignee: attinasi → roc+moz
Status: UNCONFIRMED → NEW
Ever confirmed: true
'clip' doesn't apply to relatively positioned elements per the "lost clip errata", IIRC.
CSS 2.1 agrees with you. Therefore, WONTFIX
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: