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

Issue 15001026: Deprecate the unofficial -webkit-transition media feature (Closed)

Created:
7 years, 7 months ago by kenneth.r.christiansen
Modified:
7 years, 7 months ago
CC:
blink-reviews, shans, eae+blinkwatch, dstockwell, dglazkov+blink, apavlov+blink_chromium.org, darktears, Steve Block
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Deprecate the unofficial -webkit-transition media feature because of two reasons: 1) It's prefixed and transitions are now unprefixed. 2) Authors can accomplish the same using CSS conditionals. Measure usage and add a deprecation warning to the console. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150503

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : Another approach #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M Source/core/css/MediaFeatureNames.h View 1 2 3 4 5 2 chunks +1 line, -1 line 0 comments Download
M Source/core/css/MediaQueryEvaluator.cpp View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/css/MediaQueryExp.cpp View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/page/UseCounter.h View 1 2 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/page/UseCounter.cpp View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
kenneth.r.christiansen
7 years, 7 months ago (2013-05-13 12:49:51 UTC) #1
Use mkwst_at_chromium.org plz.
LGTM, assuming the API owners CCd are happy. It would be nice to throw deprecation ...
7 years, 7 months ago (2013-05-13 13:59:03 UTC) #2
kenneth.r.christiansen
> It would be nice to throw deprecation warnings on the prefixed variant. Done
7 years, 7 months ago (2013-05-13 14:41:16 UTC) #3
Use mkwst_at_chromium.org plz.
https://codereview.chromium.org/15001026/diff/4001/Source/core/css/MediaQueryEvaluator.cpp File Source/core/css/MediaQueryEvaluator.cpp (right): https://codereview.chromium.org/15001026/diff/4001/Source/core/css/MediaQueryEvaluator.cpp#newcode569 Source/core/css/MediaQueryEvaluator.cpp:569: frame->document()->addConsoleMessage(CSSMessageSource, DebugMessageLevel, Please use UseCounter::countDeprecation instead, as outlined on ...
7 years, 7 months ago (2013-05-13 14:43:20 UTC) #4
kenneth.r.christiansen
> Please use UseCounter::countDeprecation instead... Done
7 years, 7 months ago (2013-05-13 15:05:14 UTC) #5
Mike West
https://codereview.chromium.org/15001026/diff/8001/Source/core/css/MediaQueryEvaluator.cpp File Source/core/css/MediaQueryEvaluator.cpp (right): https://codereview.chromium.org/15001026/diff/8001/Source/core/css/MediaQueryEvaluator.cpp#newcode559 Source/core/css/MediaQueryEvaluator.cpp:559: UseCounter::count(frame->document(), UseCounter::PrefixedTransitionMediaFeature); This is unprefixed, right? You'll need to ...
7 years, 7 months ago (2013-05-13 15:11:51 UTC) #6
kenneth.r.christiansen
> "UnprefixedTeansition..." as well. :) Yeah I figured that during upload :-) Fixed now!
7 years, 7 months ago (2013-05-13 15:29:15 UTC) #7
Mike West
Love it. LGTM again.
7 years, 7 months ago (2013-05-13 15:31:34 UTC) #8
eseidel
What's the spec status? Implementation of other browsers? Should we be exposing the unprefixed version ...
7 years, 7 months ago (2013-05-13 19:23:10 UTC) #9
kenneth.christiansen
On 2013/05/13 19:23:10, Eric Seidel wrote: > What's the spec status? Implementation of other browsers? ...
7 years, 7 months ago (2013-05-13 19:34:09 UTC) #10
eseidel
lgtm
7 years, 7 months ago (2013-05-14 09:01:36 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenneth.r.christiansen@intel.com/15001026/12001
7 years, 7 months ago (2013-05-14 09:01:49 UTC) #12
PhistucK
On 2013/05/14 09:01:36, Eric Seidel wrote: > lgtm Wait! Is this a standard feature at ...
7 years, 7 months ago (2013-05-14 13:25:44 UTC) #13
kenneth.christiansen
Actually I think you might have a valid point, I guess @support is supposed to ...
7 years, 7 months ago (2013-05-14 13:36:29 UTC) #14
PhistucK
On 2013/05/14 13:36:29, kenneth.christiansen wrote: > Actually I think you might have a valid point, ...
7 years, 7 months ago (2013-05-14 13:41:06 UTC) #15
PhistucK
Yay! Thank you for the updated patch set. Eric, perhaps we should just remove those ...
7 years, 7 months ago (2013-05-14 15:09:42 UTC) #16
kenneth.r.christiansen
> Eric, perhaps we should just remove those and look out for canary breakage? I ...
7 years, 7 months ago (2013-05-14 18:02:50 UTC) #17
eseidel
I don't have enough context to guide you one way or the other. I'm OK ...
7 years, 7 months ago (2013-05-14 18:25:56 UTC) #18
kenneth.r.christiansen
On 2013/05/14 18:25:56, Eric Seidel wrote: > I don't have enough context to guide you ...
7 years, 7 months ago (2013-05-14 18:27:12 UTC) #19
kenneth.r.christiansen
7 years, 7 months ago (2013-05-15 10:48:04 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenneth.r.christiansen@intel.com/15001026/29001
7 years, 7 months ago (2013-05-16 09:14:33 UTC) #21
commit-bot: I haz the power
Failed to apply patch for Source/core/css/MediaFeatureNames.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-16 09:14:58 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenneth.r.christiansen@intel.com/15001026/36001
7 years, 7 months ago (2013-05-16 09:40:25 UTC) #23
commit-bot: I haz the power
7 years, 7 months ago (2013-05-16 10:52:39 UTC) #24
Message was sent while issue was closed.
Change committed as 150503

Powered by Google App Engine
This is Rietveld 408576698