Bug 3942

Summary: REGRESSION (412+): Incorrect height of MARQUEE when specified as HTML attribute
Product: WebKit Reporter: mitz
Component: Layout and RenderingAssignee: Beth Dakin <bdakin>
Severity: Normal    
Priority: P1    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Description Flags
Testcase none

Description mitz 2005-07-10 07:57:25 PDT
A MARQUEE whose height is specified using the HEIGHT attribute (rather than as a CSS property) ends up 
having a different height (that seems to depend on the height of its contents).

In the attached testcase, the expected result is two marquees 100px tall and a green rect 100px tall. The 
actual result is that the yellow marquee's height is almost 400px instead.
Comment 1 mitz 2005-07-10 07:58:27 PDT
Created attachment 2900 [details]
Comment 2 Chris Petersen 2005-07-10 10:14:15 PDT
Confirming this issue with a fresh pull of TOT Webkit (07/10). This problem doesn't occur in Safari 2.0 
(412) and Mac Firefox 1.0.4.
Comment 3 Beth Dakin 2005-07-12 14:14:23 PDT
I checked in a fix for this problem. I added a small section to updateMarqueeStyle() in render_layer.cpp 
that address this problem and the original problem that caused this regression. Vertical marquees without 
a specified height attribute will now default to 200px.
Comment 4 mitz 2005-07-12 16:04:20 PDT
Thanks, Beth!