Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Issue 23537037: [CSS Grid Layout] Use CSS_FR for flexible lengths instead of CSS_DIMENSION (Closed)

Created:
7 years, 3 months ago by svillar
Modified:
7 years, 3 months ago
CC:
blink-reviews, dglazkov+blink, apavlov+blink_chromium.org, darktears
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[CSS Grid Layout] Use CSS_FR for flexible lengths instead of CSS_DIMENSION Although 'fr' units are dimensions we're using a custom CSSPrimitiveValue:UnitType which matches how px, em, ... are parsed. That's why we should use CSS_FR instead of CSS_DIMENSION for the computed style. This also fixes a bug in the style builder which was converting the fractional primitive value to a float instead of a double causing rounding issues in some tests. BUG=235258 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157820

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixed the FIXME :) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -6 lines) Patch
M Source/core/css/CSSComputedStyleDeclaration.cpp View 1 chunk +2 lines, -4 lines 0 comments Download
M Source/core/css/CSSPrimitiveValue.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/css/resolver/StyleBuilderCustom.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Julien - ping for review
lgtm If you are going to remove the unneeded pieces from the original patch, CSSPrimitiveValue::isDimension() ...
7 years, 3 months ago (2013-09-13 16:44:51 UTC) #1
svillar
On 2013/09/13 16:44:51, Julien Chaffraix wrote: > lgtm > > If you are going to ...
7 years, 3 months ago (2013-09-13 17:29:05 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/svillar@igalia.com/23537037/7001
7 years, 3 months ago (2013-09-16 10:48:55 UTC) #3
commit-bot: I haz the power
7 years, 3 months ago (2013-09-16 11:57:48 UTC) #4
Message was sent while issue was closed.
Change committed as 157820

Powered by Google App Engine
This is Rietveld 408576698