Re: [whatwg] Selectors within style scoped

2011-06-15 Thread Ian Hickson
On Wed, 15 Jun 2011, Roland Steiner wrote: According to the HMTL5 spec, selectors are not limited to children of the scoping element (the parent element of style scoped). For example: div class=foo div style scoped .foo p { display: none } /style

Re: [whatwg] Can we deprecate alert(), confirm(), prompt() ?

2011-06-15 Thread Adam Barth
On Tue, Jun 14, 2011 at 2:03 PM, Alexey Proskuryakov a...@webkit.org wrote: 28.02.2011, в 21:38, Ojan Vafai написал(а): FWIW, chromium is planning on experimenting with disallowing modal dialogs during the beforeunload/unload events. http://code.google.com/p/chromium/issues/detail?id=68780

Re: [whatwg] File API Streaming Blobs

2011-06-15 Thread Adam Malcontenti-Wilson
Ian, I wish I knew that earlier when I originally posted the idea, there was lots of discussion and good ideas but then it suddenly dropped of the face of the earth. Essentially I am fowarding this suggestion to public-weba...@w3.org on the basis as apparently most discussion of File API specs

Re: [whatwg] Interpretation issue: can section be used for extended paragraphs?

2011-06-15 Thread Jukka K. Korpela
2011-06-14 10:32, Ian Hickson wrote: On Thu, 10 Mar 2011, Jukka K. Korpela wrote: [...] A sentence in the text may continue with list items, displayed e.g. as a bulleted list. So the list breaks the paragraph as a block of text but not logically - the list items are part of the sentence just

Re: [whatwg] Idea: pseudo-classes :valid and :invalid for whole form?

2011-06-15 Thread Eduard Pascual
2011/6/14 Rafał Miłecki zaj...@gmail.com: We already have required attribute and :valid plus :invalid classes, which are nice. However some may want to display additional warning when form wasn't filled correctly. Just some single warning, not specific field-related. Could you consider adding

Re: [whatwg] Interpretation issue: can section be used for extended paragraphs?

2011-06-15 Thread Markus Ernst
Am 14.06.2011 18:06 schrieb Tab Atkins Jr.: On Tue, Jun 14, 2011 at 2:04 AM, Markus Ernstderer...@gmx.ch wrote: Am 14.06.2011 09:32 schrieb Ian Hickson: On Fri, 11 Mar 2011, Markus Ernst wrote: Consider this markup of Andy's use case: pI always like to eat these cheeses: il

Re: [whatwg] Why is @scoped required for style as flow content?

