Web Forms test: custom type values

Reading out element.type works only in Mozilla.

Reading out element.getAttribute('type') works only in Mozilla, Explorer Windows and Safari.

Test script to see if we can read out a custom type attribute of form fields.

Click a form field to detect its type.

(type="time")
(type="number" precision="2dp")

WFtype

Since custom values for the type attribute don't work cross-browser, I suggest implementing the custom attribute WFtype, which can be read by all browsers.

(WFtype="time")
(WFtype="number" precision="2dp")