New issue
Advanced search Search tips

Issue 811027 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac , Fuchsia
Pri: 3
Type: Bug



Sign in to add a comment

CSS translate: serialized % as percent for computed values

Project Member Reported by ericwilligers@chromium.org, Feb 10 2018

Issue description

CSS WG Resolution:
RESOLVED: % values of translate are serialized as percent for computed values. Add note making the behavior explicit.

https://github.com/w3c/csswg-drafts/issues/2124

 
Project Member

Comment 1 by bugdroid1@chromium.org, Feb 11 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/49530a7b55796ba7407c8a69d82b97be178e4119

commit 49530a7b55796ba7407c8a69d82b97be178e4119
Author: Eric Willigers <ericwilligers@chromium.org>
Date: Sun Feb 11 22:56:29 2018

CSS translate: serialize % as percent for computed values

The CSS translate property no longer resolves percentages
in getComputedStyle results.

CSS WG Resolution:
RESOLVED: % values of translate are serialized as percent for
computed values. Add note making the behavior explicit.

https://github.com/w3c/csswg-drafts/issues/2124

BUG= 811027 

Change-Id: I6f9b60c285d1eccc2e13ff0e806794df5cce5151
Reviewed-on: https://chromium-review.googlesource.com/912052
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#536010}
[modify] https://crrev.com/49530a7b55796ba7407c8a69d82b97be178e4119/third_party/WebKit/LayoutTests/animations/composition/translate-composition.html
[modify] https://crrev.com/49530a7b55796ba7407c8a69d82b97be178e4119/third_party/WebKit/LayoutTests/external/wpt/css/css-transforms/transforms-support-calc.html
[add] https://crrev.com/49530a7b55796ba7407c8a69d82b97be178e4119/third_party/WebKit/LayoutTests/external/wpt/css/css-transforms/translate-getComputedStyle.html
[delete] https://crrev.com/58525850de9c493fd4f59e008d9e9ed44534fe02/third_party/WebKit/LayoutTests/transforms/translate-parsing-expected.txt
[modify] https://crrev.com/49530a7b55796ba7407c8a69d82b97be178e4119/third_party/WebKit/LayoutTests/transforms/translate-parsing.html
[modify] https://crrev.com/49530a7b55796ba7407c8a69d82b97be178e4119/third_party/WebKit/Source/core/css/properties/longhands/TranslateCustom.cpp

Status: Fixed (was: Started)

Sign in to add a comment