Re: [whatwg] input type=number for year input

2014-03-11 Thread TAMURA, Kent
. -- TAMURA, Kent Software Engineer, Google

Re: [whatwg] input type=number for year input

2014-02-19 Thread TAMURA, Kent
that I can still allow the implementation to accept input from the user that contains grouping separators, even if when the internal value is set/changed the visual result will be updated to a string that does not contain grouping separators. -- TAMURA, Kent Software Engineer, Google

Re: [whatwg] Forms-related feedback

2013-10-17 Thread TAMURA, Kent
I know I'm proposing a strange thing. Some use-cases are just workarounds and there are ideal solutions. On Tue, Sep 24, 2013 at 5:35 AM, Ian Hickson i...@hixie.ch wrote: On Wed, 21 Aug 2013, TAMURA, Kent wrote: On Sat, Jul 13, 2013 at 6:39 AM, Ian Hickson i...@hixie.ch wrote: On Wed, 9 Jan

Re: [whatwg] Forms-related feedback

2013-08-20 Thread TAMURA, Kent
On Sat, Jul 13, 2013 at 6:39 AM, Ian Hickson i...@hixie.ch wrote: On Wed, 9 Jan 2013, TAMURA, Kent wrote: On Wed, Nov 21, 2012 at 7:51 AM, Ian Hickson i...@hixie.ch wrote: On Fri, 7 Sep 2012, TAMURA, Kent wrote: * For date, datetime, datetime-local, month, time, week, the attribute

Re: [whatwg] Forms-related feedback

2013-01-15 Thread TAMURA, Kent
On Mon, Jan 14, 2013 at 2:19 AM, Ian Hickson i...@hixie.ch wrote: On Sun, 13 Jan 2013, TAMURA, Kent wrote: So, I think it's impossible for us to build reasonable UI for type=datetime. It should be removed from the specification. In the simplest case, the UI for type=datetime doesn't

Re: [whatwg] Forms-related feedback

2013-01-13 Thread TAMURA, Kent
, the absolute time in UTC could be different for the server and UA. Indeed. So, I think it's impossible for us to build reasonable UI for type=datetime. It should be removed from the specification. -- TAMURA Kent Software Engineer, Google

Re: [whatwg] 'datetime-local' and 'datetime' comments

2012-12-05 Thread TAMURA, Kent
handling for invalid/ambiguous time. If UI was independent from a local timezone, only User-D/E/F could use it. -- TAMURA Kent Software Engineer, Google

Re: [whatwg] 'datetime-local' and 'datetime' comments

2012-11-15 Thread TAMURA, Kent
I think I can do it for WebKit if WHATWG specification and W3C specification are changed so. On Thu, Nov 15, 2012 at 2:23 AM, Mounir Lamouri mou...@lamouri.fr wrote: On 13/11/12 09:42, TAMURA, Kent wrote: The current UI implementations of Opera, iOS, and Chrome-Android spoil the HTML standard

Re: [whatwg] 'datetime-local' and 'datetime' comments

2012-11-13 Thread TAMURA, Kent
. Thanks, -- Mounir -- TAMURA Kent Software Engineer, Google

Re: [whatwg] Incomplete user-input in some input types

2012-11-07 Thread TAMURA, Kent
have less impact to the standard. If no one has concern about this idea, I'd like to implement C in WebKit. On Thu, Sep 13, 2012 at 3:18 PM, TAMURA, Kent tk...@chromium.org wrote: Proposal: Making an input element invalid state if the input has an invalid string specified by a user with browser

[whatwg] Incomplete user-input in some input types

2012-09-13 Thread TAMURA, Kent
, I don't like submitting empty value silently. Users expect their input strings are submitted. I think the best UI is to notify users about a field has an invalid string, and give a chance to correct it. Applying the standard form validation mechanism must be reasonable. -- TAMURA Kent Software

Re: [whatwg] Exposing visible string of an input field

2012-09-11 Thread TAMURA, Kent
is editing the value and let value sanitization algorithm happen afterward. It doesn't work for type=email. Suppose an email field has root@グーグル.com as a display value. A screen reader reads it as r...@xn--qcka1pmc.com because HTMLInputElement::value returns a sanitized string. -- TAMURA Kent Software

[whatwg] Exposing visible string of an input field

2012-09-07 Thread TAMURA, Kent
, and other types - JavaScript-based screen readers can read user-visible content of input fields. Strings returned by rawValue attribute may be browser-dependent and locale-dependent. However it would be useful. -- TAMURA Kent Software Engineer, Google

Re: [whatwg] Localization on script level and non form field

