DescriptionUse document's contentSize when the HTML element is selected.
HTMLHtmlElement's size might not be the size of the document, such as
HTMLBodyElement's size, so when the selection root in the html element,
the best thing we can do is get the size of the content because <html>
and <body> might have a different size.
BUG=361927
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171441
Patch Set 1 #Patch Set 2 : cleaned, with tests #Patch Set 3 : #
Total comments: 2
Patch Set 4 : #
Messages
Total messages: 6 (0 generated)
|