Closed
Bug 265631
Opened 20 years ago
Closed 20 years ago
[FIXr]Marquee with direction up or down and no height set whatsoever doesn't get 200px height anymore
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla1.8alpha5
People
(Reporter: martijn.martijn, Assigned: bzbarsky)
References
()
Details
(Keywords: testcase)
Attachments
(2 files)
|
496 bytes,
text/html
|
Details | |
|
1.32 KB,
patch
|
doronr
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041020 Firefox/0.9.1+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041020 Firefox/0.9.1+ This is a regression from bug 262708. The problem is that something <marquee direction="up"> gets the height of the content that is inside now, when no height is set for the marquee. Previously it got a 200px height, and that is correct behavior, since that is what IE is doing also. Reproducible: Always Steps to Reproduce: 1. See testcase 2. 3. Actual Results: Height of the marquee is as large as the content inside the marquee Expected Results: The marquee should become 200px high.
| Reporter | ||
Comment 1•20 years ago
|
||
| Assignee | ||
Comment 2•20 years ago
|
||
The problem is that the computed style is nonzero and non-auto -- it's the intrinsic height... So Martijn's suggestion from bug 265537 is the right way to go (except I changed his second rule to catch cases like |height=""| or |height="0"| and not switch to auto height for those).
| Assignee | ||
Updated•20 years ago
|
Attachment #163027 -
Flags: superreview?(jst)
Attachment #163027 -
Flags: review?(doronr)
Updated•20 years ago
|
Attachment #163027 -
Flags: review?(doronr) → review+
Comment 3•20 years ago
|
||
Comment on attachment 163027 [details] [diff] [review] Patch sr=jst
Attachment #163027 -
Flags: superreview?(jst) → superreview+
| Assignee | ||
Updated•20 years ago
|
Assignee: nobody → bzbarsky
Priority: -- → P3
Summary: Marquee with direction up or down and no height set whatsoever doesn't get 200px height anymore → [FIXr]Marquee with direction up or down and no height set whatsoever doesn't get 200px height anymore
Target Milestone: --- → mozilla1.8alpha5
| Assignee | ||
Comment 4•20 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•