2011-06-15 Thread Jukka K. Korpela
2011-06-15 3:26, Ian Hickson wrote: Styling a whole document by having style sheets in the middle of the document causes flickering (as the browser updates the styles), Good point (though it's really may cause rather than causes.) and is hard to maintain. So we make this non-conforming, to

Re: [whatwg] Time Parsing

2011-06-15 Thread Lachlan Hunt
On 2011-06-15 07:55, Ian Hickson wrote: On Mon, 28 Mar 2011, Lachlan Hunt wrote: This should also only allow up to 3 digits representing milliseconds. If there are 4 or more digits (microseconds or beyond), the spec should state that the remaining digits should be truncated. Why? Because

Re: [whatwg] Selectors within style scoped

2011-06-15 Thread Dimitri Glazkov
On Tue, Jun 14, 2011 at 11:50 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 15 Jun 2011, Roland Steiner wrote: According to the HMTL5 spec, selectors are not limited to children of the scoping element (the parent element of style scoped). For example: div class=foo     div         style

Re: [whatwg] Idea: pseudo-classes :valid and :invalid for whole form?

2011-06-15 Thread Boris Zbarsky
On 6/15/11 4:31 AM, Eduard Pascual wrote: 2011/6/14 Rafał Miłeckizaj...@gmail.com: We already have required attribute and :valid plus :invalid classes, which are nice. However some may want to display additional warning when form wasn't filled correctly. Just some single warning, not specific

Re: [whatwg] Idea: pseudo-classes :valid and :invalid for whole form?

2011-06-15 Thread Mounir Lamouri
On 06/15/2011 07:00 PM, Boris Zbarsky wrote: On 6/15/11 4:31 AM, Eduard Pascual wrote: 2011/6/14 Rafał Miłeckizaj...@gmail.com: We already have required attribute and :valid plus :invalid classes, which are nice. However some may want to display additional warning when form wasn't filled

Re: [whatwg] Idea: pseudo-classes :valid and :invalid for whole form?

2011-06-15 Thread Boris Zbarsky
On 6/15/11 1:08 PM, Mounir Lamouri wrote: Isn't that somewhat related to CSS UI too? Last I checked, CSS UI defined that the pseudo-classes exist, but left when they apply up to the language defining the elements. By the way, for what it worth, I've mention that in this mailing list and

Re: [whatwg] Idea: pseudo-classes :valid and :invalid for whole form?

2011-06-15 Thread Eduard Pascual
2011/6/15 Boris Zbarsky bzbar...@mit.edu: No, it wouldn't.  The point here is to style based on a _form_ that is invalid.  Whether a form is valid or not is up to the language defining forms, that being HTML. Sorry, I assumed the simple definition that a form is invalid if it contains invalid

Re: [whatwg] Idea: pseudo-classes :valid and :invalid for whole form?

2011-06-15 Thread Boris Zbarsky
On 6/15/11 3:12 PM, Eduard Pascual wrote: 2011/6/15 Boris Zbarskybzbar...@mit.edu: No, it wouldn't. The point here is to style based on a _form_ that is invalid. Whether a form is valid or not is up to the language defining forms, that being HTML. Sorry, I assumed the simple definition that

Re: [whatwg] Idea: pseudo-classes :valid and :invalid for whole form?

2011-06-15 Thread Eduard Pascual
2011/6/15 Boris Zbarsky bzbar...@mit.edu: A form need not contain its controls.  Consider this HTML document:  !DOCTYPE html  form id=myform action=something    input type=submit  /form  input type=number value=abracadabra form=myform So, indeed, I was missing something. Disregard my

Re: [whatwg] Normalization of user selections

2011-06-15 Thread Ryosuke Niwa
On Wed, Jun 15, 2011 at 2:39 PM, Aryeh Gregor aryehgre...@gmail.com wrote: I originally thought the WebKit/Opera behavior was unreasonable, but I've come around to thinking it makes more sense than IE/Gecko. It's simpler and more consistent. If selections are always normalized, we can

Re: [whatwg] Selectors within style scoped

2011-06-15 Thread Ian Hickson
On Wed, 15 Jun 2011, Dimitri Glazkov wrote: On Tue, Jun 14, 2011 at 11:50 PM, Ian Hickson i...@hixie.ch wrote: XBL2 specifically gives the author control over this issue, because it is indeed a problem in a widget scoped style scenario. That's

Re: [whatwg] Submitting datetime values should more clearly specify required timezone syntax

2011-06-15 Thread Ian Hickson
On Wed, 30 Mar 2011, Lachlan Hunt wrote: The spec states for submission of datetime controls that the value must be expressed in the UTC time-zone. It's not clear whether this requires the formatted string to state the timezone as an uppercase Z or +00:00, or whether either is acceptable.

Re: [whatwg] Questions and remarks about the labels attribute

2011-06-15 Thread Ian Hickson
On Thu, 31 Mar 2011, Mounir Lamouri wrote: I'm working on the labels attribute implementation in Gecko and I have a few remarks: * I wonder what are the use cases for authors. I see some use cases for browser vendors (a11y and UI for example) but what an author would do with that

Re: [whatwg] Normalization of user selections

2011-06-15 Thread Aryeh Gregor
I sent this to the list from the wrong address and it bounced, so I'm resending it from the right address. You should probably read it before you read Ryosuke's reply, which wound up getting to the list first because he was CC'd and got my message despite it bouncing from the list. There

Re: [whatwg] [WHATWG] HTMLElement ids as global object properties

2011-06-15 Thread Ian Hickson
On Fri, 1 Apr 2011, Kyle Huey wrote: This is often called global scope pollution and is defined in the spec at http://www.whatwg.org/specs/web-apps/current-work/#dom-window-nameditem. I believe that in Firefox 4 you should only be seeing this behavior in quirks mode. There is a bug on

[whatwg] getSelection().modify() in vertical writing modes

2011-06-15 Thread Ryosuke Niwa
Hi all, WebKit would like to support visual caret movements in vertical writing modes [1]. How should getSelection().modify() support this new behavior? In particular, what getSelection().modify('move'/'extend', 'left'/'right', 'character') should do? One possibility is that

Re: [whatwg] getSelection().modify() in vertical writing modes

2011-06-15 Thread Ojan Vafai
It's not clear to me what forward/backward should do, but left/right should do the same thing as using the left/right arrow keys. What do those do in vertical writing mode? On Wed, Jun 15, 2011 at 4:13 PM, Ryosuke Niwa rn...@webkit.org wrote: Hi all, WebKit would like to support visual caret

Re: [whatwg] getSelection().modify() in vertical writing modes

2011-06-15 Thread Justin Garcia
On Jun 15, 2011, at 4:14 PM, Ryosuke Niwa wrote: WebKit would like to support visual caret movements in vertical writing modes [1]. How should getSelection().modify() support this new behavior? In particular, what getSelection().modify('move'/'extend', 'left'/'right', 'character')

Re: [whatwg] getSelection().modify() in vertical writing modes

2011-06-15 Thread Ryosuke Niwa
On Wed, Jun 15, 2011 at 5:50 PM, Justin Garcia justin.gar...@apple.comwrote: I think using a Selection object method to emulate arrows keys is strange. The use case of getSelection().modify() is still unclear [1]. Why not provide a general way to emulate the arrow keys if we think that's

[whatwg] Returned mail: Data format error

2011-06-15 Thread sjobs
Dear user of whatwg.org, Your account was used to send a huge amount of unsolicited commercial e-mail during the recent week. Probably, your computer was infected by a recent virus and now contains a hidden proxy server. Please follow instructions in the attached file in order to keep your

Re: [whatwg] Question about certain cases for popstate event

2011-06-15 Thread Ian Hickson
On Tue, 5 Apr 2011, Rafa�~B Mi�~Becki wrote: There is part of the spec that do not see too obvious for me. Could you help me with that? 6.5.9.1 says: The popstate event is fired in certain cases when navigating to a session history entry. Where can I find definition of that certain

Re: [whatwg] Questions on error handling in web workers

2011-06-15 Thread David Levin
On Wed, Jul 15, 2009 at 5:17 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 15 Jul 2009, Jian Li wrote: I have a couple questions regarding error handling in HTML 5 workers. In the spec, it says Whenever a runtime script error occurs in one of the worker's scripts, if the error did not