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

Issue 670755 link

Starred by 3 users

Issue metadata

Status: Archived
Owner:
Last visit 29 days ago
Closed: Oct 31
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Styles Pane - CSS Transform Negative Numbers Merge Styles

Reported by axel.mil...@gmail.com, Dec 2 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36

Steps to reproduce the problem:
1. Set `transform: translateY( NUMBER );`
2. Change the number by removing it ( from the parenthesis ) and re-adding a negative number
3. The negative ( dash ) then merges and strikes all styles underneath.

What is the expected behavior?
Chrome is supposed to re-add the number as normal.

What went wrong?
Whenever you add a negative number ( not by using the keyboard arrows ) everything underneath the declaration gets merged and striked.

> transform: translateY( -20% );
> transform: translateY(  );
> transform: translateY( -50% );

The issue appears to happen immediately after inserting the `-` negative / dash.

Did this work before? N/A 

Chrome version: 54.0.2840.99  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 23.0 r0
 
css-issue1.png
13.7 KB View Download
css-issue2.png
14.7 KB View Download
css-issue-result.png
12.6 KB View Download
Labels: M-54 Needs-Triage-M54
Can reproduce unreliably on 55.0.2883.28 (Official Build) beta (64-bit).

Formatting breaks because the semicolon on the declaration underneath disappears. The semicolon does not get removed if the declaration below is the last.
Components: -Platform>DevTools Platform>DevTools>Authoring
Owner: lushnikov@chromium.org
Status: Assigned (was: Unconfirmed)
Status: Archived (was: Assigned)
Bulk closing low-priority issues with no activity. Please re-file and refer to the closed issue if it's essential to fix.

Sign in to add a comment