Re: [whatwg] Font metrics

2010-04-02 Thread Ian Hickson
On Fri, 2 Apr 2010, Greg Brown wrote: > > In reviewing the current draft API for the element > (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html), > > I noticed that there is no support for obtaining font metrics such as > ascent, descent, leading, and bound

Re: [whatwg] Input color state: type mismatch

2010-04-02 Thread Ian Hickson
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 point number. The user agent shouldn't update the value until

Re: [whatwg] idea for .zhtml format #html5 #web

2010-04-02 Thread Eduard Pascual
On Fri, Apr 2, 2010 at 9:41 PM, Thomas Broyer wrote: > On Fri, Apr 2, 2010 at 8:39 PM, Eduard Pascual wrote: >> >> On Fri, Apr 2, 2010 at 6:25 PM, Doug Schepers wrote: >> > I don't think it's defined anywhere, but a browser could choose to save >> > bundled resources as a self-contained Widget (

Re: [whatwg] idea for .zhtml format #html5 #web

2010-04-02 Thread Thomas Broyer
On Fri, Apr 2, 2010 at 8:39 PM, Eduard Pascual wrote: > > On Fri, Apr 2, 2010 at 6:25 PM, Doug Schepers wrote: > > I don't think it's defined anywhere, but a browser could choose to save > > bundled resources as a self-contained Widget ("File > Save as Widget..."), > > which would be a great auth

Re: [whatwg] idea for .zhtml format #html5 #web

2010-04-02 Thread Eduard Pascual
On Fri, Apr 2, 2010 at 6:25 PM, Doug Schepers wrote: > I don't think it's defined anywhere, but a browser could choose to save > bundled resources as a self-contained Widget ("File > Save as Widget..."), > which would be a great authoring solution for Widgets. Isn't that the same thing, in essenc

Re: [whatwg] Why are form fields without a name barred from constraint validation?

2010-04-02 Thread Jonas Sicking
On Fri, Apr 2, 2010 at 12:53 PM, Anne van Kesteren wrote: > On Fri, 02 Apr 2010 04:00:04 -0700, Bruce Lawson wrote: >> >> On Fri, 02 Apr 2010 09:28:50 -, Futomi Hatano wrote: >>> >>> Because such controls are ignored when the form is submitted. >>> http://dev.w3.org/html5/spec/forms.html#for

Re: [whatwg] WebSocket bufferedAmount includes overhead or not

2010-04-02 Thread Jonas Sicking
On Thu, Apr 1, 2010 at 8:15 PM, Boris Zbarsky wrote: > On 3/31/10 6:57 PM, Jonas Sicking wrote: >> >> I would expect that send() is allowed to start streaming data over the >> network as soon as it can, but only update bufferedAmount from the >> event loop. > > Maybe I'm not being clear.  Let's sa

[whatwg] Font metrics

2010-04-02 Thread Greg Brown
Hi all, In reviewing the current draft API for the element (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html), I noticed that there is no support for obtaining font metrics such as ascent, descent, leading, and bounding box. It seems like the most recent disc

Re: [whatwg] idea for .zhtml format #html5 #web

2010-04-02 Thread Doug Schepers
Hi, folks- Philip Jägenstedt wrote (on 4/2/10 4:36 AM): On Fri, 02 Apr 2010 15:07:25 +0800, narendra sisodiya wrote: just a thought ___ You can view the first webpage create on earth. We have saved our file from .txt .rtf .doc and now .odt. I love ODF format (.odt and other things) but

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] idea for .zhtml format #html5 #web

2010-04-02 Thread Ashley Sheridan
On Fri, 2010-04-02 at 12:37 +0530, narendra sisodiya wrote: > just a thought ___ > > You can view the first webpage create on earth. We have saved our file > from .txt .rtf .doc and now .odt. I love ODF format (.odt and other > things) but there is a scope for .zhtml format for document and

Re: [whatwg] [html5] r4949 - [giow] (0) The CSS rules need to do attribute value matching consistently across [...]

2010-04-02 Thread Anne van Kesteren
On Thu, 01 Apr 2010 23:36:16 -0700, L. David Baron wrote: Making attribute values case-insensitive in XHTML seems incompatible with longstanding Gecko behavior (though our handling of input's type attribute is buggy, at least) and with the clear intent of XHTML1, and doesn't seem implementable

Re: [whatwg] Why are form fields without a name barred from constraint validation?

2010-04-02 Thread Anne van Kesteren
On Fri, 02 Apr 2010 04:00:04 -0700, Bruce Lawson wrote: On Fri, 02 Apr 2010 09:28:50 -, Futomi Hatano wrote: Because such controls are ignored when the form is submitted. http://dev.w3.org/html5/spec/forms.html#form-submission-algorithm Nameless controls are meaningless in form submission.

Re: [whatwg] Why are form fields without a name barred from constraint validation?

2010-04-02 Thread Bruce Lawson
On Fri, 02 Apr 2010 09:28:50 -, Futomi Hatano wrote: Because such controls are ignored when the form is submitted. http://dev.w3.org/html5/spec/forms.html#form-submission-algorithm Nameless controls are meaningless in form submission. So, those controls do not need to be validated, I think

Re: [whatwg] Why are form fields without a name barred from constraint validation?

2010-04-02 Thread Futomi Hatano
Hi Bruce, On Fri, 02 Apr 2010 09:57:04 - "Bruce Lawson" wrote: > "Constraint validation: If an element does not have a name attribute > specified, or its name attribute's value is the empty string, then it is > barred from constraint validation." > > http://dev.w3.org/html5/spec/forms.h

[whatwg] Why are form fields without a name barred from constraint validation?

2010-04-02 Thread Bruce Lawson
"Constraint validation: If an element does not have a name attribute specified, or its name attribute's value is the empty string, then it is barred from constraint validation." http://dev.w3.org/html5/spec/forms.html#naming-form-controls As a matter of interest, why? -- Hang loose and sta

Re: [whatwg] idea for .zhtml format #html5 #web

2010-04-02 Thread Philip Jägenstedt
On Fri, 02 Apr 2010 15:07:25 +0800, narendra sisodiya wrote: just a thought ___ You can view the first webpage create on earth. We have saved our file from .txt .rtf .doc and now .odt. I love ODF format (.odt and other things) but there is a scope for .zhtml format for document and

Re: [whatwg] idea for .zhtml format #html5 #web

2010-04-02 Thread narendra sisodiya
On Fri, Apr 2, 2010 at 12:47 PM, Shwetank Dixit wrote: > Hi Narendra, > > I think what you're proposing could be achieved already (at least somewhat) > by the html5 offline applications part > http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html#offline > > Thanks for hinting

Re: [whatwg] idea for .zhtml format #html5 #web

2010-04-02 Thread Shwetank Dixit
Hi Narendra, I think what you're proposing could be achieved already (at least somewhat) by the html5 offline applications part http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html#offline On Fri, 02 Apr 2010 12:37:25 +0530, narendra sisodiya wrote: just a th

[whatwg] idea for .zhtml format #html5 #web

2010-04-02 Thread narendra sisodiya
just a thought ___ You can view the first webpage create on earth. We have saved our file from .txt .rtf .doc and now .odt. I love ODF format (.odt and other things) but there is a scope for .zhtml format for document and other purpose. Basically the idea of zhtml format is to create document