Closed Bug 610454 Opened 14 years ago Closed 14 years ago

All the text on the page is underlined (<u><table></u> and <u><table></table>)

Categories

(Core :: DOM: HTML Parser, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: cab26715, Unassigned)

References

()

Details

(Keywords: html5, regression, testcase)

Attachments

(7 files)

User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101108 Firefox/4.0b8pre
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101108 Firefox/4.0b8pre

Everything is underlined on the page when it shouldn't be.

Reproducible: Always

Steps to Reproduce:
1. Load the above website.  Everything will be underlined.
Actual Results:  
Everything is underlined on this Amazon.com page.

Expected Results:  
It should look like the Internet Explorer screenshot.
Attached image Underline Bug - Firefox
MOZILLA DEVELOPERS:

I know this is a duplicate bug report.  However, maybe you can find the problem better if you look at the source codes for the sites mentioned in bug 576250 and this bug (bug 610454).
Component: General → HTML: Parser
OS: Windows 7 → All
Product: Firefox → Core
QA Contact: general → parser
Hardware: x86_64 → All
Version: unspecified → Trunk
Henri?
I didn't see a problem with the styling with the site mentioned in bug 576250 and the error still occurs with the Amazon page above in the latest hourly Minefield build.  Also, I didn't see this underline problem when searching other Amazon.com items today.

However, why would this page render correctly in FOUR other web browsers (Chrome, Internet Explorer, Opera, and Safari).....all the current versions as of 11/8/10.....and not the latest Minefield build?
Attached image Underline Bug - Safari
Attached image Underline Bug - Opera
Attached image Underline Bug - Chrome
Summary: All the text on the page is underlined and in Internet Explorer it renders correctly. → All the text on the page is underlined and in Chrome, Internet Explorer, Opera, and Safari it renders correctly
> and not the latest Minefield build?

Most likely because we're the only browser implementing the HTML5 parsing spec so far.  Which means this might be a problem in the spec.
Basically a dup of bug 572713, quirksmode only.

Reduced testcases:
data:text/html,<u><table><tr><td>test</table> (uncloded <u>)
data:text/html,<u><table><tr><td>test</u>     (unclosed table)
Summary: All the text on the page is underlined and in Chrome, Internet Explorer, Opera, and Safari it renders correctly → All the text on the page is underlined (<u><table></u> and <u><table><table>)
Depends on: 572713
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: All the text on the page is underlined (<u><table></u> and <u><table><table>) → All the text on the page is underlined (<u><table></u> and <u><table></table>)
Regarding comment 9 - NO, the bug also occurs in the latest Nightly Minefield (11/8/10).
How does that contradict comment 9?
It doesn't - I thought you were asking a question in comment 9, but I now realize you were just taking a snippet of my text to answer.
(In reply to comment #9)
> > and not the latest Minefield build?
> 
> Most likely because we're the only browser implementing the HTML5 parsing spec
> so far.  Which means this might be a problem in the spec.

FWIW, Chrome 7 also has an HTML5 parser, so it provides an easy way to get data about the bug being on the layout side (as it is in this case).
Mozilla - almost there, but still a small issue with this bug.  There are still elements that are double-underlined that shouldn't be even with the latest hourly build.

Scroll through the original link given at the top of this page (Amazon - Golden Girls):
http://www.amazon.com/Golden-Girls-Anniversary-Complete-Collection/dp/B003YKDPCI/ref=sr_1_1?ie=UTF8&s=dvd&qid=1289248260&sr=8-1

and compare it to this one (Amazon - Nintendo Wii Console):
http://www.amazon.com/Wii-Hardware-Bundle-Red-Nintendo/dp/B0045FEEAS/ref=sr_1_1?ie=UTF8&qid=1290395276&sr=8-1


Notice how all the orange, bold, category headers (Customer Discussions, Listmania!, etc) from the Nintendo Wii page are NOT double-underlined, but the ones from the Golden Girls are.  However, I applaud you for partially fixing the issue at hand, because all the customer reviews from the Golden Girls page were underlined, but now they are not.  There is still something amiss in the Firefox / Minefield HTML5 text rendering code, though.
The issue only appears on this one page (also appears in IE 9 Beta) and for the past couple months I have not seen another site experiencing the problem, which makes me think there is an HTML coding error on Amazon.com's end (still has double underlines even in IE 9 Beta).  Marking as "RESOLVED WORKSFORME".
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: