Commit 5e10a81c authored by justing's avatar justing
Browse files

LayoutTests:

        Reviewed by john

        Removed an unnecessary block (one that was fully
        selected but whose markup wasn't needed to preserve
        appearance):
        * editing/pasteboard/paste-text-011-expected.txt:
        Removed unnecessary style spans:
        * editing/pasteboard/merge-end-blockquote-expected.txt:
        Removed unnecessary empty anonymous blocks:
        * editing/execCommand/create-list-with-hr-expected.txt:
        * editing/pasteboard/display-block-on-spans-expected.txt:
        * editing/pasteboard/paste-text-006-expected.txt:
        * editing/pasteboard/paste-table-001-expected.txt:
        * editing/pasteboard/paste-text-013-expected.txt:
        * editing/pasteboard/paste-text-002-expected.txt:
        * editing/pasteboard/paste-list-001-expected.txt:
        * editing/pasteboard/paste-text-005-expected.txt:
        * editing/pasteboard/paste-text-003-expected.txt:
        * editing/pasteboard/paste-text-014-expected.txt:
        * editing/pasteboard/paste-pre-001-expected.txt:
        Now (correctly) includes fully selected root:
        * editing/pasteboard/paste-text-015-expected.checksum:
        * editing/pasteboard/paste-text-015-expected.png:
        * editing/pasteboard/paste-text-015-expected.txt:
        * editing/inserting/insert-3907422-fix-expected.txt:
        * editing/pasteboard/paste-text-004-expected.txt:
        Demonstrates a bug that already existed (we don't inline 
        the font styles from the Preference Pane on copy):
        * editing/pasteboard/5027857-expected.checksum:
        * editing/pasteboard/5027857-expected.png:
        * editing/pasteboard/5027857-expected.txt:
        * editing/pasteboard/paste-pre-002-expected.checksum:
        * editing/pasteboard/paste-pre-002-expected.png:
        * editing/pasteboard/paste-pre-002-expected.txt:

WebCore:

        Reviewed by john
        
        ~2x speed up of 5k rich text paste:
        http://shakespeare.mit.edu/hamlet/full.html        

        * editing/ReplaceSelectionCommand.cpp:
        (WebCore::ReplaceSelectionCommand::doApply): Remove the top 
        level style span if its unnecessary before inserting
        into the document, its faster than doing it after.
        * editing/ReplaceSelectionCommand.h: Exposed 
        ReplacementFragment::removeNodePreservingChildren so that
        the style span can be removed using non-undoable removes,
        like the rest of the removes done on the ReplacementFragment.
        * editing/markup.cpp:
        (WebCore::createMarkup): Make the style span the top level
        element, otherwise it's useless.  This also facilitates the
        optimization mentioned above.
        When including markup for a fully selected root, include markup
        for all the nodes beneath that fully selected root, to preserve 
        the structure and appearance of the copied markup.  Did this
        by merging with the code for adding markup for descendants of
        special commonAncestorBlocks.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20215 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2f06e491
2007-03-14 Justin Garcia <justin.garcia@apple.com>
Reviewed by john
Removed an unnecessary block (one that was fully
selected but whose markup wasn't needed to preserve
appearance):
* editing/pasteboard/paste-text-011-expected.txt:
Removed unnecessary style spans:
* editing/pasteboard/merge-end-blockquote-expected.txt:
Removed unnecessary empty anonymous blocks:
* editing/execCommand/create-list-with-hr-expected.txt:
* editing/pasteboard/display-block-on-spans-expected.txt:
* editing/pasteboard/paste-text-006-expected.txt:
* editing/pasteboard/paste-table-001-expected.txt:
* editing/pasteboard/paste-text-013-expected.txt:
* editing/pasteboard/paste-text-002-expected.txt:
* editing/pasteboard/paste-list-001-expected.txt:
* editing/pasteboard/paste-text-005-expected.txt:
* editing/pasteboard/paste-text-003-expected.txt:
* editing/pasteboard/paste-text-014-expected.txt:
* editing/pasteboard/paste-pre-001-expected.txt:
Now (correctly) includes fully selected root:
* editing/pasteboard/paste-text-015-expected.checksum:
* editing/pasteboard/paste-text-015-expected.png:
* editing/pasteboard/paste-text-015-expected.txt:
* editing/inserting/insert-3907422-fix-expected.txt:
* editing/pasteboard/paste-text-004-expected.txt:
Demonstrates a bug that already existed (we don't inline
the font styles from the Preference Pane on copy):
* editing/pasteboard/5027857-expected.checksum:
* editing/pasteboard/5027857-expected.png:
* editing/pasteboard/5027857-expected.txt:
* editing/pasteboard/paste-pre-002-expected.checksum:
* editing/pasteboard/paste-pre-002-expected.png:
* editing/pasteboard/paste-pre-002-expected.txt:
2007-03-15 Beth Dakin <bdakin@apple.com>
 
