New issue
Advanced search Search tips

Issue 676295 link

Starred by 2 users

Issue metadata

Status: Fixed
Closed: Feb 2017
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

issue 669490

Sign in to add a comment

[css-ui] caret-color "auto" shouldn't be interpolable

Project Member Reported by, Dec 21 2016

Issue description

This is extracted from this comment:

It seems than the fact that colors have the unvisited vs visited
values causes that we need to modify InterpolationType design.

On that CL we're making caret-color animatable,
however "auto" is still interpolable in some animations.
For example if you've:
  @keyframes caret-color-to-lime {
    to { caret-color: lime; }
It sill interpolates the caret-color value, when it shouldn't.

But if you've:
  @keyframes caret-color-to-lime {
    from { caret-color: auto; }
    to   { caret-color: lime; }
Then it doesn't interpolate, as expected.

Created new test "caret-color-021.html" (attached)
to reproduce the issue, and send it upstream:

1.1 KB View Download
Components: -Blink>CSS
Labels: Update-Monthly
Project Member

Comment 2 by, Feb 17 2017

The following revision refers to this bug:

commit 9a661d2c478a78a6bba5938b42f624a81a17329e
Author: alancutter <>
Date: Fri Feb 17 02:18:53 2017

Don't animate caret-color: auto

This patch enables ColorPropertyFunctions to effectively return nullptr
instead of a StyleColor when the property doesn't have a color value.
This allows us to not run animations for caret-color when one side is "auto".

BUG= 676295 , 681424 

Cr-Commit-Position: refs/heads/master@{#451183}


Status: Fixed (was: Assigned)

Sign in to add a comment