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

Unified Diff: LayoutTests/editing/deleting/merge-div-from-span-with-style-expected.txt

Issue 22353004: background-color and text-decoration are not preserved when merging paragraphs (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 4 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/editing/deleting/merge-div-from-span-with-style-expected.txt
diff --git a/LayoutTests/editing/deleting/merge-div-from-span-with-style-expected.txt b/LayoutTests/editing/deleting/merge-div-from-span-with-style-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..535478c8cae2100732a6e37d6041dd880fe3e1d4
--- /dev/null
+++ b/LayoutTests/editing/deleting/merge-div-from-span-with-style-expected.txt
@@ -0,0 +1,9 @@
+The span style should be preserved when merging div element.
+The test passes if "bar" contatins the yellow background and it's underlined.
+| "
+"
+| <div>
+| "foo<#selection-caret>"
+| <span>
+| style="background-color: yellow; text-decoration: underline;"
+| "bar"

Powered by Google App Engine
This is Rietveld 408576698