Rubber-stamped by Adele.
......@@ -18,6 +18,5 @@ layer at (0,0) size 800x600
RenderBlock (anonymous) at (0,0) size 744x18
RenderListMarker at (-17,0) size 7x18: bullet
RenderBlock {HR} at (0,26) size 744x2 [border: (1px inset #000000)]
RenderBlock (anonymous) at (0,36) size 744x0
RenderBlock (anonymous) at (0,44) size 784x0
caret: position 0 of child 0 {HR} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
......@@ -9,11 +9,11 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of DIV > BODY > HTML > #document to 0 of DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 3 of #text > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 3 of #text > DIV > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 3 of #text > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 3 of #text > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 3 of #text > DIV > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > DIV > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 3 of #text > DIV > DIV > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
......@@ -22,25 +22,27 @@ layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderBlock {DIV} at (0,0) size 784x154
RenderBlock {DIV} at (0,0) size 784x86
RenderBlock (anonymous) at (0,0) size 784x18
RenderText {#text} at (0,0) size 21x18
text run at (0,0) width 21: "foo"
RenderBlock {BLOCKQUOTE} at (40,34) size 704x18
RenderText {#text} at (0,0) size 20x18
text run at (0,0) width 20: "bar"
RenderBlock (anonymous) at (0,68) size 784x18
RenderText {#text} at (0,0) size 22x18
text run at (0,0) width 22: "baz"
RenderText {#text} at (22,0) size 21x18
text run at (22,0) width 21: "foo"
RenderBlock (anonymous) at (0,86) size 784x0
RenderBlock {DIV} at (0,102) size 784x52
RenderBlock (anonymous) at (0,0) size 784x0
RenderBlock {BLOCKQUOTE} at (40,0) size 704x18
RenderText {#text} at (0,0) size 20x18
text run at (0,0) width 20: "bar"
RenderBlock (anonymous) at (0,34) size 784x18
RenderText {#text} at (0,0) size 22x18
text run at (0,0) width 22: "baz"
caret: position 3 of child 1 {#text} of child 1 {DIV} of child 1 {DIV} of child 1 {BODY} of child 0 {HTML} of document
RenderBlock {DIV} at (0,0) size 784x154
RenderBlock {DIV} at (0,0) size 784x86
RenderBlock (anonymous) at (0,0) size 784x18
RenderText {#text} at (0,0) size 21x18
text run at (0,0) width 21: "foo"
RenderBlock {BLOCKQUOTE} at (40,34) size 704x18
RenderText {#text} at (0,0) size 20x18
text run at (0,0) width 20: "bar"
RenderBlock (anonymous) at (0,68) size 784x18
RenderText {#text} at (0,0) size 22x18
text run at (0,0) width 22: "baz"
RenderText {#text} at (22,0) size 21x18
text run at (22,0) width 21: "foo"
RenderBlock {DIV} at (0,102) size 784x52
RenderBlock {DIV} at (0,0) size 784x52
RenderBlock (anonymous) at (0,0) size 784x0
RenderBlock {BLOCKQUOTE} at (40,0) size 704x18
RenderText {#text} at (0,0) size 20x18
text run at (0,0) width 20: "bar"
RenderBlock (anonymous) at (0,34) size 784x18
RenderText {#text} at (0,0) size 22x18
text run at (0,0) width 22: "baz"
RenderBlock (anonymous) at (0,154) size 784x0
caret: position 3 of child 1 {#text} of child 0 {DIV} of child 1 {DIV} of child 0 {DIV} of child 1 {DIV} of child 1 {BODY} of child 0 {HTML} of document
3c451b6cf5c9adde3cf099393c67fd01
\ No newline at end of file
baad50e1cd049b1bf74a6a248a63d1d7
\ No newline at end of file
......@@ -2,16 +2,20 @@ layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x579
RenderBody {BODY} at (8,8) size 784x576
RenderBlock {P} at (0,0) size 784x36
RenderText {#text} at (0,0) size 765x36
text run at (0,0) width 414: "This tests a bug when copying HTML markup inside <pre> tags. "
text run at (414,0) width 351: "When pasted, this content would appear as the rendered"
text run at (0,18) width 134: "form of that markup. "
text run at (134,18) width 333: "You should see markup in the editable region below."
RenderBlock {PRE} at (0,52) size 784x15
RenderBlock {PRE} at (0,0) size 784x15
RenderText {#text} at (0,0) size 328x15
text run at (0,0) width 328: "<input type='button'>foo<br>bar<b>baz</b>"
RenderBlock (anonymous) at (0,28) size 784x0
caret: position 41 of child 0 {#text} of child 0 {PRE} of child 2 {PRE} of child 0 {BODY} of child 0 {HTML} of document
RenderBlock {PRE} at (0,52) size 784x18
RenderBlock (anonymous) at (0,0) size 784x0
RenderInline {SPAN} at (0,0) size 0x0
RenderBlock (anonymous) at (0,0) size 784x18
RenderBlock {PRE} at (0,0) size 784x18
RenderText {#text} at (0,0) size 410x18
text run at (0,0) width 410: "<input type='button'>foo<br>bar<b>baz</b>"
RenderBlock (anonymous) at (0,34) size 784x0
RenderInline {SPAN} at (0,0) size 0x0
caret: position 41 of child 0 {#text} of child 0 {PRE} of child 0 {SPAN} of child 2 {PRE} of child 0 {BODY} of child 0 {HTML} of document
......@@ -31,7 +31,6 @@ layer at (0,0) size 800x600
RenderInline {B} at (0,0) size 137x18
RenderText {#text} at (0,0) size 137x18
text run at (0,0) width 137: "This is a paragraph."
RenderBlock (anonymous) at (0,18) size 784x0
RenderBlock {SPAN} at (0,18) size 784x18
RenderInline {SPAN} at (0,0) size 182x18
RenderText {#text} at (0,0) size 30x18
......
......@@ -9,7 +9,7 @@ EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 3 of #text > SPAN > DIV > BLOCKQUOTE > DIV > BODY > HTML > #document to 3 of #text > SPAN > DIV > BLOCKQUOTE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 3 of #text > DIV > BLOCKQUOTE > DIV > BODY > HTML > #document to 3 of #text > DIV > BLOCKQUOTE > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
......@@ -36,13 +36,11 @@ layer at (0,0) size 800x600
RenderBlock {DIV} at (0,0) size 704x18
RenderText {#text} at (0,0) size 81x18
text run at (0,0) width 81: "Blockquoted"
RenderInline {SPAN} at (0,0) size 21x18
RenderText {#text} at (81,0) size 21x18
text run at (81,0) width 21: "foo"
RenderText {#text} at (81,0) size 21x18
text run at (81,0) width 21: "foo"
RenderBlock {DIV} at (0,18) size 704x18
RenderInline {SPAN} at (0,0) size 20x18
RenderText {#text} at (0,0) size 20x18
text run at (0,0) width 20: "bar"
RenderText {#text} at (0,0) size 20x18
text run at (0,0) width 20: "bar"
RenderText {#text} at (20,0) size 33x18
text run at (20,0) width 33: " Text"
caret: position 3 of child 0 {#text} of child 0 {SPAN} of child 1 {DIV} of child 0 {BLOCKQUOTE} of child 10 {DIV} of child 1 {BODY} of child 0 {HTML} of document
caret: position 3 of child 0 {#text} of child 1 {DIV} of child 0 {BLOCKQUOTE} of child 10 {DIV} of child 1 {BODY} of child 0 {HTML} of document
......@@ -44,5 +44,4 @@ layer at (0,0) size 800x600
RenderListMarker at (-31,0) size 24x28: "3"
RenderText {#text} at (0,0) size 211x28
text run at (0,0) width 211: "I should be number 3."
RenderBlock (anonymous) at (40,84) size 676x0
caret: position 21 of child 0 {#text} of child 2 {LI} of child 1 {OL} of child 5 {LI} of child 4 {OL} of child 1 {DIV} of child 1 {BODY} of child 0 {HTML} of document
......@@ -9,7 +9,7 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of PRE > DIV > DIV > BODY > HTML > #document to 0 of PRE > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 7 of #text > PRE > PRE > DIV > DIV > BODY > HTML > #document to 7 of #text > PRE > PRE > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 7 of #text > PRE > SPAN > PRE > DIV > DIV > BODY > HTML > #document to 7 of #text > PRE > SPAN > PRE > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
......@@ -46,10 +46,14 @@ layer at (0,0) size 800x600
RenderBlock {DIV} at (0,340) size 784x108
RenderBlock {DIV} at (0,0) size 784x108 [border: (2px solid #FF0000)]
RenderBlock {PRE} at (2,26) size 780x56
RenderBlock {PRE} at (0,0) size 780x56
RenderText {#text} at (0,0) size 42x56
text run at (0,0) width 42: "foo"
text run at (42,0) width 0: " "
text run at (0,28) width 42: "bar"
RenderBlock (anonymous) at (0,0) size 780x0
RenderInline {SPAN} at (0,0) size 0x0
RenderBlock (anonymous) at (0,0) size 780x56
RenderBlock {PRE} at (0,0) size 780x56
RenderText {#text} at (0,0) size 42x56
text run at (0,0) width 42: "foo"
text run at (42,0) width 0: " "
text run at (0,28) width 42: "bar"
RenderBlock (anonymous) at (0,80) size 780x0
caret: position 7 of child 0 {#text} of child 0 {PRE} of child 1 {PRE} of child 1 {DIV} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
RenderInline {SPAN} at (0,0) size 0x0
caret: position 7 of child 0 {#text} of child 0 {PRE} of child 0 {SPAN} of child 1 {PRE} of child 1 {DIV} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
6e04deb668c068cc9420b62a8b475c42
\ No newline at end of file
e3c240413ddef4a32ea3b11cd1bcacc6
\ No newline at end of file
......@@ -4,14 +4,14 @@ EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of PRE > DIV > DIV >
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of #text > PRE > DIV > DIV > BODY > HTML > #document to 7 of #text > PRE > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 7 of #text > PRE > PRE > DIV > DIV > BODY > HTML > #document to 7 of #text > PRE > PRE > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 7 of #text > PRE > SPAN > PRE > DIV > DIV > BODY > HTML > #document to 7 of #text > PRE > SPAN > PRE > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x579
RenderBody {BODY} at (8,8) size 784x576
RenderBlock {DIV} at (0,0) size 784x36
RenderText {#text} at (0,0) size 147x18
text run at (0,0) width 147: "This is a layout test for "
......@@ -23,13 +23,17 @@ layer at (0,0) size 800x600
text run at (689,0) width 95: "The text below"
text run at (0,18) width 263: "is selected, copied, and pasted over itself. "
text run at (263,18) width 205: "You'll see foo/nbar if successful."
RenderBlock {DIV} at (0,49) size 784x30
RenderBlock {DIV} at (0,0) size 784x30
RenderBlock {PRE} at (0,0) size 784x30
RenderBlock {PRE} at (0,0) size 784x30
RenderText {#text} at (0,0) size 24x30
text run at (0,0) width 24: "foo"
text run at (24,0) width 0: " "
text run at (0,15) width 24: "bar"
RenderBlock (anonymous) at (0,43) size 784x0
caret: position 7 of child 0 {#text} of child 0 {PRE} of child 1 {PRE} of child 1 {DIV} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
RenderBlock {DIV} at (0,52) size 784x36
RenderBlock {DIV} at (0,0) size 784x36
RenderBlock {PRE} at (0,0) size 784x36
RenderBlock (anonymous) at (0,0) size 784x0
RenderInline {SPAN} at (0,0) size 0x0
RenderBlock (anonymous) at (0,0) size 784x36
RenderBlock {PRE} at (0,0) size 784x36
RenderText {#text} at (0,0) size 30x36
text run at (0,0) width 30: "foo"
text run at (30,0) width 0: " "
text run at (0,18) width 30: "bar"
RenderBlock (anonymous) at (0,52) size 784x0
RenderInline {SPAN} at (0,0) size 0x0
caret: position 7 of child 0 {#text} of child 0 {PRE} of child 0 {SPAN} of child 1 {PRE} of child 1 {DIV} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
......@@ -67,7 +67,6 @@ layer at (0,0) size 800x600
RenderTableCell {TD} at (85,26) size 201x22 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
RenderText {#text} at (2,2) size 197x18
text run at (2,2) width 197: "I should be in the right column."
RenderBlock (anonymous) at (0,54) size 756x0
RenderTable {TABLE} at (0,54) size 292x54 [border: (2px outset #808080)]
RenderTableSection {TBODY} at (2,2) size 288x50
RenderTableRow {TR} at (0,2) size 288x22
......
......@@ -68,13 +68,11 @@ layer at (0,0) size 800x600
text run at (14,14) width 63: "There "
RenderText {#text} at (77,14) size 285x28
text run at (77,14) width 285: "is a tide in the affairs of men,"
RenderBlock (anonymous) at (0,56) size 784x0
RenderBlock {DIV} at (0,56) size 784x56 [border: (2px solid #FF0000)]
RenderText {#text} at (14,14) size 124x28
text run at (14,14) width 124: "Which taken"
RenderText {#text} at (138,14) size 285x28
text run at (138,14) width 285: "is a tide in the affairs of men,"
RenderBlock (anonymous) at (0,112) size 784x0
RenderBlock {DIV} at (0,112) size 784x56 [border: (2px solid #FF0000)]
RenderText {#text} at (14,14) size 124x28
text run at (14,14) width 124: "Which taken"
......
......@@ -114,7 +114,6 @@ layer at (0,0) size 800x600
RenderBlock {DIV} at (14,42) size 756x56 [border: (2px solid #FF0000)]
RenderText {#text} at (14,14) size 434x28
text run at (14,14) width 434: "Which taken at the flood leads on to fortune."
RenderBlock (anonymous) at (14,98) size 756x0
RenderBlock {DIV} at (14,98) size 756x252 [border: (2px solid #FF0000)]
RenderBlock (anonymous) at (14,14) size 728x0
RenderBlock {DIV} at (14,14) size 728x56 [border: (2px solid #FF0000)]
......@@ -126,7 +125,6 @@ layer at (0,0) size 800x600
RenderBlock {DIV} at (14,70) size 728x56 [border: (2px solid #FF0000)]
RenderText {#text} at (14,14) size 434x28
text run at (14,14) width 434: "Which taken at the flood leads on to fortune."
RenderBlock (anonymous) at (14,126) size 728x0
RenderBlock {DIV} at (14,126) size 728x112 [border: (2px solid #FF0000)]
RenderBlock (anonymous) at (14,14) size 700x28
RenderText {#text} at (0,0) size 80x28
......
......@@ -53,7 +53,6 @@ layer at (0,0) size 800x600
text run at (14,14) width 63: "There "
RenderText {#text} at (77,14) size 285x28
text run at (77,14) width 285: "is a tide in the affairs of men,"
RenderBlock (anonymous) at (0,56) size 784x0
RenderBlock {DIV} at (0,56) size 784x56 [border: (2px solid #FF0000)]
RenderText {#text} at (14,14) size 434x28
text run at (14,14) width 434: "Which taken at the flood leads on to fortune."
......
......@@ -58,7 +58,6 @@ layer at (0,0) size 800x600
RenderBlock {DIV} at (0,56) size 784x56 [border: (2px solid #FF0000)]
RenderText {#text} at (14,14) size 285x28
text run at (14,14) width 285: "is a tide in the affairs of men,"
RenderBlock (anonymous) at (0,112) size 784x0
RenderBlock {DIV} at (0,112) size 784x56 [border: (2px solid #FF0000)]
RenderText {#text} at (14,14) size 434x28
text run at (14,14) width 434: "Which taken at the flood leads on to fortune."
......
......@@ -57,7 +57,6 @@ layer at (0,0) size 800x600
RenderBlock {DIV} at (0,56) size 784x56 [border: (2px solid #FF0000)]
RenderText {#text} at (14,14) size 348x28
text run at (14,14) width 348: "There is a tide in the affairs of men,"
RenderBlock (anonymous) at (0,112) size 784x0
RenderBlock {DIV} at (0,112) size 784x56 [border: (2px solid #FF0000)]
RenderText {#text} at (14,14) size 434x28
text run at (14,14) width 434: "Which taken at the flood leads on to fortune."
......
......@@ -8,7 +8,7 @@ EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of P > BODY > HTML > #document to 0 of P > BODY > HTML > #document givenAction:WebViewInsertActionPasted
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 5 of #text > B > FONT > P > DIV > B > FONT > P > BODY > HTML > #document to 5 of #text > B > FONT > P > DIV > B > FONT > P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 5 of #text > B > FONT > P > SPAN > B > FONT > P > BODY > HTML > #document to 5 of #text > B > FONT > P > SPAN > B > FONT > P > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
layer at (0,0) size 800x600
......@@ -30,20 +30,20 @@ layer at (0,0) size 800x600
RenderBlock (anonymous) at (0,0) size 784x0
RenderInline {FONT} at (0,0) size 0x0
RenderInline {B} at (0,0) size 0x0
RenderInline {SPAN} at (0,0) size 0x0
RenderBlock (anonymous) at (0,0) size 784x58
RenderBlock {DIV} at (0,0) size 784x58
RenderBlock {P} at (0,0) size 784x21
RenderInline {FONT} at (0,0) size 55x20
RenderInline {B} at (0,0) size 55x20
RenderText {#text} at (0,0) size 55x20
text run at (0,0) width 55: "hello"
RenderBlock {P} at (0,37) size 784x21
RenderInline {FONT} at (0,0) size 55x20
RenderInline {B} at (0,0) size 55x20
RenderText {#text} at (0,0) size 55x20
text run at (0,0) width 55: "there"
RenderBlock (anonymous) at (0,74) size 784x0
RenderBlock {P} at (0,0) size 784x21
RenderInline {FONT} at (0,0) size 55x20
RenderInline {B} at (0,0) size 55x20
RenderText {#text} at (0,0) size 55x20
text run at (0,0) width 55: "hello"
RenderBlock {P} at (0,37) size 784x21
RenderInline {FONT} at (0,0) size 55x20
RenderInline {B} at (0,0) size 55x20
RenderText {#text} at (0,0) size 55x20
text run at (0,0) width 55: "there"
RenderBlock (anonymous) at (0,74) size 784x0
RenderInline {FONT} at (0,0) size 0x0
RenderInline {B} at (0,0) size 0x0
caret: position 5 of child 0 {#text} of child 0 {B} of child 0 {FONT} of child 1 {P} of child 0 {DIV} of child 0 {B} of child 0 {FONT} of child 4 {P} of child 1 {BODY} of child 0 {HTML} of document
RenderInline {SPAN} at (0,0) size 0x0
caret: position 5 of child 0 {#text} of child 0 {B} of child 0 {FONT} of child 1 {P} of child 0 {SPAN} of child 0 {B} of child 0 {FONT} of child 4 {P} of child 1 {BODY} of child 0 {HTML} of document
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment