Open Bug 1132308 Opened 7 years ago Updated 10 months ago

<marquee> element with writing-mode: vertical-lr causes text disappears after text has been moved to last

Categories

(Core :: Layout: Block and Inline, defect)

x86
Windows 8.1
defect
Not set
normal

Tracking

()

People

(Reporter: m_kato, Unassigned)

References

(Blocks 2 open bugs, )

Details

This cases is
<MARQUEE style="writing-mode: vertical-lr;">abc</MARQUEE>

IE moves from bottom to top.
<marquee style="-ms-writing-mode: tb-lr;">abc</marquee>
On WebKit, even if vertical layout, it moves from right to left.

Even if we keep right to left as spec, text disappears after it has moved to left on Gecko.  It should be fixed.
Summary: <marquee> element with writing-mode: vertical-lr should move from bottom to top → <marquee> element with writing-mode: vertical-lr causes text disappears after text has been moved to last
See the code in layout/style/xbl-marquee/ .

Probably not a blocker for enabling vertical-text.
The marquee code makes use of display:table and -moz-available, so I expect bug 1077521 and bug 1122253 are prerequisites to make this work in vertical writing mode.
Depends on: 1077521, 1122253
Blocks: 1263934
data:text/html,<!doctype html><MARQUEE style="writing-mode: vertical-lr;">abc</MARQUEE>
  • The text is fixed in Firefox
  • scrolling on the full window width in Edge Chromium
  • scrolling on a very small distance in Safari (except if we specify width: 100%)
data:text/html,<!doctype html><MARQUEE style="writing-mode: vertical-lr;">abc</MARQUEE>
You need to log in before you can comment on or make changes to this bug.