Re: [whatwg] DOMContentLoaded, load and current document readiness

2012-08-30 Thread Jonas Sicking
On Wed, Aug 29, 2012 at 8:34 PM, Ian Hickson i...@hixie.ch wrote: On Sun, 17 Jun 2012, Jonas Sicking wrote: On Wed, 25 Apr 2012, Jonas Sicking wrote: Hmm.. how long as that been the case? I thought that when we originally implemented @defer we ran them before DOMContentLoaded was fired

Re: [whatwg] Readiness of script-created documents

2012-08-30 Thread Simon Pieters
On Thu, 30 Aug 2012 00:16:56 +0200, Boris Zbarsky bzbar...@mit.edu wrote: On 8/29/12 6:11 PM, Ian Hickson wrote: Documents that are aborted do not need to work, they were aborted precisely because they don't need to work and are no longer needed. Or because once again some ad was taking

Re: [whatwg] Should editable elements have placeholder attribute?

2012-08-30 Thread Jussi Kalliokoski
It's pretty simple to make a naive placeholder for contenteditable elements with CSS: [contenteditable]:not(:focus):empty::after { content: attr(data-placeholder); color: #ccc; } I call it a bit naive because it turns out that if you have insert a line break in the box, there

Re: [whatwg] Should editable elements have placeholder attribute?

2012-08-30 Thread Jussi Kalliokoski
On Thu, Aug 30, 2012 at 11:43 AM, Jussi Kalliokoski jussi.kallioko...@gmail.com wrote: It's pretty simple to make a naive placeholder for contenteditable elements with CSS: [contenteditable]:not(:focus):empty::after { content: attr(data-placeholder); color: #ccc; } I

Re: [whatwg] DOMContentLoaded, load and current document readiness

2012-08-30 Thread Ian Hickson
On Thu, 30 Aug 2012, Jonas Sicking wrote: On Wed, Aug 29, 2012 at 8:34 PM, Ian Hickson i...@hixie.ch wrote: On Sun, 17 Jun 2012, Jonas Sicking wrote: On Wed, 25 Apr 2012, Jonas Sicking wrote: Hmm.. how long as that been the case? I thought that when we originally implemented @defer

Re: [whatwg] DOMContentLoaded, load and current document readiness

2012-08-30 Thread Jonas Sicking
On Thu, Aug 30, 2012 at 11:30 AM, Ian Hickson i...@hixie.ch wrote: On Thu, 30 Aug 2012, Jonas Sicking wrote: On Wed, Aug 29, 2012 at 8:34 PM, Ian Hickson i...@hixie.ch wrote: On Sun, 17 Jun 2012, Jonas Sicking wrote: On Wed, 25 Apr 2012, Jonas Sicking wrote: Hmm.. how long as that

Re: [whatwg] DOMContentLoaded, load and current document readiness

2012-08-30 Thread Ian Hickson
On Thu, 30 Aug 2012, Jonas Sicking wrote: That's what the spec says, no? I thought so, but the comments in this thread made me think otherwise. If that's the case then I'm happy. I strongly recommend only believing what the spec says, not what is said in threads. :-) -- Ian Hickson

Re: [whatwg] input type=barcode?

2012-08-30 Thread Mounir Lamouri
On 08/27/2012 07:01 PM, Andy Davies wrote: On 27 August 2012 20:25, Tab Atkins Jr. jackalm...@gmail.com wrote: On Mon, Aug 27, 2012 at 10:56 AM, Ian Hickson i...@hixie.ch wrote: True, so this is perhaps closer to an IME hint, as has been suggested for a couple of other input types. Do you

Re: [whatwg] input type=barcode?

2012-08-30 Thread Tab Atkins Jr.
On Thu, Aug 30, 2012 at 8:07 AM, Mounir Lamouri mou...@lamouri.fr wrote: On 08/27/2012 07:01 PM, Andy Davies wrote: On 27 August 2012 20:25, Tab Atkins Jr. jackalm...@gmail.com wrote: On Mon, Aug 27, 2012 at 10:56 AM, Ian Hickson i...@hixie.ch wrote: True, so this is perhaps closer to an IME

Re: [whatwg] Proposal for public data in drag events

2012-08-30 Thread Ian Hickson
On Thu, 21 Jun 2012, Trevor Burnham wrote: I've been using HTML drag-and-drop (http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html) in a project, but I've run into one limitation that seems severe to me: There is no direct way to determine what the source node is from a

Re: [whatwg] Proposal for HTML5: Motion sensing input device (Kinect, SoftKinetic, Asus Xtion)

2012-08-30 Thread Ian Hickson
On Mon, 25 Jun 2012, Jes�s Ruiz Garc�a wrote: My proposal for HTML5 is to make it functional with Kinect, SoftKinetic, Asus Xtion, and similar devices to interact with the web. On Mon, 25 Jun 2012, Tab Atkins Jr. wrote: The ability to capture sound and video from the user's devices and

