Closed Bug 1851399 Opened 2 years ago Closed 2 years ago

Nested <marquee> element text not displaying anything.

Categories

(Core :: DOM: Core & HTML, defect, P3)

Firefox 87
Desktop
Windows 10
defect

Tracking

()

RESOLVED DUPLICATE of bug 306344
Tracking Status
firefox-esr102 --- wontfix
firefox-esr115 --- wontfix
firefox117 --- wontfix
firefox118 --- wontfix
firefox119 --- wontfix

People

(Reporter: alice0775, Unassigned)

References

(Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(1 file)

Steps to reproduce:

  1. Disabled prefers-reduced-motion if any
  2. Open https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee#result

Actual results:
Nested <marquee> element text not displaying anything.

Expected results:
Text scrolls diagonally.
At least the textThis text will bounce should be visible.

#1 regression window - The inner nested marquee does not work. I.e., only the outer movement (up/down) is performed:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b3a3c131a27916b7b4751ba935f1560b1aba8b0f&tochange=229757cf5a2de14efae1ee8435bfe16c009e0f58

Regressed by:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b3a3c131a27916b7b4751ba935f1560b1aba8b0f&tochange=229757cf5a2de14efae1ee8435bfe16c009e0f58

Suspect:
d8700c3b6dc081daae7925604dd5781c32a4a770 Cameron McCormack — Bug 1654925 - Make FindNearestCommonAncestorFrameWithinBlock handle bad frame trees without crashing. r=jfkthame

#2 regression window - Text is no longer displayed.:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=a08abfa374b684e27774e5179c1a50d6a92ecfb3&tochange=507ca4e6728999552b7ce90c7cf1513ce18f149b

Regressed by:
c3eb53d6395af1163960e45110fa8753a9381765 Emilio Cobos Álvarez — Bug 1618584 - Simplify marquee widget to not use XUL. r=bgrins,mats

Bad frame tree recognition Emilio?

Severity: -- → S3
Flags: needinfo?(emilio)
Priority: -- → P3
Attached image What I see.

Can you elaborate? What do you see? What I see (no movement) is the expected rendering, as per bug 1680828.

Flags: needinfo?(emilio) → needinfo?(alice0775)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #2)

Created attachment 9351623 [details]
What I see.

Can you elaborate? What do you see? What I see (no movement) is the expected rendering, as per bug 1680828.

The png image is what I see if prefers-reduced-motion is enabled(i.e., set Windows10 Show animations in Windows to off). --- yes, as expected.

This bug is in case of Show animations in Windows=on OR ui.prefersReducedMotion=0.
This text will scroll from right to left and This text will scroll from bottom to top are animated.
However, This text will bounce is not displayed. --- Bug!
Screencast : https://youtu.be/ozvpZq3CQ4E

Flags: needinfo?(alice0775)

Ah, I see, sorry got confused by the test-case.

The bug is somewhere in marquee.js. If I remove the marquee and add it again to the dom after load then it works.

To be honest we should just use transform for marquee and make sure it fixes this, see bug 306344.

Depends on: 306344
Summary: Nested <marquee> element text not displaying anything if `prefers-reduced-motion` is disabled → Nested <marquee> element text not displaying anything.

This was fixed by bug 306344

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 306344
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: