Support animating <percentage> and <length-percentage> custom properties
This patch adds support for animating custom properties registered with
the <percentage> or <length-percentage> syntax.
It also fixes a bug in LengthInterpolationFunctions::createCSSValue()
when applying 0% that's unreachable without this patch.
The transition tests fail as transitions on registered custom properties
are pending implementation.
BUG=671904
Review-Url: https://codereview.chromium.org/2701533005
Cr-Commit-Position: refs/heads/master@{#451558}
Committed: https://chromium.googlesource.com/chromium/src/+/bf1d7a3c3dc23860270f9cf267e4722b963500ab
Oh, also, is there a reason that these two property types need to be in ...
3 years, 10 months ago
(2017-02-17 05:00:32 UTC)
#4
Oh, also, is there a reason that these two property types need to be in a single
patch?
alancutter (OOO until 2018)
Description was changed from ========== Support animating <percentage> and <length-percentage> custom properties This patch adds ...
3 years, 10 months ago
(2017-02-19 23:32:26 UTC)
#5
Description was changed from
==========
Support animating <percentage> and <length-percentage> custom properties
This patch adds support for animating custom properties registered with
the <percentage> or <length-percentage> syntax.
It also fixes a bug in LengthInterpolationFunctions::createCSSValue()
when applying 0%.
BUG=671904
==========
to
==========
Support animating <percentage> and <length-percentage> custom properties
This patch adds support for animating custom properties registered with
the <percentage> or <length-percentage> syntax.
It also fixes a bug in LengthInterpolationFunctions::createCSSValue()
when applying 0% that's unreachable without this patch.
The transition tests fail as transitions don't yet apply to registered
custom properties.
BUG=671904
==========
alancutter (OOO until 2018)
On 2017/02/17 at 05:00:32, suzyh wrote: > Oh, also, is there a reason that these ...
3 years, 10 months ago
(2017-02-19 23:38:58 UTC)
#6
On 2017/02/17 at 05:00:32, suzyh wrote:
> Oh, also, is there a reason that these two property types need to be in a
single patch?
The
animations/custom-properties/length-percentage-type-mismatch-no-interpolation.html
makes more sense when you can see that the implementation is using the same
CSSInterpolationType for multiple custom property syntaxes. It verifies that it
doesn't support more than it's supposed to.
https://codereview.chromium.org/2701533005/diff/1/third_party/WebKit/LayoutTe...
File
third_party/WebKit/LayoutTests/animations/custom-properties/length-percentage-type-interpolation.html
(right):
https://codereview.chromium.org/2701533005/diff/1/third_party/WebKit/LayoutTe...
third_party/WebKit/LayoutTests/animations/custom-properties/length-percentage-type-interpolation.html:9:
font-size: 20px;
On 2017/02/17 at 04:59:58, suzyh wrote:
> Add a comment to indicate the purpose of this line. Or move it to its own
test.
Done.
https://codereview.chromium.org/2701533005/diff/1/third_party/WebKit/LayoutTe...
File
third_party/WebKit/LayoutTests/animations/custom-properties/length-percentage-type-mismatch-no-interpolation.html
(right):
https://codereview.chromium.org/2701533005/diff/1/third_party/WebKit/LayoutTe...
third_party/WebKit/LayoutTests/animations/custom-properties/length-percentage-type-mismatch-no-interpolation.html:25:
'percentage is treated as neutral value');
On 2017/02/17 at 04:59:58, suzyh wrote:
> Please elaborate this to document the particular condition that causes it to
be treated as neutral. Perhaps also mention that it triggers the console warning
in the expected output.
Done.
https://codereview.chromium.org/2701533005/diff/1/third_party/WebKit/Source/c...
File third_party/WebKit/Source/core/animation/LengthInterpolationFunctions.cpp
(right):
https://codereview.chromium.org/2701533005/diff/1/third_party/WebKit/Source/c...
third_party/WebKit/Source/core/animation/LengthInterpolationFunctions.cpp:216:
if (value == 0 &&
On 2017/02/17 at 04:59:59, suzyh wrote:
> Although this is a tiny bug fix, I'd prefer to see it in its own patch with a
dedicated test.
This bug is unreachable without this change.
alancutter (OOO until 2018)
Description was changed from ========== Support animating <percentage> and <length-percentage> custom properties This patch adds ...
3 years, 10 months ago
(2017-02-19 23:42:02 UTC)
#7
Description was changed from
==========
Support animating <percentage> and <length-percentage> custom properties
This patch adds support for animating custom properties registered with
the <percentage> or <length-percentage> syntax.
It also fixes a bug in LengthInterpolationFunctions::createCSSValue()
when applying 0% that's unreachable without this patch.
The transition tests fail as transitions don't yet apply to registered
custom properties.
BUG=671904
==========
to
==========
Support animating <percentage> and <length-percentage> custom properties
This patch adds support for animating custom properties registered with
the <percentage> or <length-percentage> syntax.
It also fixes a bug in LengthInterpolationFunctions::createCSSValue()
when applying 0% that's unreachable without this patch.
The transition tests fail as transitions on registered custom properties
are pending implementation.
BUG=671904
==========
suzyh_UTC10 (ex-contributor)
lgtm once test documentation strings fixed. https://codereview.chromium.org/2701533005/diff/20001/third_party/WebKit/LayoutTests/animations/custom-properties/length-percentage-type-mismatch-no-interpolation.html File third_party/WebKit/LayoutTests/animations/custom-properties/length-percentage-type-mismatch-no-interpolation.html (right): https://codereview.chromium.org/2701533005/diff/20001/third_party/WebKit/LayoutTests/animations/custom-properties/length-percentage-type-mismatch-no-interpolation.html#newcode7 third_party/WebKit/LayoutTests/animations/custom-properties/length-percentage-type-mismatch-no-interpolation.html:7: // The console ...
3 years, 10 months ago
(2017-02-20 00:22:01 UTC)
#8
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/391507)
3 years, 10 months ago
(2017-02-20 01:37:00 UTC)
#13
CQ is committing da patch. Bot data: {"patchset_id": 60001, "attempt_start_ts": 1487561752011900, "parent_rev": "7994ae1b005e8f02c1bd554e5006e0546e59c3e7", "commit_rev": "bf1d7a3c3dc23860270f9cf267e4722b963500ab"}
3 years, 10 months ago
(2017-02-20 05:10:53 UTC)
#17
CQ is committing da patch.
Bot data: {"patchset_id": 60001, "attempt_start_ts": 1487561752011900,
"parent_rev": "7994ae1b005e8f02c1bd554e5006e0546e59c3e7", "commit_rev":
"bf1d7a3c3dc23860270f9cf267e4722b963500ab"}
commit-bot: I haz the power
Description was changed from ========== Support animating <percentage> and <length-percentage> custom properties This patch adds ...
3 years, 10 months ago
(2017-02-20 05:12:01 UTC)
#18
Message was sent while issue was closed.
Description was changed from
==========
Support animating <percentage> and <length-percentage> custom properties
This patch adds support for animating custom properties registered with
the <percentage> or <length-percentage> syntax.
It also fixes a bug in LengthInterpolationFunctions::createCSSValue()
when applying 0% that's unreachable without this patch.
The transition tests fail as transitions on registered custom properties
are pending implementation.
BUG=671904
==========
to
==========
Support animating <percentage> and <length-percentage> custom properties
This patch adds support for animating custom properties registered with
the <percentage> or <length-percentage> syntax.
It also fixes a bug in LengthInterpolationFunctions::createCSSValue()
when applying 0% that's unreachable without this patch.
The transition tests fail as transitions on registered custom properties
are pending implementation.
BUG=671904
Review-Url: https://codereview.chromium.org/2701533005
Cr-Commit-Position: refs/heads/master@{#451558}
Committed:
https://chromium.googlesource.com/chromium/src/+/bf1d7a3c3dc23860270f9cf267e4...
==========
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/bf1d7a3c3dc23860270f9cf267e4722b963500ab
3 years, 10 months ago
(2017-02-20 05:12:02 UTC)
#19
Issue 2701533005: Support animating <percentage> and <length-percentage> custom properties
(Closed)
Created 3 years, 10 months ago by alancutter (OOO until 2018)
Modified 3 years, 10 months ago
Reviewers: suzyh_UTC10 (ex-contributor)
Base URL:
Comments: 11