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

Unified Diff: sky/engine/core/dom/Element.idl

Issue 1208483002: Expose baseline information in the Sky API. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/examples/raw/baseline.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Element.idl
diff --git a/sky/engine/core/dom/Element.idl b/sky/engine/core/dom/Element.idl
index 02a917a21a72ee5e3d7c82caad948ecf418f06f0..126f0c5d5ea0e30c1119d49aebd5b76607352a3a 100644
--- a/sky/engine/core/dom/Element.idl
+++ b/sky/engine/core/dom/Element.idl
@@ -50,6 +50,8 @@
attribute double height;
attribute double minContentWidth; // Intrinsic width if all wrappable points wrap.
attribute double maxContentWidth; // Intrinsic width if no wrappable points wrap.
+ readonly attribute double alphabeticBaseline; // Distance from top to alphabetic baseline of first line
+ readonly attribute double ideographicBaseline; // Distance from top to ideographic baseline of first line
void paint(Canvas canvas);
};
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/examples/raw/baseline.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698