Closed asurdej-comcast closed 3 days ago
It is because in case WPE we don't have enabled DATE_AND_TIME_INPUT_TYPES. For enabling it, you need to implement
virtual RefPtr<WebDateTimePicker> createDateTimePicker(WebPageProxy&) = 0;
from the PageClient interface in: Source/WebKit/UIProcess/API/wpe/PageClientImpl.h/cpp
@pgorszkowski-igalia thanks for your input, I didn't notice DATE_AND_TIME_INPUT_TYPES and INPUT_TYPE_DATE. In such case we can just close this ticket. We don't actually need to support this right now
There are couple of HMTL5 tests available in https://html5test.com/ Among different failures there is an issue with handling element. Using types "date", "month", "time", etc always ends up in element.type == "text"
What TC does is:
Types that doesn't work are "date", "month", "week", "time", "datetime-local", "color", "datalist" (last two are disabled at compile time I think).
Other types work well like "number", "range", "tel"
The same seems to work fine with PC gtk browser: epiphany-browser 3.36.4 Powered by WebKitGTK 2.38.6