Closed Bug 396811 Opened 17 years ago Closed 17 years ago

My.Netscape.com search textfield overlays navigation area

Categories

(Core :: Layout, defect, P2)

defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: stephend, Unassigned)

References

()

Details

(Keywords: testcase, Whiteboard: [dbaron-1.9:Rw])

Attachments

(4 files, 2 obsolete files)

Build ID: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a8pre) Gecko/2007091904 Minefield/3.0a8pre

Summary: My.Netscape.com search textfield overlays navigation area

Steps to Reproduce:

1. Load http://my.netscape.com (you do NOT need to sign in)
2. To the right of the page, examine the layout of the "Search the Web" textfield.

Expected Results:

See screenshot; the "Search the Web" textfield should not extend into the navigation area

Actual Results:

The "Search the Web" textfield extends/overflows into the navigation area
Flags: blocking1.9?
Attached file Reduced Testcase #1 (linux-only) (obsolete) —
This testcase is only broken on linux, due to a weird handling of button border-width.
(posting separate bug for that shortly)

FF2 behavior: button is on same line as text field
Linux Trunk behavior:  button is on second line
Attachment #281712 - Attachment description: Reduced Testcase #1 → Reduced Testcase #1 (linux-only)
Attached file Reduced Testcase #2 (obsolete) —
This testcase is broken on linux and windows.  (Haven't tried mac)

FF2 behavior: button is on same line as text field
Linux Trunk behavior:  button is on second line
(In reply to comment #4)
> Linux Trunk behavior:  button is on second line

Oops -- s/Linux //

(Testcase 2 isn't linux-specific)

Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file Reduced Testcase #1
Reduced / cleaned up testcase 1 a bit further.
Attachment #281712 - Attachment is obsolete: true
Attached file Reduced Testcase #2
Reduced / cleaned up testcase 2 a bit further.
Attachment #281713 - Attachment is obsolete: true
Flags: in-testsuite?
Keywords: testcase
Filed the linux-only border-width bug (mentioned in Comment 3) as bug 396984.

(Note: I misspoke in comment 3 -- it's an issue with text inputs fields, not buttons, AFAIK.)
Depends on: 396984
Flags: blocking1.9? → blocking1.9+
(In reply to comment #9)
> When did this regress?

This regressed between 2007-02-06-04 (works) and 2007-02-07-04 (breaks).

Checkins: http://tinyurl.com/36qtt4
Looks like a regression from bug 177805, given that range.
Blocks: pixels
So it looks to me like we're trying to lay the following things out (in the "Reduced Testcase #1 (linux-only)" case):

  textfield: 83% of total width plus border and padding (standards mode)
  whitespace: however wide a space is
  button: 14% of total width

Over here I'm seeing the following numbers when I see the linebreak (which only happens at some zoom levels):

  Total available width: 15540 app units (259px)
  textfield: 13137 app units (.81 * 15540 = 12587, 0.02 * 15540 = 310,
                              and 4px of border/padding).
  whitespace: 240 app units
  button: 1554 + 2*310 = 2174 app units.

Now 13137 + 240 + 2174 = 15551, which is more than 15540.  So we put the button on the next line.

At smaller font sizes I see everything on a single line.
Attachment #281731 - Attachment description: Reduced Testcase #1 (linux-only) → Reduced Testcase #1
This has basically become WORKSFORME.

I tested both of the testcases and http://my.netscape.com, on Windows, Mac and Linux, and the only combination still broken (wrapping to new line) is Testcase #1 (attachment 281731 [details]) on Mac.

Since the main cross-platform issue here seems to have been fixed (and the original page is now working), I'm marking this bug WORKSFORME and filing a new bug for the one testcase that still breaks on Mac.
> Since the main cross-platform issue here seems to have been fixed (and the
> original page is now working), I'm marking this bug WORKSFORME

Done!

> and filing a new
> bug for the one testcase that still breaks on Mac.

Bug 403948.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Verified WFM with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b2pre) Gecko/2007111904 Minefield/3.0b2pre; thanks for all your hard work, Dan.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: