Closed Bug 253483 Opened 20 years ago Closed 20 years ago

yahoo.com - Mail CSS rendering problems with "width" property

Categories

(Tech Evangelism Graveyard :: English US, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: morac, Unassigned)

References

()

Details

Attachments

(3 files, 3 obsolete files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Waterant/0.9.2 (All your Firefox/0.9.2 are belong to Firesomething)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2

Yahoo seems to have changed something recently which causes the "[empty]" links
for the bulk and trash folders to display too far over to right in Firefox
0.9.2.  The page displays correctly in Internet Explorer.

I checked Yahoo's CSS file and saw the following lines:

#folderlist li#bulk, #folderlist li#trash{text-align:right;width:99%;clear:both;}
#folderlist li#bulk, #folderlist li#trash{text-align:right;width:99%;clear:both;}

These relate to the following HTML (I'm changing the less than symbols to <
so hopefully it will display.  I'm also shortening the links since they don't
affect anything.  Just log into Yahoo Mail and view source to see the real source):

<li id="bulk" title="Navigate to the @B@Bulk folder"><a
href="/ym/ShowFolder" class="first" title="Navigate to the Bulk
folder">Bulk&lt;/a><span>[&lt;a href="/ym/ShowFolder" title="Empty all of the
messages from the Bulk folder">Empty&lt;/a>]&lt;/span>&lt;/li>

&lt;li id="trash" title="Navigate to the Trash folder">&lt;a
href="/ym/ShowFolder" class="first" title="Navigate to the Trash
folder">Trash&lt;/a><span>[&lt;a href="/ym/ShowFolder" title="Empty all of the
messages from the Trash folder">Empty&lt;/a>]&lt;/span>&lt;/li>


If the "width:99%;" is removed from the CSS files lines, the page displays
correctly in both Firefox and Internet Explorer.

Reproducible: Always
Steps to Reproduce:
1. Log into Yahoo Mail.
2.
3.

Actual Results:  
The "[empty]" links for the bulk and trash folders to display too far over to right

Expected Results:  
The "[empty]" links for the bulk and trash folders should be over near the left.
Assignee: bugs → nobody
Component: Web Site → Layout
Product: Firefox → Browser
QA Contact: core.layout
Version: unspecified → 1.7 Branch
Could you save the page in question as "web page, complete", zip up the files,
and attach the whole thing to this bug, please?
Summary: Yahoo Mail CSS rendering problems with "width" tag. → Yahoo Mail CSS rendering problems with "width" property
Hmm... That's the login page, no?
Attached file Simplified mailpage (obsolete) —
This is a simplified version of the mailpage. I think you can still see the bug
here (bottom list-item to large), but if you want the original, just ask.

Bug 253413 is the same bug.
Is all the stuff there needed (all the nested divs, the table, etc, etc)?
Attached file Simplified testcase (obsolete) —
No, but now you won't recognise it anymore as the yahoo mailpage :)
Attachment #154672 - Attachment is obsolete: true
Attached file Better testcase (obsolete) —
The previous testcase wasn't good, because IE did show it the same as Mozilla.
this could very well be a tech evangelism issue. 
It looks in some ways similar to bug 247038, for example.
Attachment #154678 - Attachment is obsolete: true
So the table is necessary?
Attached file Testcase without table
No, is not necessary. Sorry about the mess.
Attachment #154697 - Attachment is obsolete: true
Oh, duh.  The lis have padding.

You're right, this is just IE's well-known box model bug...

Over to Tech Evang.
Assignee: nobody → english-us
Status: UNCONFIRMED → NEW
Component: Layout → English US
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: core.layout → english-us
Version: 1.7 Branch → unspecified
*** Bug 253413 has been marked as a duplicate of this bug. ***
*** Bug 253631 has been marked as a duplicate of this bug. ***
Summary: Yahoo Mail CSS rendering problems with "width" property → yahoo.com - Mail CSS rendering problems with "width" property
It seems that Yahoo! has corrected their webpages, and that it's now displaying
properly. Time to close this bug?
Looks fixed to me too.
Resolving so.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
The original post on the forum had this as well:

<< Something similar happens with the doted box that is displayed around the
focused elemet on the page when it is over the "Trash" or "Bulk" folder. >>

That problem is not yet fixed. The dotted outline around the Trash and Bulk
links when they receive the focus is half the height that it is around the other
links. I minimized a repro using 1 html file and 2 css files which I'll attach.
To see the problem, open yhoomailbug.htm in Firefox, hit the tab key once, see
the dotted line focus outline around the Sent link look normal. Hit tab key
second time, see it shrink to half the height of the Bulk link. Expected is
full height of the Bulk link.

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040721
Firefox/0.9.1+
Pepp: open a separate bug please.  Bugs should be limited to one specific issue.
Verified.
Status: RESOLVED → VERIFIED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: