New issue
Advanced search Search tips

Issue 904543 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 897752
Owner: ----
Closed: Nov 13
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug-Regression



Sign in to add a comment

SVG text highligh doesn't work properly with tspan

Reported by grosman....@gmail.com, Nov 12

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 OPR/56.0.3051.99

Steps to reproduce the problem:
1. Create a SVG with a <text> in it 
2. Add a sentence inside <text> with N words and put each of it inside a <tspan> 
3. Try to highlight two words

What is the expected behavior?
The two words are highlighted

What went wrong?
Only one word is highlighted

Did this work before? Yes 69.0.3497.100

Chrome version: 70.0.3538.77  Channel: n/a
OS Version: Ubuntu 16.04
Flash Version: Shockwave Flash 31.0 r0

In early versions of Chrome this was working as expected. In other browsers like Firefox, Edge and Safari this is working properly. I check this bug when I was using a text annotation tool called Brat, you can reproduce the bug using this link http://weaver.nlplab.org/~brat/demo/latest/#/000012
 
test4.gif
96.2 KB View Download
Labels: Needs-Triage-M70 Needs-Bisect
Bisected to r585346 so this is a duplicate of  bug 897752  fixed in Chrome 72.
It seems the fix won't be merged to Chrome 71, not sure why.
Cc: susan.boorgula@chromium.org
Labels: -Needs-Bisect Triaged-ET
Mergedinto: 897752
Status: Duplicate (was: Unconfirmed)
grosman.jonatas@ Thanks for the issue.

This issue looks similar to  issue 897752  as per comment #2. Hence merging this issue to  issue 897752  and removing 'Needs-Bisect' label.

Thanks..

Sign in to add a comment