Closed Bug 3182 Opened 26 years ago Closed 25 years ago

IFRAME Box Model

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect, P2)

x86
Windows 98
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: erik, Assigned: pollmann)

References

()

Details

Attachments

(1 file)

Shouldn't the box model for inline frames follow the standard box model? <iframe src="foo.html" style="width: 100px; border: 10px solid red;"> </iframe> should giva a total width of 120px. There is also problems with the drawing of the right and bottom border. See sample.
Assignee: peterl → karnaze
Component: Style System → Layout
Status: NEW → ASSIGNED
Target Milestone: M4
Target Milestone: M4 → M5
Moving to M5
QA Contact: 4110 → 3849
Target Milestone: M5 → M6
Moving to M6
Moving to M8
Assignee: karnaze → pollmann
Status: ASSIGNED → NEW
Component: Layout → HTMLFrames
Reassigning frameset/iframe bugs to Eric.
Attached file Test Case (deleted) —
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
This works now. I altered the source so you can see this more clearly. I've attached the altered page as a test case. Also at: http://blueviper/frames/iframeboxmodel.html To verify that this works as expected, notice that there is a 1 pixel red line to the right of and to the bottom of the green box containing "<IFRAME>". The red DIV and the green IFRAME are not being drawn as the same size, shifted 1 pixel apart.
Works for me: Platform: PC OS: Windows 98 Mozilla Build: 2000101020 M18 Trunk Build
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: