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

Unified Diff: LayoutTests/plugins/plugin-remove-readystatechange.html

Issue 23475019: The HTML parser should lazy attach. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: moar whitespace text node rebaselines Created 7 years, 3 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: LayoutTests/plugins/plugin-remove-readystatechange.html
diff --git a/LayoutTests/plugins/plugin-remove-readystatechange.html b/LayoutTests/plugins/plugin-remove-readystatechange.html
index ac0562d151df7737e6e5c3257315965fd2b600bb..8b37b6abeae5bada19a4728c34c4a3f00a6bad7d 100644
--- a/LayoutTests/plugins/plugin-remove-readystatechange.html
+++ b/LayoutTests/plugins/plugin-remove-readystatechange.html
@@ -26,6 +26,10 @@ document.addEventListener('readystatechange', function() {
window.addEventListener('DOMContentLoaded', function() {
document.body.removeChild(document.getElementById('viewer'));
});
+
+// FIXME: This shouldn't be needed, but it's here to make our whitespace text node
+// creation deterministic in the face of lazily creating the render tree.
+document.body.offsetHeight;
</script>
</body>
</html>
« no previous file with comments | « LayoutTests/platform/win/tables/mozilla/other/wa_table_tr_align-expected.txt ('k') | Source/core/dom/CharacterData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698