W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > July 2007

Re: inputmode help

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Thu, 26 Jul 2007 18:11:59 +0200
To: Laura Holmes <holmes@google.com>
Cc: public-mobileok-checker <public-mobileok-checker@w3.org>
Message-Id: <1185466319.7611.37.camel@altostratustier>

Le jeudi 26 juillet 2007 à 12:03 -0400, Laura Holmes a écrit :
> I'm trying to create some unit tests for that include the inputmode
> value, and I can't seem to get it to compile correctly. Is it because
> inputmode is only part of XHTML Basic 1.1? My example source code is
> below, and if you could help me figure out what I'm doing wrong I'd
> really appreciate it. If it's properly formatted, meaning this is the
> form in which  the inputmode attribute should appear, I can check the
> xslt test file and create more unit tests for it, but I can't test
> until I know I'm using this attribute correctly. Thanks! 

I don't know what errors you're hitting, but if they are validation
errors, there are 2 problems in the markup:
* lang="en" is not valid XHTML Basic (you can only use xml:lang)
* the content of the <form> must be enclosed in a <div> or a <p>

HTH,

Dom
Received on Thursday, 26 July 2007 16:12:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:13:03 GMT