Changeset 104775 in webkit
- Timestamp:
- Jan 11, 2012 5:24:23 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r104771 r104775 1 2012-01-11 Adam Barth <abarth@webkit.org> 2 3 iframe sandbox doesn't block autofocus (IETC automatic-feature-block-autofocus-form-control) 4 https://bugs.webkit.org/show_bug.cgi?id=76120 5 6 Reviewed by Eric Seidel. 7 8 * fast/forms/no-autofocus-in-sandbox-expected.txt: Added. 9 * fast/forms/no-autofocus-in-sandbox.html: Added. 10 1 11 2012-01-11 Joshua Bell <jsbell@chromium.org> 2 12 -
trunk/Source/WebCore/ChangeLog
r104773 r104775 1 2012-01-11 Adam Barth <abarth@webkit.org> 2 3 iframe sandbox doesn't block autofocus (IETC automatic-feature-block-autofocus-form-control) 4 https://bugs.webkit.org/show_bug.cgi?id=76120 5 6 Reviewed by Eric Seidel. 7 8 Test: fast/forms/no-autofocus-in-sandbox.html 9 10 * html/HTMLFormControlElement.cpp: 11 (WebCore::shouldAutofocus): 12 - The HTML5 spec says that we shouldn't autofocus elements when the 13 automatic features are sandboxed. 14 1 15 2012-01-11 Beth Dakin <bdakin@apple.com> 2 16 -
trunk/Source/WebCore/html/HTMLFormControlElement.cpp
r104668 r104775 140 140 if (element->document()->ignoreAutofocus()) 141 141 return false; 142 if (element->document()->isSandboxed(SandboxAutomaticFeatures)) 143 return false; 142 144 if (element->hasAutofocused()) 143 145 return false;
Note: See TracChangeset
for help on using the changeset viewer.