Re: [whatwg] date meta-tag invalid

2011-07-28 Thread Henri Sivonen
On Tue, 2011-07-26 at 11:27 +, aykut.sen...@bild.de wrote: http://www.google.com/support/news_pub/bin/answer.py?answer=93994 See Link above, Google says, that they provide DC.date.issued, but this is also not part auf the whatwg metaextensions list. It's part of the list now. I wonder

[whatwg] PeerConnection, MediaStream, getUserMedia(), and other feedback

2011-07-28 Thread Stefan Håkansson LK
On Tue, Jul 26, 2011 at 07:30, Ian Hickson ian at hixie.ch wrote: If you send two MediaStream objects constructed from the same LocalMediaStream over a PeerConnection there needs to be a way to separate them on the receiving side. What's the use case for sending the same feed twice?

Re: [whatwg] Fixing undo on the Web - UndoManager and Transaction

2011-07-28 Thread Ryosuke Niwa
On Wed, Jul 27, 2011 at 11:44 PM, Alex Vincent ajvinc...@gmail.com wrote: I'm seeing one major hole in your interface: you don't clearly specify how to *end* a transaction group. This really matters for when I want to start a group manually, do a bunch of little things, and then end the

Re: [whatwg] Form element invalid message

2011-07-28 Thread Scott González
On Wed, Jul 27, 2011 at 11:37 PM, Jukka K. Korpela jkorp...@cs.tut.fiwrote: 28.07.2011 03:21, Ian Hickson wrote: A text input field could have a number of error conditions: Indeed. Therefore it would be essential to be able to set the error message for _each_ check that a browser is

Re: [whatwg] Form element invalid message

2011-07-28 Thread Jukka K. Korpela
28.07.2011 12:16, Scott González wrote: I agree that it's extremely important to be able to define error messages per error condition, but it's not necessary to code all data checking in JavaScript to achieve that today. It's not, but if you cannot set the error messages in HTML, what's the

Re: [whatwg] Form element invalid message

2011-07-28 Thread Scott González
2011/7/28 Jukka K. Korpela jkorp...@cs.tut.fi 28.07.2011 12:16, Scott González wrote: I agree that it's extremely important to be able to define error messages per error condition, but it's not necessary to code all data checking in JavaScript to achieve that today. It's not, but if you

Re: [whatwg] Form element invalid message

2011-07-28 Thread timeless
Your 13 example is a good argument against splitting between markup and script. If the minimum value is updated in the html but not the js, you get confused users. - I've seen the results of letting logic get out of sync from error reporting, it isn't pretty. On 7/28/11, Scott González

[whatwg] CSP feedback

2011-07-28 Thread Rob Levin
Hello, I posted this to the whatwg forums last week, and was advised to post to the mailing list. Here goes. I've been thinking for some time about XSS attacks and ways to mitigate them, and two observations struck me: (1) XSS attacks nearly always occur in the body block of a html

Re: [whatwg] CSP feedback

2011-07-28 Thread Rob Larsen
Hello, (2) With the rise of Javascript frameworks like JQuery, it is becoming best practice to separate the code from the content. All legitimate code can be placed in the head block without too much effort, for many sites. In practice many developers prefer to place almost all script tags

Re: [whatwg] Specification of window.find()

2011-07-28 Thread Aryeh Gregor
On Wed, Jul 27, 2011 at 6:55 PM, Tim Down timd...@gmail.com wrote: There's also the perennial problem of dealing with non-visible text (c.f. Selection.toString(), innerText), which some browsers handle (a quick tests suggests WebKit searches non-visible text and Firefox doesn't). True. Of

Re: [whatwg] [editing] HTML Editing APIs specification ready for implementer feedback

2011-07-28 Thread Aryeh Gregor
Thanks to both of you for the feedback! On Wed, Jul 27, 2011 at 7:51 PM, Ryosuke Niwa rn...@webkit.org wrote: WebKit treats any font-weight above or equal to 600 as bold because that's what user sees, and boldness is a binary concept in execCommand; Firefox 5 appears to do the same. Yes, bold

Re: [whatwg] [editing] HTML Editing APIs specification ready for implementer feedback

2011-07-28 Thread Ryosuke Niwa
On Thu, Jul 28, 2011 at 1:17 PM, Aryeh Gregor simetrical+...@gmail.comwrote: 3.3: The return value of queryCommandEnable depends on beforecut, beforecopy, and beforepaste events and selection state in WebKit; WebKit returns false if default actions are prevented in those events or

Re: [whatwg] CSP feedback

2011-07-28 Thread Rob Levin
(2) With the rise of Javascript frameworks like JQuery, it is becoming best practice to separate the code from the content. All legitimate code can be placed in the head block without too much effort, for many sites. In practice many developers prefer to place almost all script tags

Re: [whatwg] on* attributes on DOM elements

2011-07-28 Thread Anne van Kesteren
On Fri, 17 Jun 2011 11:57:20 -0700, Ian Hickson i...@hixie.ch wrote: I'm all in favour of making this generic across all vocabularies. I'm happy to work with Anne and Ms2ger to move all the HTML and SVG event handler attributes (does MathML have any?) to Element. It would not be an

Re: [whatwg] on* attributes on DOM elements

2011-07-28 Thread Ian Hickson
On Thu, 28 Jul 2011, Anne van Kesteren wrote: On Fri, 17 Jun 2011 11:57:20 -0700, Ian Hickson i...@hixie.ch wrote: I'm all in favour of making this generic across all vocabularies. I'm happy to work with Anne and Ms2ger to move all the HTML and SVG event handler attributes (does MathML

[whatwg] Canvas fallback content: IAccessible accLocation

2011-07-28 Thread Charles Pritchard
Tab, I do understand your position when you recommend SVG for UI and the vendor-level support that will/can evolve from markup as well as [standard] retained-mode semantics. http://lists.w3.org/Archives/Public/public-canvas-api/2011JulSep/0184.html My position evolved from experience. I need

Re: [whatwg] questions regarding submit event timing

2011-07-28 Thread Ian Hickson
On Mon, 2 May 2011, Hallvord R M Steen wrote: Some questions related to possibly clarifying this section: http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#concept-form-submit 1) What methods exactly cause the scripted submit flag to be set?

Re: [whatwg] Spec references in multipage

2011-07-28 Thread Ian Hickson
On Mon, 2 May 2011, Glenn Maynard wrote: This is probably a known issue, but the reference lists in the multipage version of the specs only list references within the same section of the spec. Clicking submitted in [1] shows only two references. Clicking the same thing in the single-page

Re: [whatwg] Browser inconsistencies in rendering optgroup and option

2011-07-28 Thread Ian Hickson
On Mon, 2 May 2011, Boris Zbarsky wrote: On 5/2/11 7:26 PM, Ian Hickson wrote: I think it'd be better for [the rendering of options in a select being one to a line] to be a style scoped to the binding that defines the select, personally. OK, but more on this below. I would

Re: [whatwg] input element list attribute and filtering suggestions

2011-07-28 Thread Ian Hickson
On Mon, 2 May 2011, Jonas Sicking wrote: On Mon, May 2, 2011 at 3:32 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 31 Dec 2010, Jonas Sicking wrote: The thing that makes this different than Google suggest-style UI is that in the latter case you need a script that continually polls

Re: [whatwg] link.sizes and [PutForwards=value]

2011-07-28 Thread Ian Hickson
On Mon, 2 May 2011, Jonas Sicking wrote: On Mon, May 2, 2011 at 4:37 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 5 Jan 2011, Mounir Lamouri wrote: On 01/05/2011 02:29 AM, Ian Hickson wrote: On Thu, 14 Oct 2010, Olli Pettay wrote: may I wonder why on earth any new API, like

Re: [whatwg] on* attributes on DOM elements

2011-07-28 Thread Boris Zbarsky
On 7/28/11 6:05 PM, Anne van Kesteren wrote: So the SVG WG discussed this and they would like this as well. (They basically want the same behavior as HTML has here and converge as much as possible.) The change to the current mechanism required for SVG is to expose an evt variable somehow in

Re: [whatwg] Form element invalid message

2011-07-28 Thread Jonas Sicking
On Wed, Jul 27, 2011 at 5:21 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 29 Apr 2011, Jonas Sicking wrote: On Fri, Apr 29, 2011 at 3:42 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 29 Dec 2010, Mounir Lamouri wrote: On 12/29/2010 07:41 AM, Ian Hickson wrote: I actually think that the