Closed Bug 417839 Opened 16 years ago Closed 16 years ago

Search box on MSDN website no longer aligned correctly

Categories

(Core :: Layout, defect)

defect
Not set
major

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mcsmurf, Unassigned)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

To reproduce:
1. Go to URL
2. Look at the search box in the upper left corner

Observe that the box is partly hidden under the MSDN logo. It should be left of the arrow which is at the correct position.

This regressed somewhere between 2008-02-07 and today's build.
This regressed between 2008-02-13-04 and 2008-02-14-04.
I can confirm this bug, using a linux build from 2008-02-14
Status: UNCONFIRMED → NEW
Component: General → Layout
Ever confirmed: true
OS: Windows XP → All
QA Contact: general → layout
Hardware: PC → All
Bug 400813 probably caused this regression here, tested this with the nightly builds archive from http://hourly-archive.localgho.st/.
Blocks: 400813
fwiw, that search box displays in the same position with Opera 9.5b and WebKit latest nightly as it does with Gecko latest trunk, running on OS X 10.5.2.
That is: partly hidden under the logo.
Someone feel like reducing/analyzing this? Someone with more time than me or dholbert? :-)
Attached file test case
Here is a minimised test case.
The textfield and the submit button are floated left.
The arrow is an image in a (nested) table.
Between the submit button (the magnifier on msdn) and the arrow (the x with lime green background in the testcase) there is a invisible image: a 1by1px gif sized to 0 by 0, wrapped in a <a href>
Removing the image results in the expected alignment.
Thanks.

So I think our new rendering (and Opera and Webkit's) is correct. 400813 fixed an Acid2 bug we had where we treated a line as empty if it had zero-sized non-whitespace text in it. In this testcase, the line with the zero-sized image is no longer treated as empty so it pushes the table with the "x" down to the next line.

Marking WONTFIX and hoping that MSDN will fix their site, but we should keep our eyes open in case this causes problems on a lot of sites.
Status: NEW → RESOLVED
Closed: 16 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: