[Chromium] Force to make validation bubble DIV position:absolute
authortkent@chromium.org <tkent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Mar 2011 03:48:22 +0000 (03:48 +0000)
committertkent@chromium.org <tkent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Mar 2011 03:48:22 +0000 (03:48 +0000)
commit9a74a07b57892762dbe386a4dcd12ff0b8d38d33
tree59235974d45c55cf5eb5248addbead9e34cc00db
parent6a7876bc5a5749a10265d52c183b3e7ed046e910
[Chromium] Force to make validation bubble DIV position:absolute
https://bugs.webkit.org/show_bug.cgi?id=56901

Reviewed by Dimitri Glazkov.

Source/WebCore:

Test: fast/forms/interactive-validation-crash-by-style-override.html

* html/ValidationMessage.cpp:
(WebCore::ValidationMessage::buildBubbleTree): Add position:absolute
  because we need to move the validation message to a good position.
* rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::addChild):

LayoutTests:

* fast/forms/interactive-validation-crash-by-style-override-expected.txt: Added.
* fast/forms/interactive-validation-crash-by-style-override.html: Added.
* platform/gtk/Skipped: Skip the new test because the interactive
  validation feature is not enabled.
* platform/mac/Skipped: ditto.
* platform/qt/Skipped: ditto.
* platform/win/Skipped: ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81851 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/forms/interactive-validation-crash-by-style-override-expected.txt [new file with mode: 0644]
LayoutTests/fast/forms/interactive-validation-crash-by-style-override.html [new file with mode: 0644]
LayoutTests/platform/gtk/Skipped
LayoutTests/platform/mac/Skipped
LayoutTests/platform/qt/Skipped
LayoutTests/platform/win/Skipped
Source/WebCore/ChangeLog
Source/WebCore/html/ValidationMessage.cpp
Source/WebCore/rendering/RenderMenuList.cpp