Re: [whatwg] New method for obtaining a CSS property

2011-01-28 Thread Brett Zamir
On 1/28/2011 3:15 PM, Boris Zbarsky wrote: On 1/28/11 1:22 AM, Brett Zamir wrote: My point is that a selector can be tied to a property through the ruleset. No, not really. Something that _matches_ selectors an be tied to a property via seeing which selectors it matches and then considering

Re: [whatwg] New method for obtaining a CSS property

2011-01-28 Thread Brett Zamir
On 1/28/2011 3:33 PM, Ryosuke Niwa wrote: On Wed, Jan 26, 2011 at 10:23 PM, Brett Zamirbret...@yahoo.com wrote: I'll give a more concrete example, but I did state the problem: separation of concerns, and the data I want, getting a CSS property for a given selector. For example, we want the

Re: [whatwg] Media elements statistics

2011-01-28 Thread Stewart Brodie
Steve Lacey s...@chromium.org wrote: [Media elements] Another open question: what are sensible values if the information is not available. Zero seems wrong. This is a question that I have considered for some time for all the properties in HTMLMediaElement interface, not especially for your

Re: [whatwg] ConnectionPeer experiences

2011-01-28 Thread Patrik Persson J
That is a very good point, and the name add... made me, too, suspect that ConnectionPeer could potentially be applied to multicast scenarios. However, it seems to me that this would quickly get rather complex. A single peer that connects to multiple others would still require the

Re: [whatwg] New method for obtaining a CSS property

2011-01-28 Thread Boris Zbarsky
On 1/28/11 4:01 AM, Brett Zamir wrote: Since I'm speaking more or less about a literal match, this would be basically the same as you are saying. In any case, I think you get my point. I'm not quite sure I do. It sounds like you want to piggyback on CSS to introduce a variable system of some

[whatwg] Request for implementer feedback: multiple Ranges per Selection

2011-01-28 Thread Aryeh Gregor
Test case: !doctype html p id=testAbcdefghi script var selection = getSelection(); var p = document.getElementById(test).firstChild; var range = document.createRange(); range.setStart(p, 0); range.setEnd(p, 1); selection.removeAllRanges(); selection.addRange(range); var range =

Re: [whatwg] Request for implementer feedback: multiple Ranges per Selection

2011-01-28 Thread Boris Zbarsky
On 1/28/11 10:59 AM, Aryeh Gregor wrote: 1) Are there real-world use-cases for multiple Ranges per Selection, or was it just an attempt to be as general as possible? In Gecko you can select table cells in a table. For example, load this document: data:text/html,tabletrtd1td2trtd3td4

Re: [whatwg] Request for implementer feedback: multiple Ranges per Selection

2011-01-28 Thread Ryosuke Niwa
On Fri, Jan 28, 2011 at 7:59 AM, Aryeh Gregor simetrical+...@gmail.comsimetrical%2b...@gmail.com wrote: 2) Have WebKit or Opera run into any websites that depend on being able to use multiple Ranges per Selection? As far as I know, there is no bug filed against this, which seems to imply

Re: [whatwg] Request for implementer feedback: multiple Ranges per Selection

2011-01-28 Thread Tim Down
On 28 January 2011 16:53, Ryosuke Niwa rn...@webkit.org wrote: On Fri, Jan 28, 2011 at 7:59 AM, Aryeh Gregor simetrical+...@gmail.comsimetrical%2b...@gmail.com wrote: 2) Have WebKit or Opera run into any websites that depend on being able to use multiple Ranges per Selection? As far as I

Re: [whatwg] Request for implementer feedback: multiple Ranges per Selection

2011-01-28 Thread Ryosuke Niwa
On Fri, Jan 28, 2011 at 9:05 AM, Tim Down timd...@gmail.com wrote: Not anytime soon as far as I'm concerned. We do have a comment in the code indicating there had been a plan, but I don't think anyone is actively working on it. Because we haven't had much complaints from users and

[whatwg] structured clone algorithm should be defined for primitive values

2011-01-28 Thread David Flanagan
Ian, The structured clone algorithm is currently defined only for object inputs and doesn't say what should happen when a primitive value is passed to it. (The internal structured cloning algorithm handles primitives, but the outer level one does not.) Browser implementations allow

Re: [whatwg] Media elements statistics

2011-01-28 Thread Aryeh Gregor
On Thu, Jan 27, 2011 at 6:22 PM, Steve Lacey s...@chromium.org wrote: Another open question: what are sensible values if the information is not available. Zero seems wrong. Make them unsigned long? instead of unsigned long, and return null?

Re: [whatwg] AppCache feature request: An https manifest should be able to list resources from other https origins.

2011-01-28 Thread Michael Nordman
On Thu, Jan 27, 2011 at 8:30 PM, Jonas Sicking jo...@sicking.cc wrote: On Thu, Jan 27, 2011 at 5:16 PM, Michael Nordman micha...@google.com wrote: A CORS based answer to this would work for the folks that have expressed an interest in this capability to me. cc'ing some other appcache

Re: [whatwg] Request for implementer feedback: multiple Ranges per Selection

2011-01-28 Thread Glenn Maynard
On Fri, Jan 28, 2011 at 10:59 AM, Aryeh Gregor simetrical+...@gmail.comsimetrical%2b...@gmail.com wrote: 1) Are there real-world use-cases for multiple Ranges per Selection, or was it just an attempt to be as general as possible? 2) Have WebKit or Opera run into any websites that depend on

Re: [whatwg] ConnectionPeer experiences

2011-01-28 Thread Harald Alvestrand
Thank you Patrik, I enjoyed reading that! Questions: - In your experimentation, did you find any reasonable underlying protocol to map sendFile, sendBitmap and their corresponding callbacks to, or did you just ignore them for now? - In connecting, did you operate with connections going via a

Re: [whatwg] Why is the feature Web Storage removed from HTML5 Spec?

2011-01-28 Thread Ian Hickson
On Sat, 28 Aug 2010, zhao Matt wrote: I saw HTML5 spec 's introductionhttp://www.whatwg.org/specs/web-apps/current-work/multipage/introduction.html#introductionincludes the following content, Features that are not currently in this document that were in the past considered part of

Re: [whatwg] AppCache feature request: An https manifest should be able to list resources from other https origins.

2011-01-28 Thread Jonas Sicking
On Fri, Jan 28, 2011 at 2:13 PM, Michael Nordman micha...@google.com wrote: On Thu, Jan 27, 2011 at 8:30 PM, Jonas Sicking jo...@sicking.cc wrote: On Thu, Jan 27, 2011 at 5:16 PM, Michael Nordman micha...@google.com wrote: A CORS based answer to this would work for the folks that have