Skip to content

scroll direction should respect language script direction #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tiansh opened this issue Jul 24, 2019 · 9 comments
Open

scroll direction should respect language script direction #3

tiansh opened this issue Jul 24, 2019 · 9 comments
Labels
i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. technical Issue about the technical proposal

Comments

@tiansh
Copy link

tiansh commented Jul 24, 2019

value scroll and reverse should respect language script direction. As in most ltr languages it should scroll as described in current specification. But it should be reversed in rtl languages. CSS direction should be used in this context.

Discuss: What should the render do if comments use languages with different script directions?

@iamgqb
Copy link

iamgqb commented Jul 24, 2019

scroll The default value indicates the scroll Bullet Chatting. The Bullet Chatting scrolls from left to right, and the scrolling time is controlled by the CSS property bulletchat-duration.

Maybe it shouldn’t be from left to right;

It should be from start to end;

@xfq xfq added the i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. label Jul 29, 2019
@stuxt
Copy link
Collaborator

stuxt commented Aug 2, 2019

Thank you for your suggestion. The latter specification will add and optimize the ability to control the direction of the text and the vertical and horizontal layout. The international review in the W3C will focus on this part.

@hax
Copy link
Member

hax commented Sep 22, 2019

弹幕主要流行于日本和中国,而日语和汉语都是有竖排的,不过似乎没有见到过采用竖排的弹幕??

@iamgqb
Copy link

iamgqb commented Sep 23, 2019

emmm... bilibili 在去年4月1号出过竖排的弹幕模式(古文弹幕)... 虽说是娱乐,但存在可能性

@hax
Copy link
Member

hax commented Sep 23, 2019

@iamgqb 有没有在线的demo可以欣赏?

@hax
Copy link
Member

hax commented Sep 23, 2019

If we really need to consider vertical writing mode, we may need to modify the values of top/bottom, change them to block-start/block-end, or simply start/end?

@iamgqb
Copy link

iamgqb commented Sep 23, 2019

在线demo到没有了,不过可以在B站搜一下古文弹幕,还是存在一些录屏的。
倒是发现了一篇官方专栏 https://www.bilibili.com/read/cv338706

@MagicJuly
Copy link
Collaborator

@hax vertical-danmaku record: https://www.bilibili.com/video/av21487971
you can also use this mode in every video with code: player.verticalDanmaku(true);

@xfq xfq added the technical Issue about the technical proposal label Nov 24, 2019
@c933103
Copy link

c933103 commented Dec 31, 2019

I believe it should only follow the language direction of dominant content language instead of language of eaxh individual messages. Otherwise it would be strange to see a few Arabic (,etc.) message coming from the left without special meaning when the rest (in English, etc.) come out from right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. technical Issue about the technical proposal
Projects
None yet
Development

No branches or pull requests

7 participants