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

Side by Side Diff: LayoutTests/editing/style/toggle-style-bold-italic-expected.txt

Issue 19888007: Bold and Italic style get stuck when applied on a selection having content with mixed editability (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Bold and Italic style get stuck when applied on a selection having content with mixed editability 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 unified diff | Download patch
OLDNEW
(Empty)
1 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document toDOM Range:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 14 of #text > P > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDow nstream stillSelecting:FALSE
5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
6 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > DIV > BODY > HTML > #document to 14 of #text > B > P > DIV > DIV > BODY > HTML > #doc ument toDOMRange:range from 0 of #text > B > DIV > DIV > DIV > BODY > HTML > #do cument to 14 of #text > B > P > DIV > DIV > BODY > HTML > #document affinity:NSS electionAffinityDownstream stillSelecting:FALSE
7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
8 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
9 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of B > DIV > DIV > D IV > BODY > HTML > #document to 14 of #text > I > B > P > DIV > DIV > BODY > HTM L > #document toDOMRange:range from 0 of #text > I > B > DIV > DIV > DIV > BODY > HTML > #document to 14 of #text > I > B > P > DIV > DIV > BODY > HTML > #docum ent affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
10 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
11 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
12 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > DIV > BODY > HTML > #document to 14 of #text > I > P > DIV > DIV > BODY > HTML > #doc ument toDOMRange:range from 0 of #text > I > DIV > DIV > DIV > BODY > HTML > #do cument to 14 of #text > I > P > DIV > DIV > BODY > HTML > #document affinity:NSS electionAffinityDownstream stillSelecting:FALSE
13 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
14 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
15 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > DIV > BODY > HTML > #document to 14 of #text > P > DIV > DIV > BODY > HTML > #documen t toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document t o 14 of #text > P > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffi nityDownstream stillSelecting:FALSE
16 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
17 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
18 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
19 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document toDOM Range:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 14 of #text > P > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDow nstream stillSelecting:FALSE
20 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
21 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > DIV > BODY > HTML > #document to 14 of #text > B > P > DIV > DIV > BODY > HTML > #doc ument toDOMRange:range from 0 of #text > B > DIV > DIV > DIV > BODY > HTML > #do cument to 14 of #text > B > P > DIV > DIV > BODY > HTML > #document affinity:NSS electionAffinityDownstream stillSelecting:FALSE
22 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
23 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
24 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of B > DIV > DIV > D IV > BODY > HTML > #document to 14 of #text > I > B > P > DIV > DIV > BODY > HTM L > #document toDOMRange:range from 0 of #text > I > B > DIV > DIV > DIV > BODY > HTML > #document to 14 of #text > I > B > P > DIV > DIV > BODY > HTML > #docum ent affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
25 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
26 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
27 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > DIV > BODY > HTML > #document to 14 of #text > I > P > DIV > DIV > BODY > HTML > #doc ument toDOMRange:range from 0 of #text > I > DIV > DIV > DIV > BODY > HTML > #do cument to 14 of #text > I > P > DIV > DIV > BODY > HTML > #document affinity:NSS electionAffinityDownstream stillSelecting:FALSE
28 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
29 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
30 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > DIV > BODY > HTML > #document to 14 of #text > P > DIV > DIV > BODY > HTML > #documen t toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document t o 14 of #text > P > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffi nityDownstream stillSelecting:FALSE
31 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
32 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
33 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
34 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document toDOM Range:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document to 14 of #text > P > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDow nstream stillSelecting:FALSE
35 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
36 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > DIV > BODY > HTML > #document to 14 of #text > B > P > DIV > DIV > BODY > HTML > #doc ument toDOMRange:range from 0 of #text > B > DIV > DIV > DIV > BODY > HTML > #do cument to 14 of #text > B > P > DIV > DIV > BODY > HTML > #document affinity:NSS electionAffinityDownstream stillSelecting:FALSE
37 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
38 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
39 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of B > DIV > DIV > D IV > BODY > HTML > #document to 14 of #text > I > B > P > DIV > DIV > BODY > HTM L > #document toDOMRange:range from 0 of #text > I > B > DIV > DIV > DIV > BODY > HTML > #document to 14 of #text > I > B > P > DIV > DIV > BODY > HTML > #docum ent affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
40 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
41 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
42 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > DIV > BODY > HTML > #document to 14 of #text > I > P > DIV > DIV > BODY > HTML > #doc ument toDOMRange:range from 0 of #text > I > DIV > DIV > DIV > BODY > HTML > #do cument to 14 of #text > I > P > DIV > DIV > BODY > HTML > #document affinity:NSS electionAffinityDownstream stillSelecting:FALSE
43 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
44 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
45 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > DIV > BODY > HTML > #document to 14 of #text > P > DIV > DIV > BODY > HTML > #documen t toDOMRange:range from 0 of #text > DIV > DIV > DIV > BODY > HTML > #document t o 14 of #text > P > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffi nityDownstream stillSelecting:FALSE
46 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
47 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
48 Tests bold/italic style toggling on a content that has text node without rendere r (Ex: Tab/Space used for indentation)
49
50 Some text
51 Some more text
52
53
54 Test for mac
55 execBoldCommand: <div id="test"> <div><b>Some text</b></div> <p><b>Some more tex t</b></p> </div>
56 execItalicCommand: <div id="test"> <div><b><i>Some text</i></b></div> <p><b><i>S ome more text</i></b></p> </div>
57 execBoldCommand: <div id="test"> <div><i>Some text</i></div> <p><i>Some more tex t</i></p> </div>
58 execItalicCommand: <div id="test"> <div>Some text</div> <p>Some more text</p> </ div>
59
60 Test for win
61 execBoldCommand: <div id="test"> <div><b>Some text</b></div> <p><b>Some more tex t</b></p> </div>
62 execItalicCommand: <div id="test"> <div><b><i>Some text</i></b></div> <p><b><i>S ome more text</i></b></p> </div>
63 execBoldCommand: <div id="test"> <div><i>Some text</i></div> <p><i>Some more tex t</i></p> </div>
64 execItalicCommand: <div id="test"> <div>Some text</div> <p>Some more text</p> </ div>
65
66 Test for unix
67 execBoldCommand: <div id="test"> <div><b>Some text</b></div> <p><b>Some more tex t</b></p> </div>
68 execItalicCommand: <div id="test"> <div><b><i>Some text</i></b></div> <p><b><i>S ome more text</i></b></p> </div>
69 execBoldCommand: <div id="test"> <div><i>Some text</i></div> <p><i>Some more tex t</i></p> </div>
70 execItalicCommand: <div id="test"> <div>Some text</div> <p>Some more text</p> </ div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698