2012-01-26 Thread TAMURA, Kent
Form control presentations and ECMA Globalization API should be synchronized. We might need HTMLInputElement::numberFormat to set/get a Globalization.NumberFormat object. http://wiki.ecmascript.org/doku.php?id=globalization:specification_drafts -- TAMURA Kent Software Engineer, Google

[whatwg] Placeholder visibility on focus

2011-07-19 Thread TAMURA, Kent
the field is focused. * autofocus + placeholder is useless in the current specification. -- TAMURA Kent Software Engineer, Google

Re: [whatwg] Constraint validation feedback (various threads)

2011-03-24 Thread TAMURA, Kent
, but there may be more cases where text gets shorter as you type. Ishii-san, It's not related to this thread. Anyway, do you have any concern about the behaviors of the current browsers? -- TAMURA Kent Software Engineer, Google

Re: [whatwg] Constraint validation feedback (various threads)

2011-03-23 Thread TAMURA, Kent
compatibility issues about maxlength. http://www.google.com/support/forum/p/Chrome/thread?tid=4f612fe2abafc365hl=en -- TAMURA Kent Software Engineer, Google

Re: [whatwg] input type=number without keyboard editing

2010-11-10 Thread TAMURA, Kent
for the current specification can't satisfy requirements of actual Web application UI and type=number won't be used widely. On Mon, Nov 1, 2010 at 11:31, TAMURA, Kent tk...@chromium.org wrote: A team in Google tried to use input type=number for a product, and they decided not to use it. What

Re: [whatwg] input type=number without keyboard editing

2010-11-02 Thread TAMURA, Kent
On Tue, Nov 2, 2010 at 05:50, Aryeh Gregor simetrical+...@gmail.comsimetrical%2b...@gmail.com wrote: On Sun, Oct 31, 2010 at 10:31 PM, TAMURA, Kent tk...@chromium.org wrote: The number type control in Opera and WebKit allow a user to input out-of-range value even if the control has min

[whatwg] input type=number without keyboard editing

2010-10-31 Thread TAMURA, Kent
by default, and sanitization algorithm may be different. I'm not sure how to solve this issue. Introducing new content attribute or another number type? -- TAMURA Kent Software Engineer, Google

Re: [whatwg] Form validation against invisible controls

2010-08-04 Thread TAMURA, Kent
compatibility issues and we can't force authors to update their web pages. I'm wondering UA should show a dialog with The web page has invisible invalid form fields. Do you want to submit the form? [Yes] [No]. -- TAMURA Kent Software Engineer, Google

Re: [whatwg] Input color state: type mismatch

2010-07-28 Thread TAMURA, Kent
Please see http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-July/027243.html In short words, I disagree with the current spec. On Wed, Jul 28, 2010 at 08:45, Ian Hickson i...@hixie.ch wrote: On Mon, 5 Apr 2010, TAMURA, Kent wrote: On Sat, Apr 3, 2010 at 06:37, Ian Hickson i

[whatwg] typeMismatch for type=number (Re: Input color state: type mismatch)

2010-07-22 Thread TAMURA, Kent
On Sat, Apr 3, 2010 at 06:37, Ian Hickson i...@hixie.ch wrote: On Sat, 3 Apr 2010, TAMURA, Kent wrote: I found type=number also had no typeMismatch. If a user wants to type a negative value, he types '-' first. This state should make typeMismatch true because '-' is not a valid floating

Re: [whatwg] Form validation against invisible controls

2010-06-13 Thread TAMURA, Kent
for existing sites as possible. e.g. disabling interactive form validation for documents without !DOCTYPE html. On Fri, Jun 4, 2010 at 00:16, TAMURA, Kent tk...@chromium.org wrote: An element is a candidate for constraint validation if 1. it is a validatable type, e.g. true if input type

[whatwg] Form validation against invisible controls

2010-06-03 Thread TAMURA, Kent
attribute) I couldn't find exceptional rules for validating invisible controls in the current draft. Chrome 5 was released with a part of interactive validation, and we received a bug report about validation against invisible form controls. -- TAMURA Kent Software Engineer, Google

Re: [whatwg] Form validation against invisible controls

2010-06-03 Thread TAMURA, Kent
/issues/detail?id=45640 2010/6/4 TAMURA, Kent tk...@chromium.org An element is a candidate for constraint validation if 1. it is a validatable type, e.g. true if input type=number, false if input type=reset 2. has no disabled attribute, 3. has no readonly attribute, 4. inside of a form

Re: [whatwg] Type Date

