[whatwg] Additional onxxxx event attributes for DOM Level3 Events

2010-08-16 Thread Hajime Morita
Hi, I noticed that some events which are defined in DOM Level3 Events [1] don't have associated HTML attributes. For example, keypress event has associated onkeypress attribute. But focusin event doesn't have onfocusin attribute. Here is a list: * wheel event * textInput event * focusin event *

Re: [whatwg] Proposal: Add HTMLElement.innerText

2010-08-16 Thread Maciej Stachowiak
On Aug 14, 2010, at 10:14 PM, Robert O'Callahan wrote: On Sun, Aug 15, 2010 at 12:17 PM, Adam Barth w...@adambarth.com wrote: That's difficult to say given that it's supported in most browsers. We'd need to look for folks complaining to Mozilla. There's a tree of duplicate bug reports that

Re: [whatwg] Proposal: Add HTMLElement.innerText

2010-08-16 Thread Maciej Stachowiak
On Aug 15, 2010, at 10:27 PM, Mihai Parparita wrote: On Sun, Aug 15, 2010 at 8:41 PM, Robert O'Callahan rob...@ocallahan.org wrote: actually a useful and needed feature, we should hear it. Or if someone from Webkit or Opera wants to explain why they added it, that would be useful too.

Re: [whatwg] Proposal: Add HTMLElement.innerText

2010-08-16 Thread Anne van Kesteren
On Mon, 16 Aug 2010 11:23:55 +0200, Maciej Stachowiak m...@apple.com wrote: We do consider this, but since the status quo is every browser but Firefox implements it, it's not clear that flipping WebKit-based browsers from one column to the other is a genuine interoperability improvement.

Re: [whatwg] Proposal: Add HTMLElement.innerText

2010-08-16 Thread Maciej Stachowiak
On Aug 16, 2010, at 2:49 AM, Anne van Kesteren wrote: On Mon, 16 Aug 2010 11:23:55 +0200, Maciej Stachowiak m...@apple.com wrote: We do consider this, but since the status quo is every browser but Firefox implements it, it's not clear that flipping WebKit-based browsers from one column to

Re: [whatwg] Proposal: Add HTMLElement.innerText

2010-08-16 Thread Markus Ernst
Am 16.08.2010 11:23 schrieb Maciej Stachowiak: - Is it a genuinely useful feature? Yes, the ability to get plaintext content as rendered is a useful feature and annoying to implement from scratch. To give one very marginal data point, it's used by our regression text framework to output

Re: [whatwg] Proposal: Add HTMLElement.innerText

2010-08-16 Thread Robert O'Callahan
On Mon, Aug 16, 2010 at 9:23 PM, Maciej Stachowiak m...@apple.com wrote: A more hypothetical use would be a rich text editor that has a convert to plaintext feature. textContent is not as useful for these use cases, since it doesn't handle line breaks and unrendered whitespace properly.

Re: [whatwg] Proposal: Add HTMLElement.innerText

2010-08-16 Thread Diego Perini
On Mon, Aug 16, 2010 at 1:43 PM, Robert O'Callahan rob...@ocallahan.orgwrote: On Mon, Aug 16, 2010 at 9:23 PM, Maciej Stachowiak m...@apple.com wrote: A more hypothetical use would be a rich text editor that has a convert to plaintext feature. textContent is not as useful for these use cases,

[whatwg] Bluetooth devices

2010-08-16 Thread Don Rosen
Is there any intention to provide access to Bluetooth devices through the Device element?

Re: [whatwg] Bluetooth devices

2010-08-16 Thread Anne van Kesteren
On Mon, 16 Aug 2010 20:03:14 +0200, Don Rosen dro...@generationone.com wrote: Is there any intention to provide access to Bluetooth devices through the Device element? We do not really have a clear roadmap for this feature. It very much depends on what web authors and implementors want to

[whatwg] Proposal for secure key-value data stores

2010-08-16 Thread Ian Hickson
On Tue, 30 Mar 2010, Nicholas Zakas wrote: In attempting to use localStorage at work, we ran into some major security issues. Primary among those are the guidelines we have in place regarding personalized user data. The short story is that personalized data cannot be stored on disk unless

