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

Issue 23439004: CSS Calc: Use Lengths instead of numbers to represent pixels (Closed)

Created:
7 years, 3 months ago by alancutter (OOO until 2018)
Modified:
7 years, 2 months ago
CC:
blink-reviews, dglazkov+blink, apavlov+blink_chromium.org, darktears
Visibility:
Public.

Description

CSS Calc: Use Lengths instead of numbers to represent pixels Platform CalcExpressionNumber is overloaded with two uses semantic meanings: numbers and pixel lengths. This makes conversion from platform calcs to CSS calcs impossible to do accurately. BUG=260097 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=158790

Patch Set 1 #

Patch Set 2 : Extended unit tests #

Patch Set 3 : Update test expectations #

Patch Set 4 : Rebased onto ToT #

Patch Set 5 : Rebased to ToT again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -5 lines) Patch
M Source/core/animation/AnimatableLengthTest.cpp View 1 2 3 4 4 chunks +4 lines, -4 lines 0 comments Download
M Source/core/css/CSSCalculationValue.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSCalculationValueTest.cpp View 1 2 chunks +47 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
alancutter (OOO until 2018)
7 years, 3 months ago (2013-09-16 08:01:25 UTC) #1
Srini
On 2013/09/16 08:01:25, alancutter wrote: Thanks alancutter for catching it. I will redo my test ...
7 years, 3 months ago (2013-09-16 11:01:04 UTC) #2
Mike Lawther (Google)
lgtm
7 years, 3 months ago (2013-09-16 13:53:37 UTC) #3
ojan
lgtm Is there any way to also write a layout test for this? Whenever the ...
7 years, 2 months ago (2013-10-02 23:36:33 UTC) #4
alancutter (OOO until 2018)
On 2013/10/02 23:36:33, ojan wrote: > lgtm > > Is there any way to also ...
7 years, 2 months ago (2013-10-02 23:41:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alancutter@chromium.org/23439004/9001
7 years, 2 months ago (2013-10-02 23:41:57 UTC) #6
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=7961
7 years, 2 months ago (2013-10-03 00:01:03 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alancutter@chromium.org/23439004/25001
7 years, 2 months ago (2013-10-03 01:03:29 UTC) #8
commit-bot: I haz the power
Failed to apply patch for Source/core/animation/AnimatableNumberTest.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
7 years, 2 months ago (2013-10-03 01:04:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alancutter@chromium.org/23439004/29001
7 years, 2 months ago (2013-10-03 01:11:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alancutter@chromium.org/23439004/29001
7 years, 2 months ago (2013-10-03 05:38:41 UTC) #11
commit-bot: I haz the power
7 years, 2 months ago (2013-10-03 09:00:59 UTC) #12
Message was sent while issue was closed.
Change committed as 158790

Powered by Google App Engine
This is Rietveld 408576698