diff options
author | yosin <yosin@chromium.org> | 2016-03-23 02:13:46 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-23 09:15:35 +0000 |
commit | f0371cdb39e34540ebb9ea0daaa962976b551b56 (patch) | |
tree | 74e3ed72bd9767fbd192c25a0de7771631b70461 /chrome/browser/ui/browser_mac.cc | |
parent | a82bdf8c0f978ea78873ccebf45ea64c3e0a7d94 (diff) | |
download | chromium_src-f0371cdb39e34540ebb9ea0daaa962976b551b56.zip chromium_src-f0371cdb39e34540ebb9ea0daaa962976b551b56.tar.gz chromium_src-f0371cdb39e34540ebb9ea0daaa962976b551b56.tar.bz2 |
Make 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*
Review URL: https://codereview.chromium.org/1828623002
Cr-Commit-Position: refs/heads/master@{#382811}
Diffstat (limited to 'chrome/browser/ui/browser_mac.cc')
0 files changed, 0 insertions, 0 deletions