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

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

Issue 2961243002: [CSS Typed OM] Implement FromCSSValue and AsMatrix for CSSTranslation (Closed)
Patch Set: fix test Created 3 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/CSSTranslation.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 translation value in a CSSTransformValue used for properties 5 // Represents a translation value in a CSSTransformValue used for properties
6 // like "transform". 6 // like "transform".
7 // Spec: https://drafts.css-houdini.org/css-typed-om/#csstranslation 7 // Spec: https://drafts.css-houdini.org/css-typed-om/#csstranslation
8 [ 8 [
9 Constructor(CSSNumericValue x, CSSNumericValue y), 9 Constructor(CSSNumericValue x, CSSNumericValue y),
10 Constructor(CSSNumericValue x, CSSNumericValue y, CSSNumericValue z), 10 Constructor(CSSNumericValue x, CSSNumericValue y, CSSNumericValue z),
11 Exposed=(Window,PaintWorklet), 11 Exposed=(Window,PaintWorklet),
12 RaisesException=Constructor, 12 RaisesException=Constructor,
13 RuntimeEnabled=CSSTypedOM 13 RuntimeEnabled=CSSTypedOM
14 ] interface CSSTranslation : CSSTransformComponent { 14 ] interface CSSTranslation : CSSTransformComponent {
15 [RaisesException=Setter] attribute CSSNumericValue x; 15 [RaisesException=Setter] attribute CSSNumericValue x;
16 [RaisesException=Setter] attribute CSSNumericValue y; 16 [RaisesException=Setter] attribute CSSNumericValue y;
17 [RaisesException=Setter] attribute CSSNumericValue? z; 17 [RaisesException=Setter] attribute CSSNumericValue z;
18 }; 18 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/CSSTranslation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698