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

Side by Side Diff: LayoutTests/editing/deleting/paste-with-transparent-background-color-expected.txt

Issue 14969020: Avoid adding placeholder when deleting last text in root (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed bad TestExpectations behavior and unnecessary results churn. Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 This tests cutting and pasting a content with inline "background: transparent;" into a document with a style rule that overrides this style. 1 This tests cutting and pasting a content with inline "background: transparent;" into a document with a style rule that overrides this style.
2 WebKit should preserve the inline style declaration. To manually test, cut and p aste "hello world WebKit" below. "world" should not be highlighted in blue. 2 WebKit should preserve the inline style declaration. To manually test, cut and p aste "hello world WebKit" below. "world" should not be highlighted in blue.
3 3
4 Before cut and paste: 4 Before cut and paste:
5 | "<#selection-anchor>hello " 5 | "<#selection-anchor>hello "
6 | <span> 6 | <span>
7 | class="test" 7 | class="test"
8 | style="background: transparent;" 8 | style="background: transparent;"
9 | "world" 9 | "world"
10 | " WebKit<#selection-focus>" 10 | " WebKit<#selection-focus>"
11 11
12 After cut and paste: 12 After cut and paste:
13 | "hello " 13 | "hello "
14 | <span> 14 | <span>
15 | class="test" 15 | class="test"
16 | style="background-color: transparent;" 16 | style="background-color: transparent;"
17 | "world" 17 | "world"
18 | " " 18 | " "
19 | "WebKit<#selection-caret>" 19 | "WebKit<#selection-caret>"
20 | <br>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698