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

Unified Diff: third_party/WebKit/LayoutTests/fast/text/whitespace-created-when-siblings-added-back-to-front.html

Issue 1461773002: Ensure text nodes get an object if we're unsure that they will be collapsed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 5 years, 1 month 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: third_party/WebKit/LayoutTests/fast/text/whitespace-created-when-siblings-added-back-to-front.html
diff --git a/third_party/WebKit/LayoutTests/fast/text/whitespace-created-when-siblings-added-back-to-front.html b/third_party/WebKit/LayoutTests/fast/text/whitespace-created-when-siblings-added-back-to-front.html
new file mode 100644
index 0000000000000000000000000000000000000000..4e6e572f06f6151a654387b6d33cbd5b45692e8b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/text/whitespace-created-when-siblings-added-back-to-front.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<style>
+.f {
+ float: left;
+}
+</style>
+<p id="p"></p>
+<script>
+window.onload = function (e) {
+ var p = document.getElementById('p');
+ p.innerHTML = 't<span class="f">e</span> <span class="f">x</span>t';
+};
+</script>
+<p>crbug.com/556733: Ensure whitespace gets created when we attached siblings from back to front. There should be a space between the t and the t.</p>
esprehn 2015/12/03 07:03:32 If we ever reversed the order again this test woul
rhogan 2015/12/03 19:45:32 Sure.
+

Powered by Google App Engine
This is Rietveld 408576698