Open Bug 225918 Opened 21 years ago Updated 2 years ago

table cells misaligned -- for quantity and "add to shopping cart"

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: bwp6, Unassigned)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031108
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031108

In the page http://store.mozilla.org the field for quantity and the button "add
to shopping cart" are misaligned.  When looking at the page in composer there
seems to be a space after the quantity field.  It looks like the cell does not
adjust to accomodate the space so it creates a second line that shifts the
quantity field upwards.

Reproducible: Always

Steps to Reproduce:
1. go to http://store.mozilla.org
2.
3.




I noticed in IE and konqueror that the page displayed properly.  In Netscape 7.1
the quantity field and "add to shopping cart" button were aligned but there was
not space in between them.
Attached file Testcase
Looks like we're wrapping the   to the next line for some reason... we
really shouldn't be doing that.  Linebreaking is under where?  Inline or fonts &
text?
Assignee: table → font
Status: UNCONFIRMED → NEW
Component: Layout: Tables → Layout: Fonts and Text
Ever confirmed: true
QA Contact: ian
Regression -- the misalignment doesn't show up in Nav7.1.
Keywords: regression
http://dbaron.org/css/test/2003/line-breaking/quirks/03-inputs shows we break
around inputs.

Perhaps a regression from bug 187899, but I don't want to back that out.
*** Bug 225951 has been marked as a duplicate of this bug. ***
Assignee: layout.fonts-and-text → nobody
QA Contact: ian → layout.fonts-and-text
I can reproduce this issue on Mozilla/5.0 (Windows NT 6.3; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0

The problem is dealing with: width='1%'

Why? Not sure but when cutting the width out of the html, the buttons are aligned properly.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: