Unbreak text

Previously, no text was appearing because we weren't actually converting the
Dart objects into DOM.
This commit is contained in:
Adam Barth
2015-08-07 10:37:04 -07:00
parent fb512aa604
commit b5e0b7c99a

View File

@@ -102,8 +102,9 @@ double _applyFloatingPointHack(double layoutValue) {
class RenderParagraph extends RenderBox {
RenderParagraph(this._inline) {
RenderParagraph(RenderInline inline) {
_layoutRoot.rootElement = _document.createElement('p');
this.inline = inline;
}
final sky.Document _document = new sky.Document();