Closed Bug 344076 Opened 19 years ago Closed 18 years ago

div block leaks outside of containing td

Categories

(Core :: Layout, defect)

1.8 Branch
x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: taras.di, Unassigned)

Details

Attachments

(4 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 When placing a padded div with a border inside a table cell, the border is rendered outside of the containing table cell, even though the text remains inside (both quirks & standards) Reproducible: Always Steps to Reproduce: 1. View the attachments 2. 3. Actual Results: In quirks mode, the border leaks out of the table cell to the right and bottom In standards mode, the border leaks out only to the right Expected Results: Border should be contained inside the parent container (the table cell)
Attached file standards mode
Attachment #228649 - Attachment mime type: application/octet-stream → text/html
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → 1.8 Branch
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060709 Minefield/3.0a1
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060709 Minefield/3.0a1 (sasme as above)
This is the correct rendering, per CSS spec.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: