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

Unified Diff: LayoutTests/editing/deleting/merge-paragraph-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-paragraph-from-span-with-style-expected.txt
diff --git a/LayoutTests/editing/deleting/merge-paragraph-from-span-with-style-expected.txt b/LayoutTests/editing/deleting/merge-paragraph-from-span-with-style-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a9b4cc8b7a167c28e0c415c8002dbc8bf753363b
--- /dev/null
+++ b/LayoutTests/editing/deleting/merge-paragraph-from-span-with-style-expected.txt
@@ -0,0 +1,9 @@
+The span style should be preserved when merging a pragraph.
+The test passes if "bar" contatins the yellow background and it's underlined.
+| "
+"
+| <p>
+| "foo<#selection-caret>"
+| <span>
+| style="background-color: yellow; text-decoration: underline;"
+| "bar"
« no previous file with comments | « LayoutTests/editing/deleting/merge-paragraph-from-span-with-style.html ('k') | Source/core/editing/EditingStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698