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

Issue 660026 link

Starred by 4 users

Issue metadata

Status: Fixed
Last visit > 30 days ago
Closed: Feb 2018
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Compat

issue 809688

Sign in to add a comment

Custom properties can't be updated within ::first-letter

Reported by, Oct 27 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.14956

Example URL:,css,output

Steps to reproduce the problem:
1. Open the jsbin

What is the expected behavior?
The first letter in the word 'Div' should be orange.

What went wrong?
The variable definition wasn't updated within the first-letter pseudo for some reason, they are applied but not updated.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 54.0.2840.71  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 23.0 r0

This works as expected in FF.
Labels: M56 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on windows 7,Mac 10.11.4,Ubuntu 14.04 using chrome version #54.0.2840.71,latest canary #56.0.2906.0 as blue color DIV text observed.

This is a non regression issue as Black color 'DIV' text observed in M30,M45 ,M48 old buils .

Hence, marking it as Untriaged to get more inputs from dev team.

adding more info:

Issue (blue color DIV) observed from M49 to Latest stable & Canary.
Components: Blink>CSS

Comment 4 by, Jan 17 2017

We have a whitelist isValidFirstLetterStyleProperty(CSSPropertyID id), maybe we should just allow custom properties? I don't recall where the list comes from.

Comment 5 by, Jan 18 2017

Labels: Hotlist-Interop
Status: Available (was: Untriaged)
Labels: Update-Quarterly

Comment 7 by, Oct 31 2017

Labels: Code-Resolver Hotlist-GoodFirstBug
Labels: -Update-Quarterly
Blocking: 809688
Project Member

Comment 10 by, Feb 7 2018

The following revision refers to this bug:

commit e9d91e2685675f4dd22dc3a3356a154c2eea7cef
Author: Chris Nardi <>
Date: Wed Feb 07 17:45:24 2018

Update list of properties whitelisted for first-letter

CSS Pseudo 4 [1] expands the list of properties that can apply to
::first-letter when compared to CSS Selectors 3. Our list was based
primarily off of CSS Selectors 3; update per Pseudo 4. Also whitelist
variables within ::first-letter.


Bug:  660026 ,  715661 
Change-Id: I950c7881506f8c36c3b917aff0ed2f1709d194ce
Reviewed-by: Alan Cutter <>
Commit-Queue: Chris Nardi <>
Cr-Commit-Position: refs/heads/master@{#535045}

Status: Fixed (was: Available)

Sign in to add a comment