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

Side by Side Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 1771733002: Web Animations: Use of hyphens is no longer supported (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: warn if hyphenated property is present Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/frame/Deprecation.h" 5 #include "core/frame/Deprecation.h"
6 6
7 #include "core/dom/Document.h" 7 #include "core/dom/Document.h"
8 #include "core/dom/ExecutionContext.h" 8 #include "core/dom/ExecutionContext.h"
9 #include "core/frame/FrameConsole.h" 9 #include "core/frame/FrameConsole.h"
10 #include "core/frame/FrameHost.h" 10 #include "core/frame/FrameHost.h"
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 case UseCounter::ObjectObserve: 350 case UseCounter::ObjectObserve:
351 return willBeRemoved("'Object.observe'", 50, "6147094632988672"); 351 return willBeRemoved("'Object.observe'", 50, "6147094632988672");
352 352
353 case UseCounter::SVGZoomEvent: 353 case UseCounter::SVGZoomEvent:
354 return willBeRemoved("'SVGZoomEvent'", 52, "5760883808534528"); 354 return willBeRemoved("'SVGZoomEvent'", 52, "5760883808534528");
355 355
356 case UseCounter::BorderImageWithBorderStyleNone: 356 case UseCounter::BorderImageWithBorderStyleNone:
357 return "Elements using the 'border-image' CSS property with no 'border-s tyle' set should have no border, but currently do. Setting 'border-style' will b e required in M51, around May 2016. See https://www.chromestatus.com/features/55 42503914668032 for more details."; 357 return "Elements using the 'border-image' CSS property with no 'border-s tyle' set should have no border, but currently do. Setting 'border-style' will b e required in M51, around May 2016. See https://www.chromestatus.com/features/55 42503914668032 for more details.";
358 358
359 case UseCounter::WebAnimationHyphenatedProperty: 359 case UseCounter::WebAnimationHyphenatedProperty:
360 return replacedWillBeRemoved("Hyphenated naming in Web Animations keyfra mes", "camelCase", 51, "5650817352728576"); 360 return "Hyphenated property naming in Web Animations keyframes is invali d and therefore ignored. Please use camelCase instead.";
alancutter (OOO until 2018) 2016/03/10 01:26:50 s/naming/names/ s/is/are/
Eric Willigers 2016/03/10 01:56:04 Done.
361 361
362 case UseCounter::PresentationConnectionStateChangeEventListener: 362 case UseCounter::PresentationConnectionStateChangeEventListener:
363 return replacedWillBeRemoved("'PresentationConnection.onstateachange'", "'PresentationConnection.on{connect,close,terminate}'", 51, "5662456714100736"); 363 return replacedWillBeRemoved("'PresentationConnection.onstateachange'", "'PresentationConnection.on{connect,close,terminate}'", 51, "5662456714100736");
364 364
365 case UseCounter::HTMLKeygenElement: 365 case UseCounter::HTMLKeygenElement:
366 return willBeRemoved("The <keygen> element", 54, "5716060992962560"); 366 return willBeRemoved("The <keygen> element", 54, "5716060992962560");
367 367
368 case UseCounter::ResultsAttribute: 368 case UseCounter::ResultsAttribute:
369 return willBeRemoved("'results' attribute", 53, "5738199536107520"); 369 return willBeRemoved("'results' attribute", 53, "5738199536107520");
370 370
371 // Features that aren't deprecated don't have a deprecation message. 371 // Features that aren't deprecated don't have a deprecation message.
372 default: 372 default:
373 return String(); 373 return String();
374 } 374 }
375 } 375 }
376 376
377 } // namespace blink 377 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698