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

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

Issue 2199703002: [Typed-OM] Add CSSStyleImageValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@CSSResourceValue
Patch Set: Return null if the image has invalid ratio Created 4 years, 4 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/CSSImageValue.idl
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSTransformComponent.idl b/third_party/WebKit/Source/core/css/cssom/CSSImageValue.idl
similarity index 51%
copy from third_party/WebKit/Source/core/css/cssom/CSSTransformComponent.idl
copy to third_party/WebKit/Source/core/css/cssom/CSSImageValue.idl
index 8173d5e004b40a480a2ec31406aa891e5fe4eeb4..b0160127783549990c2d04e2061666572e21c2f7 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSTransformComponent.idl
+++ b/third_party/WebKit/Source/core/css/cssom/CSSImageValue.idl
@@ -5,8 +5,9 @@
[
Exposed=(Window,PaintWorklet),
RuntimeEnabled=CSSTypedOM,
-] interface CSSTransformComponent {
- readonly attribute DOMString cssText;
- boolean is2D();
- CSSMatrixTransformComponent asMatrix();
+ ImplementedAs=CSSStyleImageValue
+] interface CSSImageValue : CSSResourceValue {
+ readonly attribute double? intrinsicWidth;
+ readonly attribute double? intrinsicHeight;
+ readonly attribute double? intrinsicRatio;
};

Powered by Google App Engine
This is Rietveld 408576698