Re: [whatwg] Proposal for HTML5: Virtual Tours

2012-08-30 Thread Ian Hickson
On Mon, 25 Jun 2012, Jes�s Ruiz Garc�a wrote: So far, all the more powerful virtual tours I've seen, are made in Flash. Usually, these tours are created with the following applications: *Easypano Virtual Tour Software*, *3DVista*, *Flashificator*, *Autopano Tour * and some others. An

Re: [whatwg] Change description of em element

2012-08-30 Thread Ian Hickson
On Wed, 27 Jun 2012, Joseph Mansfield wrote: The current semantic meaning of the em element may be confused with that of the strong element. The specification states that the em element increases the level of emphasis. There are, however, two definitions of the word emphasis: 1.

Re: [whatwg] suggestin a minor addion to the DOM

2012-08-30 Thread Ian Hickson
On Thu, 28 Jun 2012, Andri S�var Sigr�ksson wrote: suggestion Boolean value implemented as Window.nobackspace or Navigator.nobackspace if set to true the browser would not accept the key press on backspace as a signal to go to the previous page yes i know there is a other way to

Re: [whatwg] :enabled and :disabled matching input type=hidden

2012-08-30 Thread Ian Hickson
On Thu, 28 Jun 2012, Lachlan Hunt wrote: The spec states that: The :enabled pseudo-class must match any element falling into one of the following categories: * input elements whose type attribute are not in the Hidden state and that are not disabled and The :disabled

Re: [whatwg] Proposed addition to Drag and Drop API

2012-08-30 Thread Ian Hickson
On Fri, 29 Jun 2012, Alex Bain wrote: I've spent the past few days working with the Drag and Drop API and I'd like to propose an addition to the spec to aid developers and designers in creating accessible drag interfaces. **Use case:** I'm developing an app that allows users to drag

Re: [whatwg] content element, which we need in our documents

2012-08-30 Thread Ian Hickson
On Fri, 29 Jun 2012, Ian Yang wrote: As many of you may have been aware that there is an important sectioning element we have been short of for a long time: the content element. That's body, as far as I can tell. Remember how we sectioned our documents in those old days? It's the

Re: [whatwg] Proposal for public data in drag events

2012-08-30 Thread Bronislav Klučka
On 30.8.2012 19:27, Ian Hickson wrote: On Thu, 21 Jun 2012, Trevor Burnham wrote: Therefore, I'd like to propose the addition of a publicData object on all drag events. It would have the same interface and behavior as the dataTransfer object, with the sole exception that it would be read-only

Re: [whatwg] suggestin a minor addion to the DOM

2012-08-30 Thread Nils Dagsson Moskopp
Andri Sævar Sigríksson as...@hi.is schrieb am Thu, 28 Jun 2012 00:29:56 - (GMT): suggestion Boolean value implemented as Window.nobackspace or Navigator.nobackspace if set to true the browser would not accept the key press on backspace as a signal to go to the previous page I

Re: [whatwg] input type=barcode?

2012-08-30 Thread Mounir Lamouri
On 08/30/2012 12:12 PM, Tab Atkins Jr. wrote: It shouldn't be a new input type, because it's not a *type* of value. Barcodes are simple a wrapper for a value, to make it more easily machine-readable. Scanning a barcode is an input mode for a value, just like typing or speaking it is. Indeed.

Re: [whatwg] input type=barcode?

2012-08-30 Thread Tab Atkins Jr.
On Thu, Aug 30, 2012 at 11:59 AM, Mounir Lamouri mou...@lamouri.fr wrote: On 08/30/2012 12:12 PM, Tab Atkins Jr. wrote: It shouldn't be a new input type, because it's not a *type* of value. Barcodes are simple a wrapper for a value, to make it more easily machine-readable. Scanning a barcode

Re: [whatwg] Proposal for public data in drag events

2012-08-30 Thread Trevor Burnham
On Aug 30, 2012, at 1:27 PM, Ian Hickson i...@hixie.ch wrote: On Thu, 21 Jun 2012, Trevor Burnham wrote: I've been using HTML drag-and-drop (http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html) in a project, but I've run into one limitation that seems severe to me:

Re: [whatwg] input type=barcode?

2012-08-30 Thread Jonas Sicking
On Thu, Aug 30, 2012 at 4:19 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Thu, Aug 30, 2012 at 11:59 AM, Mounir Lamouri mou...@lamouri.fr wrote: On 08/30/2012 12:12 PM, Tab Atkins Jr. wrote: It shouldn't be a new input type, because it's not a *type* of value. Barcodes are simple a