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

Unified Diff: sky/framework/layout.dart

Issue 1134163003: [Effen] Use the checkbox widget in the stocks app. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fix tests Created 5 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: sky/framework/layout.dart
diff --git a/sky/framework/layout.dart b/sky/framework/layout.dart
index f93fd98df264890b993368c33d91725e42ba2558..fb1d534c7a0a47a919491d9c030077950cc9ba04 100644
--- a/sky/framework/layout.dart
+++ b/sky/framework/layout.dart
@@ -381,7 +381,7 @@ class RenderCSSFlex extends RenderCSSContainer {
while (child != null) {
assert(child.parentData is FlexBoxParentData);
if (child.parentData.flex != null) {
- child._additionalStylesFromParent = 'flex:${child.parentData.flex};';
+ child._additionalStylesFromParent = 'flex:${child.parentData.flex}';
child._updateInlineStyleAttribute();
}
child = child.parentData.nextSibling;
@@ -398,10 +398,13 @@ class RenderCSSText extends RenderCSS {
static final Style _displayParagraph = new Style('display:paragraph');
+ String stylesToClasses(List<Style> styles) {
+ return super.stylesToClasses(styles) + ' ' + _displayParagraph._className;
+ }
+
sky.Element createSkyElement() {
return sky.document.createElement('div')
..setChild(new sky.Text())
- ..setAttribute('class', _displayParagraph._className)
..setAttribute('debug', debug.toString());
}

Powered by Google App Engine
This is Rietveld 408576698