Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Component-Other

New issue 1900 by [email protected]: html5 pattern attribute not working when served from HtmlService
http://code.google.com/p/google-caja/issues/detail?id=1900

I am serving from GAS using HtmlService and viewing it in Chrome.

What steps will reproduce the problem?

function doGet() {
return HtmlService.createHtmlOutput('<form><input type="text" pattern="[0-9]{6}" /><input type="submit" value="try it" /></form>');
}

What is the expected output? What do you see instead?

I expected to see a validation challenge when the text box does not contain six digits. When the html is pasted into JSFiddle it works as expected. When the same html is served from HtmlService (as above) nothing happens.

Please provide any additional information below.

I think it is something to do with Caja.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to