New issue
Advanced search Search tips

Issue 899505 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

In pre-wrap, a tag is shown displaced to the left when preceded by tab and a text with a shy hyphen.

Reported by johan.wi...@gmail.com, Oct 27

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Example URL:
https://jsbin.com/buvomepivo/1/edit?html,output

Steps to reproduce the problem:
Displaying <body style="white-space: pre-wrap;">	&shy;a<a>b</a></body> (see the provided URL). The tag "<a>" is arbitrary: any tag will do. The tab character must precede the text that includes the shy hyphen.

What is the expected behavior?
"ab" should be displayed without any strange displacement.

What went wrong?
The "b" displaced to the left, overlaping the "a".

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? No 

Does this work in other browsers? No
 Safari

Chrome version: 69.0.3497.100  Channel: n/a
OS Version: OS X 10.13.6
Flash Version: 

In Firefox the behaviour is as expected. This is probably an old problem, as it also occurs in Safari. I have also reported it here:  https://bugs.webkit.org/show_bug.cgi?id=190782
 
FWIW bisect points to r161152 "WebKit roll 130848:130891"
That code was rewritten in Blink, of course, but apparently the bug was preserved.
https://trac.webkit.org/log/webkit/?action=stop_on_copy&rev=130891&stop_rev=130848&verbose=on
Suspecting https://trac.webkit.org/changeset/130851/webkit/

Labels: Needs-Triage-M69
Cc: swarnasree.mukkala@chromium.org
Labels: Triaged-ET Target-72 M-72 FoundIn-71 FoundIn-70 FoundIn-72 OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on reported chrome version #69.0.3497.100 and latest canary 72.0.3596.0 using Mac OS 10.13.6, Windows 10 and Ubuntu 17.10 by steps as per comment#0.

The behavior is seen from old M-60 builds(#60.0.3072.0). This is non-regression issue hence marking it as untraiged and requesting someone from the dev team to look into the issue.
Thanks.!
Components: -Blink Blink>Layout
Labels: Fixed-In-LayoutNG
Status: Available (was: Untriaged)

Sign in to add a comment