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

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

Issue 2903413002: Restructure type tracking in StyleValues to work better with new numeric types (Closed)
Patch Set: rebase Created 3 years, 7 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/CSSUnitValue.idl
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSUnitValue.idl b/third_party/WebKit/Source/core/css/cssom/CSSUnitValue.idl
index 02ab6d4ebdc654e0f210ad0df029f1e99217cbc6..c00d6c4dc421876ec8f4008e9d8030ba09b9d85b 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSUnitValue.idl
+++ b/third_party/WebKit/Source/core/css/cssom/CSSUnitValue.idl
@@ -5,7 +5,6 @@
// Represents numeric values that can be expressed as a single number plus a
// unit (or a naked number or percentage).
// https://drafts.css-houdini.org/css-typed-om/#cssunitvalue
-
[
Constructor(double value, DOMString unit),
RaisesException=Constructor,
@@ -14,5 +13,5 @@
] interface CSSUnitValue : CSSNumericValue {
[EnforceRange] attribute double value;
[RaisesException=Setter] attribute DOMString unit;
- [ImplementedAs=cssType] readonly attribute DOMString type;
+ readonly attribute DOMString type;
nainar 2017/05/30 08:19:18 This really should be a separate change.
meade_UTC10 2017/06/02 04:43:38 Done.
};

Powered by Google App Engine
This is Rietveld 408576698