-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=76120 Reviewed by Eric Seidel. Source/WebCore: Test: fast/forms/no-autofocus-in-sandbox.html * html/HTMLFormControlElement.cpp: (WebCore::shouldAutofocus): - The HTML5 spec says that we shouldn't autofocus elements when the automatic features are sandboxed. LayoutTests: * fast/forms/no-autofocus-in-sandbox-expected.txt: Added. * fast/forms/no-autofocus-in-sandbox.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4f6adb6d