Closed Bug 237314 Opened 21 years ago Closed 21 years ago

moving text lines aren't displayed correctly/truncated

Categories

(Core :: Web Painting, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 167224

People

(Reporter: chtrusch, Assigned: doronr)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113 Two lines of red moving text above the yellow "Hallo...uuuund Herzlich Willkommen..." line are displayed only with a width of 1 pixel at the very beginning og the lines. They should travel over the whole screen width. Reproducible: Always Steps to Reproduce: 1. go to website 2. watch 3. Actual Results: moving text is illegible Expected Results: moving text should travel over whole screen width The bug also appears in firefox. I'm not sure about the right "component". Text lines display correctly in all non-Gecko browsers.
is this a regression or have we always had this problem?
There is no problem in mozilla created by MOZILLA_1_6_BRANCH. Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040117
This is a MARQUEE problem. The marquee is trying to find its width and returning 1. I don't really know how marquees are supposed to work...
Assignee: roc → doronr
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to comment #1) > is this a regression or have we always had this problem? I'm not sure. I first noticed it after going from 1.4 to 1.6, but that may be a coincidence.
You can see the same thing at http://asano.piranho.com/index.htm Only this time the upper line shows okay, the lower line is truncated.
I've investigated further into this and found that if you remove some mouseover things from the source code of the page and reload it into Mozilla, the marquee will display okay. <p><b><u><span onmouseover="Bild.style.visibility='hidden'" onmouseout="Bild.style.visibility='visible'"><br> <marquee><font face="Verdana" size="3"> <p><b><u><font color="#ff8c00">Am Sonntag findet vorraussichtlich endlich der Starchat statt! Von 18-19 Uhr wird Ronja euch alle Fragen beantworten =)</font></u></b></p></font></marquee><em><font face="Comic Sans MS" color="#f0c00a"></font></em></span></u></b></p>
We could really use a reduced testcase here!
(In reply to comment #7) > We could really use a reduced testcase here! Reduced Test Case: http://www.geocities.com/chtrusch/RedTestCase.html
Looks like the enclosing <span> is confusing the marquee when the marquee looks at its ancestors to try to get its width. If you replace it with a DIV, the bug goes away. So this is related to block-in-inline. Fun!
Here you go. It's very simple. A marquee inside *two* inline elements goes wrong. If you remove one level of SPAN then it's OK. Over to you Doron...
(In reply to comment #2) > There is no problem in mozilla created by MOZILLA_1_6_BRANCH. > > Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040117 > Sorry, it has checked that a problem occurred also in this build by the test case. Since the page of the URL point has bad use of color to an eye, I have not noticed like the point...
This is fixed by the cleanup marquee bug (http://bugzilla.mozilla.org/show_bug.cgi?id=167224), which needs sr. It redid the width calculation. Roc, wanna sr? :)
I'm not really a wizard with JS/XBL. Try to find someone else to sr if you can, please.
Depends on: 167224
Seems to work fine now. *** This bug has been marked as a duplicate of 167224 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: