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

Unified Diff: sky/examples/style/block-layout.sky

Issue 727993002: Specs: hit testing (and some cleanup) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | sky/examples/style/hex-layout.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/style/block-layout.sky
diff --git a/sky/examples/style/block-layout.sky b/sky/examples/style/block-layout.sky
index b303db047e51ffe798fbe606c20dcb7135d2baf3..0cfac2bb07dce6d2be266021c9ec3880bcc35721 100644
--- a/sky/examples/style/block-layout.sky
+++ b/sky/examples/style/block-layout.sky
@@ -37,7 +37,7 @@ SKY MODULE
}
function getIntrinsicWidth() {
let width = this.node.getProperty('width');
- if (typeof height != 'number') {
+ if (typeof width != 'number') {
// e.g. width: auto
width = 0;
let children = this.walkChildren();
« no previous file with comments | « no previous file | sky/examples/style/hex-layout.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698