[Webkit-unassigned] [Bug 23477] Support for WCSS extensions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 6 08:22:58 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=23477


sreedhar.vaddi at nokia.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #27398|test case                   |test case for wap-inputp-
        description|                            |format
  Attachment #27398|0                           |1
        is obsolete|                            |




------- Comment #16 from sreedhar.vaddi at nokia.com  2009-02-06 08:22 PDT -------
(From update of attachment 27398)
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>inputformat.xhtml</title>

<style type="text/css">

/*
Define classes of wildcard formats.
However, class names must start with chars, not digits.
*/

.star_upA {-wap-input-format: "*A";} /* upp ltr, sym, punc, NO num */
.star_lowa {-wap-input-format: "*a";} /* low ltr, sym, punc, NO num */
.star_upN {-wap-input-format: "*N";} /* num */
.star_lown {-wap-input-format: "*n";} /* num, sym, punc */
.star_upX {-wap-input-format: "*X";} /* up ltr, num, sym, punc */
.star_lowx {-wap-input-format: "*x";} /* low ltr, num, sym, punc */
.star_upM {-wap-input-format: "*M";} /* any, up default */
.star_lowm {-wap-input-format: "*m";} /* any, low default */

/* Constrained, extra backslash to escape literal backslash */
.one {-wap-input-format: "3N";}
.two {-wap-input-format: "3a";}
.three {-wap-input-format: "NNN\\-NNNN";}
.four {-wap-input-format: "NN\\/2N";}
.five {-wap-input-format: "A\\-NN\\-*N";}
.six {-wap-input-format: "Aaa\\ Aaa";}
.seven {-wap-input-format: "NNAANN2a";}

</style>

</head>

<body>

<form method="get" action="formsubget.asp">

  <p>
  Basic formats:<br />
  <br />
  *A: up ltr, sym, punc<br />
  <input class="star_upA" type="text" name="star_upa"/><br />
  <br />
  *a: low ltr, sym, punc<br />

  <input class="star_lowa" type="text" name="star_lowa"/><br />
  <br />
  *N: num<br />
  <input class="star_upN" type="text" name="star_upn"/><br />
  <br />
  *n: num, sym, punc<br />
  <input class="star_lown" type="text" name="star_lown"/><br />
  <br />

  *X: up ltr, num, sym, punc<br />
  <input class="star_upX" type="text" name="star_upx"/><br />
  <br />
  *x: low ltr, num, sym, punc<br />
  <input class="star_lowx" type="text" name="star_lowx"/><br />
  <br />
  *M: anything, up ltr default<br />

  <input class="star_upM" type="text" name="star_upm"/><br />
  <br />
  *m: anything, low ltr default<br />
  <input class="star_lowm" type="text" name="star_lowm"/><br />
  <br />
  Constrained formats:<br />
  <br />
  3N: 3 num<br />

  <textarea class="one" rows="1" cols="10" name="text1"></textarea><br />
  <br />
  3a: 3 low ltr<br />
  <textarea class="two" rows="1" cols="10" name="text2"></textarea><br />
  <br />
  NNN-NNNN: 123-4567<br />
  <textarea class="three" rows="1" cols="10" name="text3"></textarea><br />
  <br />

  NN/2N: 12/25<br />
  <textarea class="four" rows="1" cols="10" name="text4"></textarea><br />
  <br />
  A-NN-*N: R-12-89...<br />
  <textarea class="five" rows="1" cols="10" name="text5"></textarea><br />
  <br />
  Aaa Aaa: Mad Pad<br />

  <textarea class="six" rows="1" cols="10" name="text6"></textarea><br />
  <br />
  NNAANN2a: 23AD23ad<br />
  <textarea class="seven" rows="1" cols="10" name="text7"></textarea><br />
  <br />
  Competing formats:<br />
  <br />
  3N: 3 num<br />

  <input class="one" format="3A" name="compete"/><br />
  <br />
  <input type="submit" />
  </p>

</form>
<p>
Enter Name : (in alphabits)
<input type="text" style="-wap-input-format: '*a'" />
<br />
Enter DateOfBirth : 
<input type="text" style="-wap-input-format: 'NN\\-NN\\-NNNN'" /> (enter in
DD-MM-YYYY format)

<br />
Enter Phoneno : 
<input type="text" style="-wap-input-format: '9N'" /> (enter only 9 Digites
only)
<br />
<br />
Comment please: 
<textarea style="-wap-input-format: '*x'" rows="3" cols="20"></textarea>
</p>
</body>
</html>


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list