New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 761346 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

first-letter CSS selector break multi-character utf8 symbol

Reported by ludovic....@sculpteo.com, Sep 1 2017

Issue description

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

Steps to reproduce the problem:
1. Add a multi-character utf8 symbol at start of an element p.broken
2. Apply css rule p.broken:first-letter { color: green; font-size: 5em; }
3. Notice how stuff is broken

What is the expected behavior?
If the utf8 symbol is an emoji cat, I expect to see a big green emoji cat followed by normal text

What went wrong?
Emoji cat got cut in two. Instead of big green cat, I can see two invalid utf8 caracter symbol. First one being big and green, second is not.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 57.0.2987.98  Channel: n/a
OS Version: debian 5.9
Flash Version: 

I only tested in firefox beside chromium and it doesn't split the utf8 symbol.
 
test.html
249 bytes View Download

Comment 1 by shend@chromium.org, Sep 4 2017

Labels: Needs-Bisect
Status: Untriaged (was: Unconfirmed)
Repros on 60.0.3112.113 (Official Build) (64-bit)
Cannot repro on 62.0.3198.0 (Official Build) dev (64-bit)

Requesting bisect to find when this issue was fixed.
Cc: hdodda@chromium.org
Labels: -Type-Bug -Pri-2 -Needs-Bisect hasbisect-per-revision Needs-Triage-M60 M-62 OS-Mac OS-Windows Pri-1 Type-Bug-Regression
Owner: xiaoche...@chromium.org
Status: Assigned (was: Untriaged)
Able to reproduce the issue on M60 #60.0.3112.113 on windows 7 , Mac os and ubuntu 14.04 .

Issue got fixed in M62 and providing the reverse bisect results below,

Good build: 62.0.3188.0 (Revision: 495023).
Bad build: 62.0.3186.0 (Revision: 494273).

You are probably looking for a change made after 494920 (known good), but no later than 494921 (first known bad).

CHANGELOG URL:

The script might not always return single CL as suspect as some perf builds might get missing due to failure.

 https://chromium.googlesource.com/chromium/src/+log/0d92bb0a3d9eb07dd53a9ae263bdedb7dad601e7..02d9bf5911935920465f10eac7b62b718851b401

From the CL above, assigning the issue to the concern owner 

@Xiaocheng Hu - Could you please merge the fix to M61/M60.

Thanks!



Labels: Merge-Request-61
Requesting merging revision 02d9bf5911935920465f10eac7b62b718851b401 to M61 as of #2.
Project Member

Comment 4 by sheriffbot@chromium.org, Sep 4 2017

Labels: -Merge-Request-61 Merge-Review-61 Hotlist-Merge-Review
This bug requires manual review: We are only 0 days from stable.
Please contact the milestone owner if you have questions.
Owners: amineer@(Android), cmasso@(iOS), ketakid@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Merge-Review-61 Merge-Rejected-61
This bug was originally reported on M57, exists on M60 as well (not M61 regression) and we already cut M61 Stable RC. Hence, I'm rejecting merge to M61. Please let me know if there is any concern here. Thank you.
Status: WontFix (was: Assigned)
This seems fine, according to the bisect in  issue 723848  this is a non-regression issue.

Sign in to add a comment