Files
engine/tests/framework/basic.sky
T
Hixie 9466cbbcb4 [Effen] remove the last traces of the 'display' property from the effen component library.
Previously, the fn "Text" class rendered as a single block of text.
Now, there's a "Paragraph" class that contains "TextFragment"s, and "Text" is just a component that places a single TextFragment into a single Paragraph.
This allows other components, notably the Input component, to build more complicated paragraphs of styled text, without using 'display'.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/1139123007
2015-05-14 15:21:29 -07:00

23 lines
484 B
Plaintext

<import src="../resources/run-after-display.sky" />
<script>
import 'basic.dart';
import 'dart:sky';
import '../resources/dom_serializer.dart';
import 'dart:sky.internals' as internals;
void main() {
new TestApp();
runAfterDisplay(() {
document.firstChild.remove();
document.firstChild.remove();
var result = serializeNode(document);
try {
internals.notifyTestComplete(result);
} catch (e) {
print(e);
print(result);
}
});
}
</script>