Chromium Code Reviews
DescriptionMake Editor::tidyUpHTMLStructure() handles BODY element correctly
This patch makes |Editor::tidyUpHTMLStructure()| to handle BODY element
correctly when it is document element.
Before this patch, |Editor::tidyUpHTMLStructure()| attempt to move existing
BODY element itself, this patch checks this case and not to move it into
itself.
This patch also exports HEAD element to use in unit test and adds
"HTMLHeadElement.h" into GYPI file for sane.
BUG=595606
TEST=run_webkit_unittests --gtest_filter=EditorTest.tidyUpHTMLStructure*
Committed: https://crrev.com/f0371cdb39e34540ebb9ea0daaa962976b551b56
Cr-Commit-Position: refs/heads/master@{#382811}
Patch Set 1 #
Messages
Total messages: 13 (6 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||