Re: [whatwg] Proposal for secure key-value data stores

2010-08-16 Thread Evan Ireland
One of our key concerns is with Web SQL Database API (which we prefer) or Indexed Database API. I might wish to build an offline web application which will refuse to operate if the browser cannot guarantee that the database is encrypted. Now full-disk encryption would be fine (if the O/S has a

Re: [whatwg] Proposal for secure key-value data stores

2010-08-16 Thread Dirk Pranke
On Mon, Aug 16, 2010 at 3:58 PM, Ian Hickson i...@hixie.ch wrote: On Tue, 30 Mar 2010, Dirk Pranke wrote: Nicholas is almost certainly discussing the case where the service provider requires any data stored on a customer's computer to be encrypted, not the provider's own computers. (e.g.,

Re: [whatwg] HTML5 Drag-and-Drop Specification: dragenter

2010-08-16 Thread Daniel Cheng
I don't think anything in the spec should prevent that. dragenter handlers attached to different drop targets can check event.dataTransfer.types and decide if they want to accept the drag or not. That being said, do any operating systems actually support multiple concurrent drags and drops?

Re: [whatwg] HTML5 Drag-and-Drop Specification: dragenter

2010-08-16 Thread Jason Gross
Is it possible to get more specificity than just the type of the object being dragged? For example, if I have red images and blue images, and a red target and a blue target, and I want to be able to drop red images only on the red target, and blue images only on the blue target, is there a good

Re: [whatwg] [html5] r5307 - [giow] (0) use vendor--feature instead of _vendor-feature since Apple engineers [...]

2010-08-16 Thread L. David Baron
On Monday 2010-08-16 15:14 -0700, wha...@whatwg.org wrote: [giow] (0) use vendor--feature instead of _vendor-feature since Apple engineers think underscores are ugly. Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9590 This has the disadvantage that vendor-specific features can't be

Re: [whatwg] [html5] r5307 - [giow] (0) use vendor--feature instead of _vendor-feature since Apple engineers [...]

2010-08-16 Thread Ian Hickson
On Mon, 16 Aug 2010, L. David Baron wrote: On Monday 2010-08-16 15:14 -0700, wha...@whatwg.org wrote: [giow] (0) use vendor--feature instead of _vendor-feature since Apple engineers think underscores are ugly. Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9590 This has the

[whatwg] script features

2010-08-16 Thread Jonas Sicking
Hi All, I'd like to propose a couple of simple features to make script elements more useful: 1. document.currentScript This property returns the currently executing script, if any. Returns null if no script is currently executing. In the case of several nested executing scripts, it returns the

Re: [whatwg] [html5] r5307 - [giow] (0) use vendor--feature instead of _vendor-feature since Apple engineers [...]

2010-08-16 Thread Robert O'Callahan
On Tue, Aug 17, 2010 at 4:05 PM, Ian Hickson i...@hixie.ch wrote: Hmm, good point. Any other suggestions? Mozilla has already added a number of extensions using just a moz prefix ... e.g. mozInnerScreenX, mozPaintCount, mozRequestAnimationFrame. Webkit has added extensions using a webkit

Re: [whatwg] HTML5 Drag-and-Drop Specification: dragenter

2010-08-16 Thread Daniel Cheng
You can set types of your choice in dragstart, since your drag source should know which is which. By design, drop targets can't inspect anything but the types until the object is actually dropped. Daniel On Mon, Aug 16, 2010 at 17:04, Jason Gross

Re: [whatwg] [html5] r5307 - [giow] (0) use vendor--feature instead of _vendor-feature since Apple engineers [...]

2010-08-16 Thread Anne van Kesteren
On Tue, 17 Aug 2010 06:32:33 +0200, Robert O'Callahan rob...@ocallahan.org wrote: On Tue, Aug 17, 2010 at 4:05 PM, Ian Hickson i...@hixie.ch wrote: Hmm, good point. Any other suggestions? Mozilla has already added a number of extensions using just a moz prefix ... e.g. mozInnerScreenX,