making sure the basic.sky test exposes the right (new) DOM now that
text is always wrapped in a display:paragraph div.

BUG=85
R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/1083443002
This commit is contained in:
Hixie 2015-04-10 15:04:54 -07:00
parent cc43ccec9a
commit f46c5d49d4
3 changed files with 5 additions and 5 deletions

View File

@ -37,5 +37,3 @@ https://github.com/domokit/mojo/issues/64 lowlevel/layers.sky [ Skip ]
# Flaky
https://github.com/domokit/mojo/issues/62 custom-elements/registration.sky [ Skip ]
https://github.com/domokit/mojo/issues/85 framework/basic.sky [ Skip ]

View File

@ -1,5 +1,7 @@
<div>
<div style="background-color: green">I am Text<img src="resources/united.jpg"></img>
<div style="background-color: green">
<div class="style1">I am Text</div>
<img src="resources/united.jpg"></img>
<a href="http://www.google.com"></a>
</div>
</div>
</div><style>.style1 { display:paragraph }</style>

View File

@ -8,7 +8,7 @@ import 'dart:sky.internals' as internals;
void main() {
new TestApp();
runAfterDisplay(() {
internals.notifyTestComplete(serializeNode(document.lastChild));
internals.notifyTestComplete(serializeNode(document.lastChild.previousSibling) + serializeNode(document.lastChild));
});
}
</script>