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

Issue 298043007: Support unknown property strings in transition-property (Closed)

Created:
6 years, 7 months ago by Timothy Loh
Modified:
6 years, 6 months ago
Reviewers:
dstockwell, TabAtkins
CC:
blink-reviews, ed+blinkwatch_opera.com, shans, rjwright, Mike Lawther (Google), blink-reviews-animation_chromium.org, blink-reviews-css, rune+blink, dglazkov+blink, dstockwell, Timothy Loh, apavlov+blink_chromium.org, rwlbuis, darktears, Steve Block, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Support unknown property strings in transition-property The spec mandates that transition-property (and thus the transition shorthand) are able to support arbitrary unknown properties, for backwards and forwards compatibility. This patch adds support for such unknown properties. Note that this makes the shorthand strings like "ease" or "ease ease-in" ambiguous. In this patch we take the first case to refer to a timing function, and in the second case the first token as a timing function and the second token as the property name. This change progresses the w3c transitions test transition-property-002, although the first two cases of the test are incorrect. BUG=304020, 375098 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176489

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -47 lines) Patch
M LayoutTests/transitions/transitions-parsing.html View 3 chunks +34 lines, -20 lines 0 comments Download
M LayoutTests/transitions/transitions-parsing-expected.txt View 3 chunks +22 lines, -16 lines 0 comments Download
M Source/core/animation/css/CSSAnimations.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/css/CSSTransitionData.h View 1 2 chunks +12 lines, -5 lines 0 comments Download
M Source/core/css/CSSComputedStyleDeclaration.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/css/StylePropertyShorthandCustom.cpp View 1 2 chunks +29 lines, -0 lines 0 comments Download
M Source/core/css/parser/CSSPropertyParser.cpp View 1 3 chunks +6 lines, -4 lines 0 comments Download
M Source/core/css/resolver/CSSToStyleMap.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Timothy Loh
The css-transitions spec isn't clear on what to do for cases like "transition: ease linear". ...
6 years, 7 months ago (2014-05-27 05:44:52 UTC) #1
Tab Atkins
On 2014/05/27 05:44:52, Timothy Loh wrote: > The css-transitions spec isn't clear on what to ...
6 years, 7 months ago (2014-05-27 21:15:30 UTC) #2
dstockwell
lgtm https://codereview.chromium.org/298043007/diff/1/LayoutTests/transitions/transitions-parsing-expected.txt File LayoutTests/transitions/transitions-parsing-expected.txt (right): https://codereview.chromium.org/298043007/diff/1/LayoutTests/transitions/transitions-parsing-expected.txt#newcode467 LayoutTests/transitions/transitions-parsing-expected.txt:467: FAIL style.transitionProperty should be all. Was initial. is ...
6 years, 6 months ago (2014-05-29 22:00:59 UTC) #3
Timothy Loh
The CQ bit was checked by timloh@chromium.org
6 years, 6 months ago (2014-06-19 03:21:05 UTC) #4
Timothy Loh
https://codereview.chromium.org/298043007/diff/1/LayoutTests/transitions/transitions-parsing-expected.txt File LayoutTests/transitions/transitions-parsing-expected.txt (right): https://codereview.chromium.org/298043007/diff/1/LayoutTests/transitions/transitions-parsing-expected.txt#newcode467 LayoutTests/transitions/transitions-parsing-expected.txt:467: FAIL style.transitionProperty should be all. Was initial. On 2014/05/29 ...
6 years, 6 months ago (2014-06-19 03:21:09 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/timloh@chromium.org/298043007/20001
6 years, 6 months ago (2014-06-19 03:22:04 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-06-19 05:08:53 UTC) #7
Message was sent while issue was closed.
Change committed as 176489

Powered by Google App Engine
This is Rietveld 408576698