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

Side by Side Diff: LayoutTests/editing/style/background-color-retained-expected.txt

Issue 19477010: Background color applied on a selection of text is lost when the selection is deleted (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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
OLDNEW
1 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document 1 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 1 of DIV > BODY > HTML > #document
2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification 2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 1 of #t ext > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > H TML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE 4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 1 of #t ext > DIV > BODY > HTML > #document to 86 of #text > DIV > BODY > HTML > #docume nt affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
6 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 86 of #text > SPAN > D IV > BODY > HTML > #document to 86 of #text > SPAN > DIV > BODY > HTML > #docume nt toDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 86 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDow nstream stillSelecting:FALSE
7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
8 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
9 EDITING DELEGATE: shouldDeleteDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 86 of #text > SPAN > DIV > BODY > HTML > #document
10 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document toDOMRange:range from 0 of DI V > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document affinity:NSSel ectionAffinityDownstream stillSelecting:FALSE
11 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
12 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
13 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DI V > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > SPAN > DIV > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE
5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 14 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
6 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 15 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
7 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DI V > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE 16 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of #text > SPAN > DI V > BODY > HTML > #document to 1 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 2 of #text > SPAN > DIV > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE
8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 17 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
9 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 18 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
10 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 2 of #text > SPAN > DI V > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 3 of #text > SPAN > DIV > BODY > HTML > #document to 3 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE 19 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 2 of #text > SPAN > DI V > BODY > HTML > #document to 2 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 3 of #text > SPAN > DIV > BODY > HTML > #document to 3 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE
11 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 20 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
12 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 21 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
22 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > SPAN > DI V > BODY > HTML > #document to 3 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 4 of #text > SPAN > DIV > BODY > HTML > #document to 4 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE
13 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 23 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
24 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
14 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 25 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
26 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > SPAN > DI V > BODY > HTML > #document to 3 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > SPAN > DIV > BODY > HTML > #document to 5 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE
27 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
28 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
15 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > SPAN > DI V > BODY > HTML > #document to 5 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 6 of #text > SPAN > DIV > BODY > HTML > #document to 6 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE 29 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > SPAN > DI V > BODY > HTML > #document to 5 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 6 of #text > SPAN > DIV > BODY > HTML > #document to 6 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE
16 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 30 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
17 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 31 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
18 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 6 of #text > SPAN > DI V > BODY > HTML > #document to 6 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 7 of #text > SPAN > DIV > BODY > HTML > #document to 7 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE 32 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 6 of #text > SPAN > DI V > BODY > HTML > #document to 6 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 7 of #text > SPAN > DIV > BODY > HTML > #document to 7 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE
19 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 33 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
20 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 34 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
21 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 7 of #text > SPAN > DI V > BODY > HTML > #document to 7 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 8 of #text > SPAN > DIV > BODY > HTML > #document to 8 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE 35 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 7 of #text > SPAN > DI V > BODY > HTML > #document to 7 of #text > SPAN > DIV > BODY > HTML > #document toDOMRange:range from 8 of #text > SPAN > DIV > BODY > HTML > #document to 8 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE
22 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 36 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
23 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 37 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
24 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 38 PASS span.style.backgroundColor is green
25 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 39 This tests whether background style applied on a selection is retained when the selection is deleted/cut and is replaced with new text.
26 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 10 of #text > SPAN > D IV > BODY > HTML > #document to 10 of #text > SPAN > DIV > BODY > HTML > #docume nt toDOMRange:range from 11 of #text > SPAN > DIV > BODY > HTML > #document to 1 1 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDo wnstream stillSelecting:FALSE 40 The background color of the text below should be green.
27 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n 41
28 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification 42 New Text
29 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 11 of #text > SPAN > D IV > BODY > HTML > #document to 11 of #text > SPAN > DIV > BODY > HTML > #docume nt toDOMRange:range from 12 of #text > SPAN > DIV > BODY > HTML > #document to 1 2 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDo wnstream stillSelecting:FALSE 43
30 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
31 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
32 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 12 of #text > SPAN > D IV > BODY > HTML > #document to 12 of #text > SPAN > DIV > BODY > HTML > #docume nt toDOMRange:range from 13 of #text > SPAN > DIV > BODY > HTML > #document to 1 3 of #text > SPAN > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDo wnstream stillSelecting:FALSE
33 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
34 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
35 layer at (0,0) size 800x600
36 RenderView at (0,0) size 800x600
37 layer at (0,0) size 800x600
38 RenderBlock {HTML} at (0,0) size 800x600
39 RenderBody {BODY} at (8,8) size 784x584
40 RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)]
41 RenderInline {SPAN} at (0,0) size 176x28
42 RenderText {#text} at (14,14) size 176x28
43 text run at (14,14) width 176: "xxxXXxxxXXxxx"
44 caret: position 13 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698