2010-05-06 Thread TAMURA, Kent
On Fri, May 7, 2010 at 06:41, Garrett Smith dhtmlkitc...@gmail.com wrote: Opera has native support that mostly works but failed with dates prior to 1582, last I checked. This seems reasonable. Gregorian calendar started in 1582. -- TAMURA Kent Software Engineer, Google

Re: [whatwg] Input color state: type mismatch

2010-04-04 Thread TAMURA, Kent
On Sat, Apr 3, 2010 at 06:37, Ian Hickson i...@hixie.ch wrote: On Sat, 3 Apr 2010, TAMURA, Kent wrote: I found type=number also had no typeMismatch. If a user wants to type a negative value, he types '-' first.  This state should make typeMismatch true because '-' is not a valid floating

Re: [whatwg] Input color state: type mismatch

2010-04-02 Thread TAMURA, Kent
I found type=number also had no typeMismatch. If a user wants to type a negative value, he types '-' first. This state should make typeMismatch true because '-' is not a valid floating point number. -- TAMURA Kent Software Engineer, Google

Re: [whatwg] Input color state: type mismatch

2010-03-29 Thread TAMURA, Kent
, typeMismatch won't be true. -- TAMURA Kent Software Engineer, Google

Re: [whatwg] :valid / :invalid only works in forms

2010-02-13 Thread TAMURA, Kent
has barred the element from constraint validation. -- TAMURA Kent Software Engineer, Google

[whatwg] Step base for input type=week

2010-02-10 Thread TAMURA, Kent
. -- TAMURA Kent Software Engineer, Google

[whatwg] valueAsNumber: float is not enough

2010-01-26 Thread TAMURA, Kent
1,264,492,163,000. The float type can't represent this value precisely. If we do the following with float valueAsNumber, the input value loses the data. input.type = datetime; input.value = 2010-01-26T08:00Z; var num = input.valueAsNumber; input.valueAsNumber = num; -- TAMURA Kent Software

[whatwg] HTMLInputElement::valueAsNumber and NaN Infinity

2010-01-25 Thread TAMURA, Kent
'input.valueAsNumber = Number.NaN' also makes the value empty. -- TAMURA Kent Software Engineer, Google

Re: [whatwg] HTMLInputElement::valueAsNumber and NaN Infinity

2010-01-25 Thread TAMURA, Kent
On Mon, Jan 25, 2010 at 19:10, Philip Taylor excors+wha...@gmail.comexcors%2bwha...@gmail.com wrote: On Mon, Jan 25, 2010 at 9:55 AM, TAMURA, Kent tk...@chromium.org wrote: It seems the current spec doesn't define behavior in a case of setting NaN or Infinitiy to HTMLInputElement

Re: [whatwg] Removing multiple attribute from input type=file multiple with selected files

2009-12-14 Thread TAMURA, Kent
probably rare enough that it's not worth putting effort into. Yeah, a warning seems reasonable. The current implementation of WebKit does nothing, and I might add the warning if the spec say nothing about this. Thank you. -- TAMURA Kent Software Engineer, Google

[whatwg] Removing multiple attribute from input type=file multiple with selected files

2009-12-13 Thread TAMURA, Kent
remains -- TAMURA Kent Software Engineer, Google

[whatwg] stepMismatch with value min or value max

2009-11-15 Thread TAMURA, Kent
is suffering from a step mismatch. and doesn't mention the relationship with rangeUnderflow and rangeOverflow. So I think stepMismatch should work even if value is less than min or greater than max. I'd like to clarify it. -- TAMURA Kent Software Engineer, Google

[whatwg] type=email validation is too loose for practical applications

2009-08-24 Thread TAMURA, Kent
unusable email address like tk...@ -- TAMURA Kent Software Engineer, Google

Re: [whatwg] Comments on the definition of a valid e-mail address

2009-08-24 Thread TAMURA, Kent
was introduced for Japanese cell phone addresses. - domain-part should be [a-zA-Z0-9]+(\.[a-zA-Z0-9]+)+ It requires at least 1 dot. The last non-dot sequence should have at least 2 characters. I have never heard requests to support for non-ASCII characters other than IDN. -- TAMURA Kent

Re: [whatwg] Comments on the definition of a valid e-mail address

2009-08-24 Thread TAMURA, Kent
- domain-part should be [a-zA-Z0-9]+(\.[a-zA-Z0-9]+)+ Correction. - is allowed for domain-part. -- TAMURA Kent Software Engineer, Google

[whatwg] HTMLOptionElement::value compatibility

2009-08-02 Thread TAMURA, Kent
. -- TAMURA Kent Software Engineer, Google