Changeset 64110 in webkit
- Timestamp:
- Jul 27, 2010 12:31:39 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 deleted
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r64103 r64110 1 2010-07-27 Kent Tamura <tkent@chromium.org> 2 3 Reviewed by Ojan Vafai. 4 5 Add a runtime setting for interactive form validation. 6 https://bugs.webkit.org/show_bug.cgi?id=40520 7 8 Remove the mode-specific tests and skip tests which don't work 9 without the interactive validation feature. 10 11 * fast/forms/interactive-validation-compat-mode-expected.txt: Removed. 12 * fast/forms/interactive-validation-compat-mode.html: Removed. 13 * fast/forms/interactive-validation-html4-expected.txt: Removed. 14 * fast/forms/interactive-validation-html4.html: Removed. 15 * platform/chromium/test_expectations.txt: 16 * platform/gtk/Skipped: 17 * platform/mac/Skipped: 18 * platform/qt/Skipped: 19 * platform/win/Skipped: 20 1 21 2010-07-26 Cosmin Truta <ctruta@chromium.org> 2 22 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r64103 r64110 718 718 BUGWK38570 : fast/forms/input-appearance-spinbutton-disabled-readonly.html = FAIL 719 719 BUGWK38570 : fast/forms/input-number-events.html = FAIL 720 721 // The feature was disabled due to a compatibility issue. 722 BUGWK40520 DEFER : fast/forms/interactive-validation-lost-focusable.html = TEXT 723 BUGWK40520 DEFER : fast/forms/interactive-validation-prevented.html = TEXT 720 724 721 725 // Add support for inspector layout tests. -
trunk/LayoutTests/platform/gtk/Skipped
r64082 r64110 5858 5858 fast/events/content-changed-during-drop.html 5859 5859 5860 # The feature was disabled due to a compatibility issue. 5861 # https://bugs.webkit.org/show_bug.cgi?id=40520 5862 fast/forms/interactive-validation-lost-focusable.html 5863 fast/forms/interactive-validation-prevented.html 5864 5860 5865 # Tests that seem to be Mac only, assume that smart drag-and-drop 5861 5866 # is enabled or assume platform-dependent sizing. -
trunk/LayoutTests/platform/mac/Skipped
r63752 r64110 274 274 fast/forms/input-file-directory-upload.html 275 275 276 # The feature was disabled due to a compatibility issue. 277 # https://bugs.webkit.org/show_bug.cgi?id=40520 278 fast/forms/interactive-validation-lost-focusable.html 279 fast/forms/interactive-validation-prevented.html 280 276 281 # Web Timing is not enabled. 277 282 # https://bugs.webkit.org/show_bug.cgi?id=42434 -
trunk/LayoutTests/platform/qt/Skipped
r64038 r64110 5454 5454 html5lib/runner.html 5455 5455 5456 # The feature was disabled due to a compatibility issue. 5457 # https://bugs.webkit.org/show_bug.cgi?id=40520 5458 fast/forms/interactive-validation-lost-focusable.html 5459 fast/forms/interactive-validation-prevented.html 5460 5456 5461 # [Qt] REGRESSION(63862): animations/play-state.html fails intermittently 5457 5462 # https://bugs.webkit.org/show_bug.cgi?id=42821 -
trunk/LayoutTests/platform/win/Skipped
r63950 r64110 945 945 printing/setPrinting.html 946 946 947 # The feature was disabled due to a compatibility issue. 948 # https://bugs.webkit.org/show_bug.cgi?id=40520 949 fast/forms/interactive-validation-lost-focusable.html 950 fast/forms/interactive-validation-prevented.html 951 947 952 # Web Timing is not enabled. 948 953 # https://bugs.webkit.org/show_bug.cgi?id=42435 -
trunk/WebCore/ChangeLog
r64105 r64110 1 2010-07-27 Kent Tamura <tkent@chromium.org> 2 3 Reviewed by Ojan Vafai. 4 5 Add a runtime setting for interactive form validation. 6 https://bugs.webkit.org/show_bug.cgi?id=40520 7 8 The interactive validation feature was disabled for non-strict 9 modes by r61059 to avoid a compatibility issue. This removes the 10 mode checking and introduce a runtime setting to enable/disable 11 the feature instead. 12 The default value is 'disable' and we'll remove the setting when 13 the compatibility issue is resolved and interactive validation 14 implementation is completed. 15 16 * html/HTMLFormElement.cpp: 17 (WebCore::HTMLFormElement::validateInteractively): 18 * page/Settings.cpp: 19 (WebCore::Settings::Settings): 20 * page/Settings.h: 21 (WebCore::Settings::setInteractiveFormValidationEnabled): 22 (WebCore::Settings::interactiveFormValidationEnabled): 23 1 24 2010-07-26 Gavin Barraclough <barraclough@apple.com> 2 25 -
trunk/WebCore/html/HTMLFormElement.cpp
r63999 r64110 46 46 #include "HTMLNames.h" 47 47 #include "MIMETypeRegistry.h" 48 #include "Page.h" 48 49 #include "RenderTextControl.h" 49 50 #include "ScriptEventListener.h" 51 #include "Settings.h" 50 52 #include "ValidityState.h" 51 53 #include <limits> … … 197 199 { 198 200 ASSERT(event); 199 if (!document()-> inStrictMode() || noValidate())201 if (!document()->page() || !document()->page()->settings()->interactiveFormValidationEnabled() || noValidate()) 200 202 return true; 201 203 -
trunk/WebCore/page/Settings.cpp
r63537 r64110 138 138 , m_dnsPrefetchingEnabled(true) 139 139 , m_memoryInfoEnabled(false) 140 , m_interactiveFormValidation(false) 140 141 { 141 142 // A Frame may not have been created yet, so we initialize the AtomicString -
trunk/WebCore/page/Settings.h
r63537 r64110 313 313 void setMemoryInfoEnabled(bool flag) { m_memoryInfoEnabled = flag; } 314 314 bool memoryInfoEnabled() const { return m_memoryInfoEnabled; } 315 316 // This setting will be removed when an HTML5 compatibility issue is 317 // resolved and WebKit implementation of interactive validation is 318 // completed. See http://webkit.org/b/40520, http://webkit.org/b/40747, 319 // and http://webkit.org/b/40908 320 void setInteractiveFormValidationEnabled(bool flag) { m_interactiveFormValidation = flag; } 321 bool interactiveFormValidationEnabled() const { return m_interactiveFormValidation; } 315 322 316 323 private: … … 398 405 bool m_dnsPrefetchingEnabled : 1; 399 406 bool m_memoryInfoEnabled: 1; 407 bool m_interactiveFormValidation: 1; 400 408 401 409 #if USE(SAFARI_THEME)
Note: See TracChangeset
for help on using the changeset viewer.