Closed Bug 305176 Opened 19 years ago Closed 19 years ago

Button (created with css) overlaps table cell

Categories

(Core :: Layout, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 167408

People

(Reporter: daniel.wehrle, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

Please use the html testcase (attachment) to see the problem. On the right of
the page the button with the label "translate" overlaps the table cell.

Reproducible: Always



Expected Results:  
The button should be displayed in the table cell.
Attached file HTML testcase
http://www.w3.org/TR/CSS21/visudet.html#q26

"Although margins, borders, and padding of non-replaced elements do not enter
into the line box calculation, they are still rendered around inline boxes. This
means that if the height specified by 'line-height' is less than the content
height of contained boxes, backgrounds and colors of padding and borders may
"bleed" into adjoining line boxes."

Please also note that 'width' and 'height' do not apply to non-replaced inline
elements.
OS: Windows XP → All
Attached file Testcase #3
I wonder if the table-cell should grow to fit the overflowing text though...
Compare this testcase with Opera 8 on Linux.
Assignee: dbaron → nobody
Component: Style System (CSS) → Layout
QA Contact: ian → layout
Keywords: testcase
*** Bug 305613 has been marked as a duplicate of this bug. ***

*** This bug has been marked as a duplicate of 167408 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: