Re: [whatwg] Input URL State and Files object

2010-08-03 Thread James May
Why wouldn'tinput type=file  be usable for this? You should be able to drag any file to that, just like you can type in a URL in Windows in an open file dialog box. input type=file would be usable. Were this implemented: When a user through selection, click+drag or manual entry of a URL

Re: [whatwg] Race condition in media load algorithm

2010-08-03 Thread Philip Jägenstedt
On Tue, 03 Aug 2010 00:40:26 +0200, Chris Pearce ch...@pearce.org.nz wrote: On 2/08/2010 9:17 p.m., Ian Hickson wrote: On Mon, 2 Aug 2010, Chris Pearce wrote: There's a race condition in the media load algorithm. When the resource selection algorithm begins, it sets a task to complete the

Re: [whatwg] Please consider simplifying authoring guidance for the img alt attribute

2010-08-03 Thread Ashley Sheridan
On Tue, 2010-08-03 at 11:58 +0200, Markus Ernst wrote: Am 02.08.2010 20:54 schrieb Ashley Sheridan: On Mon, 2010-08-02 at 17:19 +0200, Markus Ernst wrote: - search engines should generally ignore text in the alt attribute, but evaluate the title attribute instead Rationale:

[whatwg] Proposal for an addition to the authoring guidance regarding the alt attribute

2010-08-03 Thread Markus Ernst
Section 4.8.1.1.9 describes how alternative text for content images should be written: http://www.w3.org/TR/html5/embedded-content-1.html#a-key-part-of-the-content Then, there is a general guideline about writing alternative texts in section 4.8.1.1.12: A corollary to this is that the alt

Re: [whatwg] Input URL State and Files object

2010-08-03 Thread timeless
On Tue, Aug 3, 2010 at 9:18 AM, James May wha...@fowlsmurf.net wrote: On Windows at least, when put a URL in the open dialog the shell downloads it then passes a temporary file. The browser never gets the source URL - so it'd be difficult without re-implementing the dialog (undesirable).  Plus

Re: [whatwg] [URL] Starting work on a URL spec

2010-08-03 Thread bjartur
On 7/25/10 8:57 AM, Adam Barth wrote: There's also the related question of what browsers should do with input typed into the URL field. Other than establishing that these rules may be different between the URL field and URLs present in content, I'm not sure this is amenable to spec.

Re: [whatwg] [URL] Starting work on a URL spec

2010-08-03 Thread Adam Barth
On Tue, Aug 3, 2010 at 8:21 AM, bjartur svartma...@gmail.com wrote: On 7/25/10 8:57 AM, Adam Barth wrote: There's also the related question of what browsers should do with input typed into the URL field. Other than establishing that these rules may be different between the URL field and

Re: [whatwg] Race condition in media load algorithm

2010-08-03 Thread Boris Zbarsky
On 8/3/10 4:27 AM, Philip Jägenstedt wrote: For the record, here's how I interpreted await a stable state: The only state that is not stable is a running script. I don't think that's true; for example you could be in an unstable state if you're in the middle of the parser inserting some

Re: [whatwg] Simple Links

2010-08-03 Thread Bjartur Thorlacius
On Tue, Jul 27, 2010 at 3:13 PM, Ian Hickson i...@hixie.ch wrote: I also randomly picked a Wikipedia page (Potato) and looked at some of th= e links there. The only link that matched that pattern on the whole page wa= s in the footer that only gets displayed in the print media: =C2=A0

Re: [whatwg] Proposal for Web Storage expiration

2010-08-03 Thread Nicholas Zakas
Is it easier in terms of implementation issues or general consensus? -Nicholas __ Commander Lock: Dammit Morpheus, not everyone believes what you believe! Morpheus: My beliefs do not require them to. -Original Message- From: Jonas Sicking

Re: [whatwg] Please consider dropping the sandbox attribute from the iframe element

2010-08-03 Thread Tantek Çelik
On Mon, Aug 2, 2010 at 6:41 AM, Maciej Stachowiak m...@apple.com wrote: On Aug 1, 2010, at 6:59 PM, Tantek Çelik wrote: Summary: The new 'sandbox' feature on iframe should be considered for removal. It needs a security review, it will be a lot of work to implement properly, and may not

Re: [whatwg] meta=encrypt tag is needed

2010-08-03 Thread Ian Hickson
On Thu, 6 May 2010, juuso_ht...@tele3d.net wrote: meta=encrypt pubkey=ABABAEFEF2626EFEFEF pubtool=EC256-AES|RSA2048-AES passsalt=no|domainname auth=verisign Please try to fully decrypt the above meta-encrypt tag and *see* how the browser-server communication could utilize it. (HINT:

[whatwg] Please consider making summary more generic/flexible (or renaming)

2010-08-03 Thread Tantek Çelik
Summary: the new summary element is very generic sounding but has a very special purpose (only allowed inside details). It would be helpful if we made it more generic, in particular allow use of summary inside article body (and perhaps section) to provide general summary text semantics (e.g. this

[whatwg] Various forms-related comments

2010-08-03 Thread Ian Hickson
On Thu, 6 May 2010, Schalk Neethling wrote: I absolutely love the fact that browsers will have certain validation baked in like email addresses etc. With that, is there currently a way to, or plans to add a way, where the way the browser displays these errors can be styled with CSS? To a

Re: [whatwg] syncronous device upload

2010-08-03 Thread Ian Hickson
On Sat, 8 May 2010, James Salsman wrote: I propose including the specification at http://www.w3.org/TR/device-upload in HTML5, provided that it is updated to include Speex, Ogg Vorbis, and Ogg Theora. What problem would this solve? As far as I can tell, nothing stops the user agent from

Re: [whatwg] Please consider making summary more generic/flexible (or renaming)

2010-08-03 Thread Andrew Hayward
Summary: the new summary element is very generic sounding but has a very special purpose (only allowed inside details). It would be helpful if we made it more generic, in particular allow use of summary inside article body (and perhaps section) to provide general summary text semantics (e.g.

Re: [whatwg] Security thoughts

2010-08-03 Thread Ian Hickson
On Sun, 9 May 2010, Perry Smith wrote: In HTML5 6.3.1 Relaxing The Same Origin Restriction [1] bullet 3, sub bullet 3 there is a clause that says that if the domain is reduced down to something that is on the Public Suffix List, the new value is rejected. That phrase caused me to pause.

Re: [whatwg] Avoiding new globals in HTML5 ECMAScript

2010-08-03 Thread Ian Hickson
On Mon, 10 May 2010, Brett Zamir wrote: Although it seems a lot of attention has been given to ensuring backward-compatibility in HTML5, and while a kind of namespacing has been considered in use of data- attributes (over expando properties), it appears to my limited observations that

Re: [whatwg] getElementById

2010-08-03 Thread Ian Hickson
On Mon, 10 May 2010, Perry Smith wrote: I see places that explicitly state that the same object is returned on some operations. For example, the element.style has that clause. I have not found in either html5 or the DOM documentation that is referenced an explicit statement to this

Re: [whatwg] [canvas] getContext multiple contexts

2010-08-03 Thread Chris Marrin
On Aug 2, 2010, at 3:16 PM, Ian Hickson wrote: On Thu, 29 Apr 2010, Vladimir Vukicevic wrote: A while ago questions came up in the WebGL WG about using a canvas with multiple rendering contexts, and synchronization issues that arise there. Here's our suggested change to getContext.

Re: [whatwg] suggestion for HTML5 spec

2010-08-03 Thread Chris Marrin
On Aug 2, 2010, at 7:20 PM, Dirk Pranke wrote: On Mon, Aug 2, 2010 at 7:09 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 2 Aug 2010, Dirk Pranke wrote: On Mon, Aug 2, 2010 at 6:56 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 2 Aug 2010, Dirk Pranke wrote: Why would a user ever want anyone

Re: [whatwg] [canvas] getContext multiple contexts

2010-08-03 Thread Chris Marrin
On Aug 3, 2010, at 3:15 PM, Chris Marrin wrote: On Aug 2, 2010, at 3:16 PM, Ian Hickson wrote: On Thu, 29 Apr 2010, Vladimir Vukicevic wrote: A while ago questions came up in the WebGL WG about using a canvas with multiple rendering contexts, and synchronization issues that arise

Re: [whatwg] [canvas] getContext multiple contexts

2010-08-03 Thread Ian Hickson
On Tue, 3 Aug 2010, Chris Marrin wrote: On Aug 2, 2010, at 3:16 PM, Ian Hickson wrote: On Thu, 29 Apr 2010, Vladimir Vukicevic wrote: A while ago questions came up in the WebGL WG about using a canvas with multiple rendering contexts, and synchronization issues that arise there.

Re: [whatwg] Paragraphs in blockquotes

2010-08-03 Thread Ian Hickson
On Tue, 11 May 2010, Richard Clark wrote: We recently received an email from one of our readers on html5doctor.com that went like this: Hi, in HTML 4.0 Strict XHTML 1.0 Strict, text inside a blockquote element is required to be nested inside another block-level element, e.g. p. In

Re: [whatwg] Race condition in media load algorithm

2010-08-03 Thread Chris Pearce
On 3/08/2010 9:20 a.m., Ian Hickson wrote: The synchronous section would run as soon as the task span the event loop. Spinning the event loop is defined essentially as being equivalent to breaking the original task in two, one that does everything up to spinning the event loop, and one that

Re: [whatwg] Race condition in media load algorithm

2010-08-03 Thread Ian Hickson
On Wed, 4 Aug 2010, Chris Pearce wrote: So the task spinning the event loop has run up to the point of spinning the event loop, then we run the synchronous section, and then the task which was spinning the event loop will resume after its goal is met at some later time? Sounds right.

Re: [whatwg] [html5] A ui Tag?

2010-08-03 Thread Ian Hickson
On Wed, 12 May 2010, Darcy Murphy wrote (on help@): Recently I came up with the idea of using a ui tag in order to semantically separate my app's content from it's UI chrome. I could use form but then even clicking a simple button submits the form's data when what I'm creating is more of a

Re: [whatwg] The form attribute (Association of controls and forms)

2010-08-03 Thread Ian Hickson
On Fri, 14 May 2010, Mounir Lamouri wrote: 4.10.18 Association of controls and forms explains the link between forms and form-associated elements (and the form attribute). However, I've the feeling the specifications go far over what should be done and force the implementor how to do it.

Re: [whatwg] HTML5 Offline web applications file upload

2010-08-03 Thread Ian Hickson
On Fri, 14 May 2010, Alexandre Thiel wrote: I was wondering if HTML5 Offline mode and file upload can work together ? I can't find any reference in the online draft which covers only server resource caching. Let's imagine you're writing some kind of data editor that works in offline mode,

Re: [whatwg] Element-related feedback; attribution element

2010-08-03 Thread Ian Hickson
On Fri, 14 May 2010, Jim Jewett wrote: Evil Lawyer: So, when did you stop beating your wife? Defendant: Never! Evil Lawyer and Defendant aren't pronounced. Their meanings (and silence) are deduced from English conventions about punctuation. I would prefer a semantic

Re: [whatwg] Java language bindings for HTML5

2010-08-03 Thread Ian Hickson
On Mon, 17 May 2010, Kühn Wolfgang wrote: I was wondering if there are any precompiled Java language bindings for HTML5? There's nothing official; hopefully the links provided by other people on this thread are helpful though. As it is, i can't figure package names, for example for the

Re: [whatwg] Race condition in media load algorithm

2010-08-03 Thread Chris Pearce
On 4/08/2010 11:32 a.m., Ian Hickson wrote: In the case of a tasks which invokes an algorithm which has a synchronous section, and then pauses the event loop (such calling window.alert()), we should not run the synchronous section until the event loop pause has completed? Currently, yeah. We

Re: [whatwg] Window events that bubble?

2010-08-03 Thread Ian Hickson
On Mon, 17 May 2010, David Flanagan wrote: Section 6.5.9 History Traversal defines popstate and hashchange events that are fired on the Window object. It specifies that these events *must* bubble. Where should they bubble to? What does it mean to bubble up from a Window? These events

Re: [whatwg] INCLUDE and links with @rel=embed

2010-08-03 Thread Ian Hickson
On Tue, 18 May 2010, bjartur wrote: First of all I think we should use a rel=embed href=uri-ref instead of source. What problem would this solve? Isn't interactive content not important enaugh? What about text? What if one want's to link to interactive maps? s...@src? a class=embed..

Re: [whatwg] Built-in image sprite support in HTML5

2010-08-03 Thread Ian Hickson
On Fri, 21 May 2010, David Weitzman wrote: There are various approaches to using image sprites with HTML and CSS, but at the end of the day they are all essentially hacks. A solution that would be simpler than any existing approach would be to introduce new attributes for img to specify x

[whatwg] HTML resource packages

2010-08-03 Thread Justin Lebar
We at Mozilla are hoping to ship HTML resource packages in Firefox 4, and we wanted to get the WhatWG's feedback on the feature. For the impatient, the spec is here: http://people.mozilla.org/~jlebar/respkg/ and the bug (complete with builds you can try and some preliminary performance

Re: [whatwg] CSS2 system colors in legacy color values

2010-08-03 Thread Ian Hickson
On Sat, 22 May 2010, L. David Baron wrote: The rules for parsing a legacy color value in http://www.whatwg.org/specs/web-apps/current-work/complete/common-microsyntaxes.html#rules-for-parsing-a-legacy-color-value specify that CSS2 system colors should be accepted, and that they should be

Re: [whatwg] HTML resource packages

2010-08-03 Thread Tab Atkins Jr.
On Tue, Aug 3, 2010 at 5:31 PM, Justin Lebar justin.le...@gmail.com wrote: We at Mozilla are hoping to ship HTML resource packages in Firefox 4, and we wanted to get the WhatWG's feedback on the feature. For the impatient, the spec is here:    http://people.mozilla.org/~jlebar/respkg/ and

Re: [whatwg] Questions about the progress element

2010-08-03 Thread Ian Hickson
On Mon, 24 May 2010, Mounir Lamouri wrote: I'm wondering why the value and max IDL attributes have to reflect the content attribute with zero as a default value instead of reflecting the internal values used to calculate the position. Wouldn't that be easier to know what is the internal

Re: [whatwg] CSS2 system colors in legacy color values

2010-08-03 Thread Darin Adler
On Aug 3, 2010, at 5:55 PM, Ian Hickson wrote: WebKit on Mac responds to changes to the color Highlight by changing the colour to the default blue the next time it resolves style (as far as I can tell). Not exactly a success story. (Highlight is the only colour over which the user seems to

Re: [whatwg] CSS2 system colors in legacy color values

2010-08-03 Thread Ian Hickson
On Tue, 3 Aug 2010, Darin Adler wrote: On Aug 3, 2010, at 5:55 PM, Ian Hickson wrote: WebKit on Mac responds to changes to the color Highlight by changing the colour to the default blue the next time it resolves style (as far as I can tell). Not exactly a success story. (Highlight is

Re: [whatwg] Built-in image sprite support in HTML5

2010-08-03 Thread Silvia Pfeiffer
On Wed, Aug 4, 2010 at 10:19 AM, Ian Hickson i...@hixie.ch wrote: On Fri, 21 May 2010, David Weitzman wrote: There are various approaches to using image sprites with HTML and CSS, but at the end of the day they are all essentially hacks. A solution that would be simpler than any existing

Re: [whatwg] HTML resource packages

2010-08-03 Thread Brett Zamir
This is and was a great idea. A few points/questions: 1) I think it would be nice to see explicit confirmation in the spec that this works with offline caching. 2) Could data files such as .txt, .json, or .xml files be used as part of such a package as well? 3) Can XMLHttpRequest be made

Re: [whatwg] suggestion for HTML5 spec

2010-08-03 Thread Dirk Pranke
On Tue, Aug 3, 2010 at 3:22 PM, Chris Marrin cmar...@apple.com wrote: On Aug 2, 2010, at 7:20 PM, Dirk Pranke wrote: On Mon, Aug 2, 2010 at 7:09 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 2 Aug 2010, Dirk Pranke wrote: On Mon, Aug 2, 2010 at 6:56 PM, Ian Hickson i...@hixie.ch wrote: On

Re: [whatwg] HTML resource packages

2010-08-03 Thread Maciej Stachowiak
On Aug 3, 2010, at 5:31 PM, Justin Lebar wrote: We at Mozilla are hoping to ship HTML resource packages in Firefox 4, and we wanted to get the WhatWG's feedback on the feature. For the impatient, the spec is here: http://people.mozilla.org/~jlebar/respkg/ and the bug (complete with