mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix the test broken by https://codereview.chromium.org/1078973002 by
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:
parent
cc43ccec9a
commit
f46c5d49d4
@ -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 ]
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user