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

Unified Diff: third_party/WebKit/Source/core/css/cssom/Translation.idl

Issue 1603813002: CSS Typed OM: Add TranslationTransformComponent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cssValueAndCssString
Patch Set: Remove unnecessary class declaraion Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/cssom/Translation.idl
diff --git a/third_party/WebKit/Source/core/css/cssom/PositionValue.idl b/third_party/WebKit/Source/core/css/cssom/Translation.idl
similarity index 58%
copy from third_party/WebKit/Source/core/css/cssom/PositionValue.idl
copy to third_party/WebKit/Source/core/css/cssom/Translation.idl
index 5e405ec440224d8214b94720e387edcbeabd3ce7..464b7cd2c5324448299993cb82a7f22e806ee5fa 100644
--- a/third_party/WebKit/Source/core/css/cssom/PositionValue.idl
+++ b/third_party/WebKit/Source/core/css/cssom/Translation.idl
@@ -4,8 +4,12 @@
[
Constructor(LengthValue x, LengthValue y),
+ Constructor(LengthValue x, LengthValue y, LengthValue z),
+ ImplementedAs=TranslationTransformComponent,
+ RaisesException=Constructor,
RuntimeEnabled=CSSTypedOM
-] interface PositionValue : StyleValue {
+] interface Translation : TransformComponent {
readonly attribute LengthValue x;
readonly attribute LengthValue y;
+ readonly attribute LengthValue z;
};

Powered by Google App Engine
This is Rietveld 408576698