Bug 15296

Summary: REGRESSION (r19716-r19719): width not specified for <marquee> tag is causing the alignment issue.
Product: WebKit Reporter: Anantha Keesara <anantha>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: gsherloc, mitz
Priority: P1 Keywords: HasReduction, InRadar, Regression
Version: 523.x (Safari 3)   
Hardware: All   
OS: All   
URL: http://phoenixtv.com
Attachments:
Description Flags
width not specified for <marquee> tag is causing the alignment issue.
none
Expected image (Safari 2.0.4 (419.3) with original WebKit)
none
Actual image (Safari 3 Public Beta v. 3.0.3 (522.12.1) with local debug build of WebKit r25776)
none
Allow <marquee> to shrink to avoid floats hyatt: review+

Description Anantha Keesara 2007-09-27 07:27:56 PDT
Steps:
1. Go to http://phoenixtv.com

Issue:
Notice that marquee text on the right side is displayed below the blue block, causing misalignment.

Observation:
width not specified for <marquee> tag is causing the alignment issue.

Other browsers: IE, FF, Opera has no issue.
Comment 1 Anantha Keesara 2007-09-27 07:30:41 PDT
Created attachment 16415 [details]
width not specified for <marquee> tag is causing the alignment issue.
Comment 2 Gavin Sherlock 2007-09-27 07:57:25 PDT
This is a regression, as it works fine in released Safari on Mac 10.4.10, but fails in r25464.  Should be all platforms, and a P1.
Comment 3 David Kilzer (:ddkilzer) 2007-09-27 10:40:01 PDT
<rdar://problem/5509267>
Comment 4 David Kilzer (:ddkilzer) 2007-09-27 10:56:51 PDT
External autospade says:

Works: r19713  Fails: r19729

Comment 5 David Kilzer (:ddkilzer) 2007-09-27 11:07:51 PDT
Internal autospade says:

Works: r19716  Fails: r19719

Comment 7 David Kilzer (:ddkilzer) 2007-09-27 14:01:50 PDT
Created attachment 16420 [details]
Expected image (Safari 2.0.4 (419.3) with original WebKit)
Comment 8 David Kilzer (:ddkilzer) 2007-09-27 14:03:03 PDT
Created attachment 16421 [details]
Actual image (Safari 3 Public Beta v. 3.0.3 (522.12.1) with local debug build of WebKit r25776)
Comment 9 mitz 2007-09-27 15:08:56 PDT
Created attachment 16422 [details]
Allow <marquee> to shrink to avoid floats

This patch specifically reverts the effect of r19717 on <marquee>s, thus correcting the regression. However, the new-old behavior is not quite right, as you can see if you omit the div just outside the marquee in the layout test. If you do that, the marquee will have the wrong width.
Comment 10 Darin Adler 2007-10-04 09:26:14 PDT
Comment on attachment 16422 [details]
Allow <marquee> to shrink to avoid floats

Looks fine to me, but really should be reviewed by Hyatt.
Comment 11 Dave Hyatt 2007-10-16 10:43:01 PDT
Comment on attachment 16422 [details]
Allow <marquee> to shrink to avoid floats

r=me
Comment 12 Mark Rowe (bdash) 2007-10-16 20:46:57 PDT
Mitz landed this in r26674.