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

Side by Side Diff: LayoutTests/editing/style/toggle-style-bold-italic-mixed-editability-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 > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting: FALSE
5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
6 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > BODY > HTML > #document to 9 of #text > B > DIV > DIV > BODY > HTML > #document toDOM Range:range from 1 of #text > B > DIV > DIV > BODY > HTML > #document to 9 of #t ext > B > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE
7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
8 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
9 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of B > DIV > DIV > B ODY > HTML > #document to 9 of #text > I > B > DIV > DIV > BODY > HTML > #docume nt toDOMRange:range from 1 of #text > I > B > DIV > DIV > BODY > HTML > #documen t to 9 of #text > I > B > DIV > DIV > BODY > HTML > #document affinity:NSSelecti onAffinityDownstream stillSelecting:FALSE
10 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
11 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
12 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > BODY > HTML > #document to 9 of #text > I > DIV > DIV > BODY > HTML > #document toDOM Range:range from 1 of #text > I > DIV > DIV > BODY > HTML > #document to 9 of #t ext > I > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE
13 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
14 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
15 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV > BODY > HTML > #document toDOMRang e:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DI V > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSe lecting: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 > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting: FALSE
20 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
21 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > BODY > HTML > #document to 9 of #text > B > DIV > DIV > BODY > HTML > #document toDOM Range:range from 1 of #text > B > DIV > DIV > BODY > HTML > #document to 9 of #t ext > B > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE
22 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
23 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
24 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of B > DIV > DIV > B ODY > HTML > #document to 9 of #text > I > B > DIV > DIV > BODY > HTML > #docume nt toDOMRange:range from 1 of #text > I > B > DIV > DIV > BODY > HTML > #documen t to 9 of #text > I > B > DIV > DIV > BODY > HTML > #document affinity:NSSelecti onAffinityDownstream stillSelecting:FALSE
25 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
26 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
27 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > BODY > HTML > #document to 9 of #text > I > DIV > DIV > BODY > HTML > #document toDOM Range:range from 1 of #text > I > DIV > DIV > BODY > HTML > #document to 9 of #t ext > I > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE
28 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
29 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
30 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV > BODY > HTML > #document toDOMRang e:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DI V > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSe lecting: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 > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting: FALSE
35 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
36 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > BODY > HTML > #document to 9 of #text > B > DIV > DIV > BODY > HTML > #document toDOM Range:range from 1 of #text > B > DIV > DIV > BODY > HTML > #document to 9 of #t ext > B > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE
37 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
38 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
39 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of B > DIV > DIV > B ODY > HTML > #document to 9 of #text > I > B > DIV > DIV > BODY > HTML > #docume nt toDOMRange:range from 1 of #text > I > B > DIV > DIV > BODY > HTML > #documen t to 9 of #text > I > B > DIV > DIV > BODY > HTML > #document affinity:NSSelecti onAffinityDownstream stillSelecting:FALSE
40 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
41 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
42 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > BODY > HTML > #document to 9 of #text > I > DIV > DIV > BODY > HTML > #document toDOM Range:range from 1 of #text > I > DIV > DIV > BODY > HTML > #document to 9 of #t ext > I > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownst ream stillSelecting:FALSE
43 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
44 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
45 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 1 of DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV > BODY > HTML > #document toDOMRang e:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DI V > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSe lecting:FALSE
46 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio n
47 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
48 This tests bold/italic style toggling for a content with mixed editability
49
50 Editable Non-editable Editable
51
52 Test for mac
53 execBoldCommand: <div id="test"><b> Editable </b><span contenteditable="false">N on-editable</span><b> Editable </b></div>
54 execItalicCommand: <div id="test"><b><i> Editable </i></b><span contenteditable= "false">Non-editable</span><b><i> Editable </i></b></div>
55 execBoldCommand: <div id="test"><i> Editable </i><span contenteditable="false">N on-editable</span><i> Editable </i></div>
56 execItalicCommand: <div id="test"> Editable <span contenteditable="false">Non-ed itable</span> Editable </div>
57
58 Test for win
59 execBoldCommand: <div id="test"><b> Editable </b><span contenteditable="false">N on-editable</span><b> Editable </b></div>
60 execItalicCommand: <div id="test"><b><i> Editable </i></b><span contenteditable= "false">Non-editable</span><b><i> Editable </i></b></div>
61 execBoldCommand: <div id="test"><i> Editable </i><span contenteditable="false">N on-editable</span><i> Editable </i></div>
62 execItalicCommand: <div id="test"> Editable <span contenteditable="false">Non-ed itable</span> Editable </div>
63
64 Test for unix
65 execBoldCommand: <div id="test"><b> Editable </b><span contenteditable="false">N on-editable</span><b> Editable </b></div>
66 execItalicCommand: <div id="test"><b><i> Editable </i></b><span contenteditable= "false">Non-editable</span><b><i> Editable </i></b></div>
67 execBoldCommand: <div id="test"><i> Editable </i><span contenteditable="false">N on-editable</span><i> Editable </i></div>
68 execItalicCommand: <div id="test"> Editable <span contenteditable="false">Non-ed itable</span> Editable </div>
OLDNEW
« no previous file with comments | « LayoutTests/editing/style/toggle-style-bold-italic-mixed-editability.html ('k') | Source/core/editing/EditingStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698