New issue
Advanced search Search tips

Issue 844868 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 3
Type: Bug

Sign in to add a comment

Navigating to a fragment scrolls to wrong position with writing-mode: vertical-rl

Reported by, May 19 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0

Steps to reproduce the problem:
Visit and follow "Navigate to the fragment" link.

What is the expected behavior?
Right border edge of the fragment element is on the right edge of viewport.

What went wrong?
Left border edge of the fragment element is on the left edge of viewport.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 68.0.3435.0  Channel: n/a
OS Version: 10.0
Flash Version: Shockwave Flash 29.0 r0

According to HTML spec[1] and CSSOM View spec[2], the right edge is the beginning edge in "writing-mode: vertical-rl" document.

HTML spec refers to an obsolete argument of CSSOM View spec. There are pull requests for HTML spec[3] and web-platform-test[4].
Firefox has the same issue:
MS Edge works as expected.
Labels: Needs-Triage-M68
Labels: M-68 Triaged-ET FoundIn-68 Target-68 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Reporter@ Thanks for the issue.

Able to reproduce the issue on Windows 10, Mac OS 10.13.3 and Ubuntu 14.04 on the latest Canary 68.0.3436.0 and Stable 66.0.3359.181 by the steps mentioned in the original comment.
Attached is the screen shot for reference.

This is a Non-Regression issue as this behavior is observed from M60 Chrome builds. 
Hence marking this as Untriaged for further updates from Dev.

62.1 KB View Download

Comment 4 by, May 24 2018

Labels: -Pri-2 Hotlist-GoodFirstBug OS-Android OS-Chrome Pri-3
Status: Available (was: Untriaged)
Project Member

Comment 5 by, Jun 21 2018

The following revision refers to this bug:

commit 137ca58808d726e8f78727857a01f6b926034bf0
Author: Suneel Kota <>
Date: Thu Jun 21 10:58:40 2018

Navigating to fragment scrolls with writing-mode: vertical-rl

This CL sets the alignment of the Anchor node in accordance, when
vertical-rl writing-mode is set

Bug: 844868
Change-Id: I8357bcccbc88ffcd3b5d01265737a5b60f1e59a8
Commit-Queue: srirama chandra sekhar <>
Reviewed-by: David Bokan <>
Cr-Commit-Position: refs/heads/master@{#569214}

Sign in to add a comment