JDK-8089124 : HTML5: Number input allows non-numeric input
Type:Bug
Component:javafx
Sub-Component:web
Affected Version:8,9
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2013-12-17
Updated:2020-02-10
Resolved:2017-09-11
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
There's the same issue happened on Win8.1-x64 with jdk8u151b07-64bit.
There's the same issue happened on Win7-x64 with jdk8u151b08-64bit.
There's the same issue happened on ubuntu16.04-x64 with jdk8u151b09-64bit.
There's the same issue happened on Mac10.11-x64 with jdk8u151b12-64bit
There's the same issue happened on Mac10.11-x64 with jdk8u152b12-64bit.
11-09-2017
+1
08-09-2017
+1
08-09-2017
+1
08-09-2017
Enabling the flag only for Java Port with this webrev
http://cr.openjdk.java.net/~ghb/rkamath/8089124/webrev.01/
[~arajkumar]
I tried setting in RuntimeEnabledFeature but this is not reflecting in Page->Settings which the form element queries for.
Thus, i am using SettingsMacros like how the other flags have been set.
08-09-2017
Try with RuntimeEnabledFeature::setInteractiveFormValidationEnabled instead of changing Settings.in, probably calling it from WebPage.cpp,Java_com_sun_webkit_WebPage_twkInit should work.
07-09-2017
[~ghb]
1.DRT test suite reported two related failures:
fast/forms/form-associated-element-removal.html
fast/html/numbered-header-element.html
However, when i ran these two separately by passing argument to run.sh , they passed.
2.Would make changes for enabling the flag only for Java port .
07-09-2017
There's the same issue happened on ubuntu16.04-x64 with jdk8u152b14-64bit.
07-09-2017
Make sure to not to modify Settings.in @119 as this is not only for JavaFX port.
What was the DRT test rate with and with your fix ?
07-09-2017
HTML5 form validation enabled with this webrev.
http://cr.openjdk.java.net/~ghb/rkamath/8089124/webrev.00/
A separate enhancement request for implementing FX based dialogs using WebKit ValidationMessageClient interface has been created in JDK-8187075
Translation request for the error string added is being tracked at JDK-8187300. This would be closed once the message drop for FX project happens from translation team.
07-09-2017
There's the same issue happened on oel7.1-uek-x64 with jdk9.0.3 b7-64bit.
There's the same issue happened on win7-x64 with jdk9.0.3 b8-64bit.
05-09-2017
There's the same issue happened on ubuntu16.04-x64 with jdk7u161b11-64bit.
05-09-2017
There's the same issue happened on Mac10.11-x64 with jdk9.0.3b4-64bit.
There's the same issue happened on Win7-x86 with jdk9.0.3 b6-32bit.
22-08-2017
There's the same issue happened on Win7-x64 with jdk8u141b07-64bit .
04-05-2017
There's the same issue happened on Win7-x64 with jdk8u131b06-64bit .
10-02-2017
There's the same issue happened on Mac10.11-x64 with jdk8u121b07-64bit
04-11-2016
There's the same issue happened on Win7-x64 with jdk8u122b07-64bit .
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs" any any
04-11-2016
There's the same issue happened on Mac10.12-beta-x64 with jdk8u112b15-64bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs" any any
26-09-2016
There's the same issue happened on Win7-x64-jdk8u112b15-64bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs" any any
26-09-2016
There's the same issue happened on Ubuntu16.04-x64 with jdk9b137-64bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs" any any
23-09-2016
There's the same issue happened on win7-x64 with jdk8u112b09-64bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs" any any
23-08-2016
There's the same issue happened on Mac10.12-Beta-x64 with jdk8u102b14-64bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs" any any
16-08-2016
There's the same issue happened on Ubuntu16.04-x64 with jdk8u112b07-64bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs" any any
05-08-2016
There's the same issue happened on win7-x86 with jdk8u112b07-64bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs" any any
05-08-2016
There's the same issue happened on mac10.11-x64 with jdk8u111b07-64bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs" any any
04-08-2016
There's the same issue happened on Ubuntu16.04-x86 with jdk8u112b06-32bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs.java" any any
01-08-2016
There's the same issue happened on win10-x64 with jdk9b127-64bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs.java" any any
25-07-2016
There's the same issue happened on mac10.10-x64 with jdk9b126-64bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs.java" any any
12-07-2016
There's the same issue happened on win10-x64 with jdk9b126-64bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs.java" any any
11-07-2016
There's the same issue happened on Ubuntu16.04-x64 with jdk9b125-64bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs.java" any any
01-07-2016
There's the same issue happened on Win7-x64 with jdk8u112b01-64bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs.java" any any
17-06-2016
There's the same issue happened on Win7-x64 with jdk8u92b33-64bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs.java" any any
17-06-2016
There's the same issue happened on Ubuntu16.04-x64 with jdk8u112b01-64bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs.java" any any
16-06-2016
There's the same issue happened on Mac10.11-x64 with jdk8u112b01-64bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs.java" any any
15-06-2016
There's the same issue happened on win7-x64 with jdk8u102b08-64bit
18-05-2016
There's the same issue happened on Ubuntu14.04-x64-jdk8u102b06-64bit
Affected tests:
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs.java" any any
10-05-2016
There's the same issue happened on win7-x86 with jdk8u102b06-32bit
06-05-2016
There's the same issue happened on Mac10.11-x64-jdk8u101b06-64bit
Affected tests:
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs.java" any any
04-05-2016
There's the same issue happened on Ubuntu14.04-x86 with jdk8u102b05-32bit .
Affected tests:
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs.java" any any
03-05-2016
There's the same issue happened on Ubuntu14.04-x64 with jdk9b113-64bit .
Affected tests:
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs.java" any any
14-04-2016
There's the same issue happened on Mac10.10-x64 with jdk9b113-64bit .
12-04-2016
There's the same issue happened on win7-x86 with jdk8u73b31-32bit
23-03-2016
There's the same issue happened on ubuntu16.04-x64 with jdk8u73b02-64bit.
23-03-2016
There's the same issue happened on Mac10.11-x64 with jdk8u73b31-64bit.
23-03-2016
There's the same issue happened on win7-x64 with jdk8u76b08-64bit
17-02-2016
There's the same issue happened on win7-x86 with jdk8u76b06-32bit
05-02-2016
There's the same issue happened on Mac10.11-x64 with jdk8u75b06-64bit.
03-02-2016
There's the same issue happened on ubuntu14.04-x86 with JDk8u76b05-32bit
RULE "com/sun/fx/webnode/tests/html5/input/OverallInputs.java" any any
28-01-2016
In that case it either seems like a P4 bug or maybe even an enhancement request. Lowering to P4 and moving to 9.
18-12-2013
Raising priority to Major; this should not be a pressing issue as not all major browsers currently support this type of input.