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

Side by Side Diff: third_party/WebKit/Source/core/css/cssom/CSSRotation.idl

Issue 2938353002: [CSS Typed OM] Add missing error handling for CSSRotation constructor (Closed)
Patch Set: rebase Created 3 years, 6 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 // Represents a rotation value in a CSSTransformValue used for properties like 5 // Represents a rotation value in a CSSTransformValue used for properties like
6 // "transform". 6 // "transform".
7 // Spec: https://drafts.css-houdini.org/css-typed-om/#cssrotation 7 // Spec: https://drafts.css-houdini.org/css-typed-om/#cssrotation
8 [ 8 [
9 Constructor(CSSNumericValue angleValue), 9 Constructor(CSSNumericValue angleValue),
10 Constructor(double x, double y, double z, CSSNumericValue angle), 10 Constructor(double x, double y, double z, CSSNumericValue angle),
11 Exposed=(Window,PaintWorklet), 11 Exposed=(Window,PaintWorklet),
12 RuntimeEnabled=CSSTypedOM 12 RuntimeEnabled=CSSTypedOM,
13 RaisesException=Constructor
13 ] interface CSSRotation : CSSTransformComponent { 14 ] interface CSSRotation : CSSTransformComponent {
14 readonly attribute CSSNumericValue angle; 15 readonly attribute CSSNumericValue angle;
15 readonly attribute double x; 16 readonly attribute double x;
16 readonly attribute double y; 17 readonly attribute double y;
17 readonly attribute double z; 18 readonly attribute double z;
18 }; 19 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698