Re: [whatwg] Search-suggestions without scripting

2012-05-04 Thread Ian Hickson
search, etc. Other browsers do similar mixing. While this works well for browser UI, where the browser can mix in all the various results together, when you are talking about a Web page you still end up needing script to do that. So having it declarative isn't necessarily a win. -- Ian Hickson

Re: [whatwg] Form input element for value-unit pairs

2012-05-02 Thread Ian Hickson
types of input, not necessarily numeric, like IPv4, currencies, HH:MM, .. That's an interesting idea, but it might be something we should leave to the Web Components work. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] classList should perhaps move from HTMLElement to Element

2012-05-02 Thread Ian Hickson
but not on nodes from unknown namespaces). (Didn't have other browsers available to test on this machine.) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] DOMTokenList methods would be more useful with a space separated token list

2012-05-02 Thread Ian Hickson
prefer: foo.toggle('bar'); foo.remove('bat'); -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] DOMTokenList methods would be more useful with a space separated token list

2012-05-02 Thread Ian Hickson
On Wed, 2 May 2012, Rick Waldron wrote: On Wed, May 2, 2012 at 6:13 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 28 Oct 2011, David H�s�ther wrote: It would be more useful if the DOMTokenList methods (contains, add, remove, toggle) would take a space separated list of tokens

Re: [whatwg] restricted palette for input type=color

2012-05-02 Thread Ian Hickson
to solve the problem (styling a select with a new presentation, e.g.). While searching the list archives, I found a message from Ian Hickson: http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2008-November/017482.html He suggested to use a select element for the purpose of a restricted

Re: [whatwg] Can we make checkboxes readonly?

2012-05-02 Thread Ian Hickson
approach here. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] DOMTokenList methods would be more useful with a space separated token list

2012-05-02 Thread Ian Hickson
into the API layer. But I'll leave it up to the DOM guys to decide what to do for that interface. :-) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Request for new DOM property textarea.selectionText

2012-05-01 Thread Ian Hickson
thing as the DOM or the control's editor. (I believe Mozilla may in fact already do that.) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Request for new DOM property textarea.selectionText

2012-05-01 Thread Ian Hickson
just copy-on-write. It's hardly rocket science. :-P -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

[whatwg] Exposing framerate / statistics of video playback and related feedback

2012-04-30 Thread Ian Hickson
that we could be exposing that we do not, due to lack of use cases. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

[whatwg] More feedback relating to dialog and modal section

2012-04-30 Thread Ian Hickson
works. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] On implementing videos with multiple tracks in HTML5

2012-04-30 Thread Ian Hickson
in the HTML5 spec, but it's something that browsers can consider to provide. And since muxing isn't quite as difficult a functionality as e.g. decoding video, it could actually be fairly cheap to implement. I agree that this seems out of scope for the spec. -- Ian Hickson U+1047E

Re: [whatwg] Request for new DOM property textarea.selectionText

2012-04-28 Thread Ian Hickson
new feature request like this one. If it was a contentEditable feature I'd reluctantly agree (reluctantly because execCommand is a terrible API), but I really don't see why execCommand() would work on input controls. -- Ian Hickson U+1047E)\._.,--,'``.fL

Re: [whatwg] Request for new DOM property textarea.selectionText

2012-04-28 Thread Ian Hickson
On Sat, 28 Apr 2012, Ryosuke Niwa wrote: On Sat, Apr 28, 2012 at 9:30 AM, Ian Hickson i...@hixie.ch wrote: I think reusing execCommand is better than adding new method for input/textarea elements for each new feature request like this one. If it was a contentEditable feature I'd

Re: [whatwg] Request for new DOM property textarea.selectionText

2012-04-27 Thread Ian Hickson
(null, -1) gives from current selection start to end of text Getting the text from a range is already rather simple (as demonstrated at the top of this e-mail), so I don't think that's necessary. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch

Re: [whatwg] Request for new DOM property textarea.selectionText

2012-04-27 Thread Ian Hickson
text, it can be any region. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] [media] played member expected behavior.

2012-04-26 Thread Ian Hickson
already watched the video, and zero-length entries aren't useful for that. I've made a note of this e-mail to fix the spec, but in the absence of further information or opinions from anyone else, I'd go with playback as you suggest. -- Ian Hickson U+1047E

[whatwg] Audio related feedback from years past

2012-04-26 Thread Ian Hickson
loaded from the server instead of animations and canvas tags. So what you're saying is that we should wait ten years from when we added audio before adding a way to do dynamic audio, right? Like we did with img and canvas. :-) -- Ian Hickson U+1047E

Re: [whatwg] [Canvas] Text height

2012-04-25 Thread Ian Hickson
On Mon, 23 Apr 2012, Tyler Larson wrote: The measureText method in canvas' 2d context only returns the width of a span of text. Why not the height? Your information is out of date. :-) http://www.whatwg.org/specs/web-apps/current-work/#dom-context-2d-measuretext -- Ian Hickson

Re: [whatwg] createTBody on the table element.

2012-04-23 Thread Ian Hickson
wondering why this method exists as you can do what it does with the regular DOM API. Is it convenience? It was added to be consistent with createTFoot and createTHead? Consistency and convenience, yes. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch

[whatwg] Administrivia

2012-04-23 Thread Ian Hickson
the agreement [2] will be invited to do so. [1] http://dvcs.w3.org/hg/editing/raw-file/tip/editing.html [2] http://www.w3.org/community/about/agreements/final/ -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] CSP sandbox directive integration with HTML

2012-04-16 Thread Ian Hickson
in the spec to be a bit more generic and to call out to the CSP spec to get the sandbox flags from the CSP policy. This is done now. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things

Re: [whatwg] Confirming understanding about window.location's interaction with sandboxed seamless iframes

2012-04-12 Thread Ian Hickson
, navigating the parent is blocked because the sandbox prevents the child from navigating it's parent. The blocking happens in step 2, which is before the seamless redirection which is in step 3, so in this case it's not blocked. HTH, -- Ian Hickson U+1047E

[whatwg] Dialogs and prompts

2012-04-11 Thread Ian Hickson
upon which these are built. Thanks to Anne and Tantek in particular for working on that spec. On Tue, 20 Mar 2012, Adam Barth wrote: On Mon, Mar 19, 2012 at 2:20 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 19 Mar 2012, Jochen Eisinger wrote: The motivation for this is that in a tabbed

Re: [whatwg] Dialogs and prompts

2012-04-11 Thread Ian Hickson
On Wed, 11 Apr 2012, Tab Atkins Jr. wrote: On Wed, Apr 11, 2012 at 4:26 PM, Ian Hickson i...@hixie.ch wrote: On Thu, 29 Mar 2012, Darin Fisher wrote: Also, there is a downside to the current convention of custom drawing modal dialogs.  Web pages that mash-up content from varied sources

Re: [whatwg] Fullscreen and non-HTML elements

2012-04-09 Thread Ian Hickson
). -- Ian Hickson

Re: [whatwg] Fixing two security vulnerabilities in registerProtocolHandler

2012-04-09 Thread Ian Hickson
be overritten cross-origin, then half the Web is broken -- e.g. GMail is full of iframes. If you could overwrite them with custom iframes at will, then spoofing would be trivial. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Fixing two security vulnerabilities in registerProtocolHandler

2012-04-09 Thread Ian Hickson
On Mon, 9 Apr 2012, Tyler Close wrote: On Mon, Apr 9, 2012 at 4:48 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 9 Apr 2012, Tyler Close wrote: The RPH handler doesn't need to know which is the legit site. The RPH handler just needs to know that it's getting the RPH data from the site

Re: [whatwg] Fixing two security vulnerabilities in registerProtocolHandler

2012-04-07 Thread Ian Hickson
On Fri, 6 Apr 2012, Tyler Close wrote: On Fri, Apr 6, 2012 at 3:36 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 6 Apr 2012, Tyler Close wrote: Well if it's an iframe, the parent can't be anything but the original origin, as far as I can tell. What happens if the handler sends

Re: [whatwg] Fullscreen and non-HTML elements

2012-04-06 Thread Ian Hickson
and such. There's plenty of HTML elements that it doesn't make sense to fullscreen either -- e.g. source, any of the ones in head, any with a hidden= attribute, any marked display:none, etc. So we have to handle that anyway. -- Ian Hickson U+1047E)\._.,--,'``.fL http

Re: [whatwg] Fixing two security vulnerabilities in registerProtocolHandler

2012-04-06 Thread Ian Hickson
On Fri, 6 Apr 2012, Tyler Close wrote: On Mon, Apr 2, 2012 at 4:39 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 26 Sep 2011, Tyler Close wrote: I was recently experimenting with the registerProtocolHandler (RPH) API and came across a couple of security gotchas that make it hard

Re: [whatwg] Fixing two security vulnerabilities in registerProtocolHandler

2012-04-06 Thread Ian Hickson
. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-04-05 Thread Ian Hickson
On Thu, 5 Apr 2012, Philip Jägenstedt wrote: On Wed, 04 Apr 2012 20:56:03 +0200, Ian Hickson i...@hixie.ch wrote: On Wed, 4 Apr 2012, Philip Jägenstedt wrote: In current Opera and Firefox the timeline is always normalized to start at 0, so the time that corresponds to 0

Re: [whatwg] Proposal: location.parentOrigin

2012-04-05 Thread Ian Hickson
that if such a frame is navigated to in a particular way, it may circumvent an origin-scoped check. Tab suggests (on IRC) that this should just be tied to sandbox=, which seems reasonable at first blush. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch

Re: [whatwg] Proposal: location.parentOrigin

2012-04-04 Thread Ian Hickson
On Tue, 3 Apr 2012, Adam Barth wrote: On Tue, Apr 3, 2012 at 6:54 PM, Ian Hickson i...@hixie.ch wrote: On Tue, 3 Apr 2012, Adam Barth wrote: On Tue, Apr 3, 2012 at 4:32 PM, Ian Hickson i...@hixie.ch wrote: On Tue, 3 Apr 2012, Adam Barth wrote: Talking with some folks off-list

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-04-04 Thread Ian Hickson
, thanks. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Fullscreen changes to support dialog

2012-04-04 Thread Ian Hickson
that have these behaviours? As above, screenshots and URLs to such examples would be really helpful. Cheers, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-04-03 Thread Ian Hickson
without having to invent ways around the spec's limitations. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

[whatwg] Fullscreen changes to support dialog

2012-04-03 Thread Ian Hickson
is unfullscreened, it's yanked from the top layer. The user emergency escape UI yanks all fullscreened elements from the top layer (but leaves any other elements in it; we wouldn't want dialogs to disappear when exiting full screen mode). If this works, then I'll use this for dialog. Cheers, -- Ian Hickson

Re: [whatwg] Proposal: location.parentOrigin

2012-04-03 Thread Ian Hickson
against clickjacking in unauthorised embeddings.) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Proposal: location.parentOrigin

2012-04-03 Thread Ian Hickson
On Tue, 3 Apr 2012, Adam Barth wrote: On Tue, Apr 3, 2012 at 4:32 PM, Ian Hickson i...@hixie.ch wrote: On Tue, 3 Apr 2012, Adam Barth wrote: Talking with some folks off-list, there are also use cases for knowing the origin of the top-most document. Could you elaborate on those use cases

Re: [whatwg] Fullscreen changes to support dialog

2012-04-03 Thread Ian Hickson
On Tue, 3 Apr 2012, Ojan Vafai wrote: On Tue, Apr 3, 2012 at 4:14 PM, Ian Hickson i...@hixie.ch wrote: Fullscreen then defines that when you make an element fullscreen, it's pushed onto the top layer, and when an element is unfullscreened, it's yanked from the top layer. The user

Re: [whatwg] Fullscreen changes to support dialog

2012-04-03 Thread Ian Hickson
On Wed, 4 Apr 2012, Robert O'Callahan wrote: On Wed, Apr 4, 2012 at 11:14 AM, Ian Hickson i...@hixie.ch wrote: This layer consists of a stack of elements, which each CSS viewport maintains. These stacks are initially empty. When the layer is painted, the elements in the stack

Re: [whatwg] Invalid values of dir attribute causing change in appearance?

2012-04-02 Thread Ian Hickson
] in the UA style sheet. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

[whatwg] register*Handler and Web Intents

2012-04-02 Thread Ian Hickson
with rel= and it seems to work fine. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Fixing two security vulnerabilities in registerProtocolHandler

2012-04-02 Thread Ian Hickson
. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-04-02 Thread Ian Hickson
On Fri, 9 Mar 2012, Philip Jägenstedt wrote: On Thu, 08 Mar 2012 19:16:40 +0100, Ian Hickson i...@hixie.ch wrote: On Thu, 8 Mar 2012, Philip Jägenstedt wrote: I suggest the property offsetTime, defined as the stream time in seconds which currentTime and duration are relative

Re: [whatwg] Fixing two security vulnerabilities in registerProtocolHandler

2012-04-02 Thread Ian Hickson
On Mon, 2 Apr 2012, Boris Zbarsky wrote: On 4/2/12 7:39 PM, Ian Hickson wrote: For example, an attacker could open a window on a victim web page. The victim web page then opens aniframe on a content URL that triggers RPH. The attacker then navigates theiframe so that its

[whatwg] Canvas v5 API additions

2012-03-28 Thread Ian Hickson
. Is there a reason there's no way to turn off antialiasing? What's the use case? On Sat, 28 Jan 2012, Bronislav Klu�~Mka wrote: On 27.1.2012 20:02, Ian Hickson wrote: On Thu, 20 Oct 2011, Bronislav Klu�~Mka wrote: Would it be possible to extend canvas specification to include scroll bar functionality

Re: [whatwg] Canvas v5 API additions

2012-03-28 Thread Ian Hickson
, but I wanted to make sure you had the link now in case you had any more feedback!) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] iframe sandbox attribute

2012-03-26 Thread Ian Hickson
to change it to address this issue, since there is already an API for it. HTH, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] translate attribute conflicts with http://www.winktoolkit.org/documentation/symbols/HTMLElement.html#translate

2012-03-26 Thread Ian Hickson
Wink to avoid unprefixed names. That's asking for trouble. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] iframe sandbox attribute

2012-03-26 Thread Ian Hickson
an attribute to DOMSettableTokenList (or rather, a descendant, for use specifically with iframe.sandbox) that does the same as .hasAttribute(), e.g.: iframe.sandbox.present ...or something, if that would help. -- Ian Hickson U+1047E)\._.,--,'``.fL http

Re: [whatwg] script features

2012-03-23 Thread Ian Hickson
On Fri, 23 Mar 2012, Jonas Sicking wrote: The whole point of this feature is to enable the js-code inside a loaded script to use the .currentScript property in order to find the script element in the DOM which loaded it. Ah, ok. What's the use case for that? -- Ian Hickson

Re: [whatwg] Proposal for non-modal versions of modal prompts

2012-03-19 Thread Ian Hickson
be highly appreciated! Moving forward, I think the dialog element that we'll soon be adding is probably a better direction to go in. http://wiki.whatwg.org/wiki/Dialogs#Proposal -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] API for encoding/decoding ArrayBuffers into text

2012-03-13 Thread Ian Hickson
()/setString() method pair on DataView? Incidentally I _strongly_ suggest we only support UTF-8 here. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] API for encoding/decoding ArrayBuffers into text

2012-03-13 Thread Ian Hickson
it outside the ES spec. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] API for encoding/decoding ArrayBuffers into text

2012-03-13 Thread Ian Hickson
, len); offset += Uint32Array.BYTES_PER_ELEMENT + len; HTH, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] API for encoding/decoding ArrayBuffers into text

2012-03-13 Thread Ian Hickson
. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] API for encoding/decoding ArrayBuffers into text

2012-03-13 Thread Ian Hickson
just having one consistent API that does ints and strings equivalently. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Validator.nu: Attribute role not allowed on element h2 at this point.

2012-03-12 Thread Ian Hickson
is very much the appropriate requirement level here. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-03-08 Thread Ian Hickson
understand what the problem is, so it's hard for me to make changes. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] [media] startOffsetTime, also add startTime?

2012-03-08 Thread Ian Hickson
supports this assertion. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] di? Please?

2012-03-04 Thread Ian Hickson
On Sun, 4 Mar 2012, Hugh Guiney wrote: On Fri, Feb 3, 2012 at 3:22 PM, Ian Hickson i...@hixie.ch wrote: There are a number of places in HTML where it would be nice to be able to group things together -- just look at how often people stick divs in their pages for no purpose whatsoever

Re: [whatwg] di? Please?

2012-03-04 Thread Ian Hickson
On Sun, 4 Mar 2012, Hugh Guiney wrote: On Sun, Mar 4, 2012 at 5:07 PM, Ian Hickson i...@hixie.ch wrote: Then why is section in the spec? To make it easier to move subsections around without having to change all the h5s to h4s and so forth. That's it? That, and to give authors

Re: [whatwg] Addition of a setExtend(in DOMString extend) method to the CanvasGradient interface

2012-02-24 Thread Ian Hickson
plan to use it on? (i.e. is this just a convenience feature for something that's already possible?) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] including output in form submissions

2012-02-21 Thread Ian Hickson
to let the user change the value... How does that make sense for output? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] HTMLForms: Implicit Submission with {display:none} button

2012-02-21 Thread Ian Hickson
On Sat, 24 Sep 2011, Kaustubh Atrawalkar wrote: On 24-Sep-2011, at 12:24 AM, Ian Hickson i...@hixie.ch wrote: On Fri, 23 Sep 2011, Kaustubh Atrawalkar wrote: If the form has submit button with display property as none, will that form should be implicitly submitted on pressing enter key

Re: [whatwg] Focus remains on Hidden Element

2012-02-21 Thread Ian Hickson
element being explicitly focused in its stead, the user agent should synchronously run the focusing steps for the body element, if there is one; if there is not, then the user agent should synchronously run the unfocusing steps for the affected element only. -- Ian Hickson U+1047E

Re: [whatwg] focusability of visibility:hidden and display:none elements WAS: Autofocus readonly Input Elements

2012-02-21 Thread Ian Hickson
which made the divs not be properly hidden. With that bug fixed, a visibility:hidden div and a display:none div also come out as not focusable, as in the spec. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

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

2012-02-15 Thread Ian Hickson
On Wed, 20 Jul 2011, Tim Down wrote: On 6 January 2011 21:53, Ian Hickson i...@hixie.ch wrote: On Wed, 27 Oct 2010, benjamin.poul...@nokia.com wrote: I would like to suggest a change for the main HTML 5 specification: http://www.whatwg.org/specs/web-apps/current-work/ The problem I

Re: [whatwg] Document's base URI should use the document's *current* address

2012-02-15 Thread Ian Hickson
kinds of bad things and isn't what we should do. Consider: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1342 It doesn't make sense that the second image is broken. (For some reason in Firefox I get an exception. Not sure if I'm misusing the API or if it's a bug in Firefox.) -- Ian

Re: [whatwg] Document's base URI should use the document's *current* address

2012-02-15 Thread Ian Hickson
depending on when they are resolved relative to pushState() changes. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

[whatwg] a download feedback

2012-02-15 Thread Ian Hickson
On Fri, 22 Jul 2011, Glenn Maynard wrote: On Fri, Jul 22, 2011 at 2:58 AM, Ian Hickson i...@hixie.ch wrote: As Ian says above, if the user is savvy enough to right-click, the user is likely not going to find it difficult to give the file a name either. (But again, just because I'm able

Re: [whatwg] Why children of datalist elements are barred from constraint validation?

2012-02-14 Thread Ian Hickson
On Fri, 29 Jul 2011, Jonas Sicking wrote: On Fri, Jul 29, 2011 at 9:43 AM, Ian Hickson i...@hixie.ch wrote: On Fri, 29 Jul 2011, Jonas Sicking wrote: On Thu, Jul 28, 2011 at 6:07 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 2 May 2011, Jonas Sicking wrote: On Mon, May 2, 2011 at 3:36 PM

Re: [whatwg] Character-encoding-related threads

2012-02-13 Thread Ian Hickson
On Mon, 13 Feb 2012, Simon Pieters wrote: On Sat, 11 Feb 2012 00:44:22 +0100, Ian Hickson i...@hixie.ch wrote: On Wed, 7 Dec 2011, Henri Sivonen wrote: I believe I was implementing exactly what the spec said at the time I implemented that behavior of Validator.nu. I'm particularly

Re: [whatwg] document.write(\r): the spec doesn't say how to handle it.

2012-02-13 Thread Ian Hickson
On Mon, 19 Dec 2011, Henri Sivonen wrote: On Wed, Dec 14, 2011 at 2:00 AM, Ian Hickson i...@hixie.ch wrote: I can remove the text one at a time, if you like. Would that be satisfactory? Or I guess I could change the spec to say that the parser should process the characters, rather than

Re: [whatwg] HTML5 named entity Gt; and Lt;

2012-02-13 Thread Ian Hickson
. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] window.location aborting the parser and subsequent document.writes

2012-02-13 Thread Ian Hickson
responded with a redirect or something. How can you know what the origin is before the navigation is far further along? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible

Re: [whatwg] The blockquote element spec vs common quoting practices

2012-02-12 Thread Ian Hickson
On Sun, 12 Feb 2012, Jukka K. Korpela wrote: 2012-02-12 2:13, Ian Hickson wrote: That's not to say that one day we won't provide an explicit way to mark up attribution for blockquotes in markup, just that the desired presentation isn't a relevant concern in doing so The relationship

Re: [whatwg] The blockquote element spec vs common quoting practices

2012-02-12 Thread Ian Hickson
On Sun, 12 Feb 2012, Jukka K. Korpela wrote: 2012-02-12 19:54, Ian Hickson wrote: The blockquote has been, and will be, rather pointless without markup for “credits” (indication of author and source, which are normally required by law). What's the use case, other than

Re: [whatwg] The blockquote element spec vs common quoting practices

2012-02-12 Thread Ian Hickson
On Mon, 13 Feb 2012, Jukka K. Korpela wrote: 2012-02-12 23:25, Ian Hickson wrote: The use case for most of the semantic markup is just easier authoring and maintenance, in particular for selectors in CSS. If that’s the approach, and this reflects a consensus, shouldn’t this be explained

Re: [whatwg] The blockquote element spec vs common quoting practices

2012-02-11 Thread Ian Hickson
pattern. It has an effect. Thus I feel much more confident advocating use of the parallel: cite for=quote-id What effect would it have? You just pointed out that a feature with no effect is an antipattern. :-) -- Ian Hickson U+1047E)\._.,--,'``.fL http

[whatwg] Character-encoding-related threads

2012-02-10 Thread Ian Hickson
in) is for UTF-8 and UTF-16 encodings, and those don't have overrides (and hopefully never will). I hope the above is clear. Let me know if you think the spec is vague on the matter. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Using footer in blockquote for attribution

2012-02-10 Thread Ian Hickson
and is not present in the source. I've addressed this. Anyway, having a blockquote element but no markup for attribution is very illogical. Indeed. We may fix this in due course. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Should events be paused on detached iframes?

2012-02-08 Thread Ian Hickson
On Tue, 7 Feb 2012, Boris Zbarsky wrote: On 2/7/12 7:16 PM, Ian Hickson wrote: All of the above seem consistent with what the spec requires. Firefox actually seems to have a slight bug, which is that the event loop keeps pumping in the original page, but that seems like a separate

Re: [whatwg] Should events be paused on detached iframes?

2012-02-08 Thread Ian Hickson
On Wed, 8 Feb 2012, Boris Zbarsky wrote: On 2/8/12 3:20 PM, Ian Hickson wrote: In any case, in my testcase the entry script is the one running in test1.html, but the alert is being associated with test2.html. In general, I would expect that alerts are associated with the window

Re: [whatwg] Should events be paused on detached iframes?

2012-02-08 Thread Ian Hickson
On Wed, 8 Feb 2012, Boris Zbarsky wrote: On 2/8/12 3:50 PM, Ian Hickson wrote: Should events be paused on detached iframes? Or another question? (Sorry, I've lost the context here.) The thread is discontinuous in the archives (why?) Mailman archives suck. I found the thread in a more

Re: [whatwg] title/meta elements outside of head

2012-02-07 Thread Ian Hickson
for Microdata and RDFa Lite without having to mint new void elements. Henri is correct. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Decimal comma in numeric input

2012-02-07 Thread Ian Hickson
they expect, e.g. through XBL or whatever replaces it. This is all pie in the sky, though, it doesn't exist today. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take

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

2012-02-06 Thread Ian Hickson
On Tue, 10 Jan 2012, Adam Barth wrote: On Tue, Jan 10, 2012 at 2:35 PM, Ian Hickson i...@hixie.ch wrote: On Tue, 14 Jun 2011, Adam Barth wrote: On Tue, Jun 14, 2011 at 2:03 PM, Alexey Proskuryakov a...@webkit.org wrote: 28.02.2011, в 21:38, Ojan Vafai написал(а): FWIW, chromium

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

2012-02-06 Thread Ian Hickson
On Wed, 11 Jan 2012, Mounir Lamouri wrote: On 01/11/2012 01:05 AM, Ian Hickson wrote: On Tue, 14 Jun 2011, Rafa�~B Mi�~Becki wrote: We already have required attribute and :valid plus :invalid classes, which are nice. However some may want to display additional warning when form

Re: [whatwg] should we add beforeload/afterload events to the web platform?

2012-02-03 Thread Ian Hickson
like that already? If not, any opinions on an event name? script onbeforerun=? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] di? Please?

2012-02-03 Thread Ian Hickson
, so does the need for a huge number of divs. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] should we add beforeload/afterload events to the web platform?

2012-02-03 Thread Ian Hickson
On Fri, 3 Feb 2012, Boris Zbarsky wrote: On 2/3/12 3:07 PM, Ian Hickson wrote: OK. I have no serious problem with a beforeprocess event that fires before processing the response, esp. if processing is defined in a page-visible way (so e.g. you could still compile a script

Re: [whatwg] the impact of select.value behavior clearing current selection prior to setting the new selection

2012-02-02 Thread Ian Hickson
On Thu, 2 Feb 2012, Cameron McCormack wrote: Ian Hickson: It's my understanding that what you describe as what browsers do is also what the specs require. The attribute is defined as being of type long, so if I'm not misreading the Web IDL spec, the browser will try to convert the null

Re: [whatwg] On using abbr with no title and screen readers

2012-02-01 Thread Ian Hickson
on this matter; please let me know if you think the spec could be clarified in a helpful way here. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] A few questions on HTML5

2012-02-01 Thread Ian Hickson
for. HTH, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] the impact of select.value behavior clearing current selection prior to setting the new selection

2012-02-01 Thread Ian Hickson
require. The attribute is defined as being of type long, so if I'm not misreading the Web IDL spec, the browser will try to convert the null or string value to a number (and fail) long before the HTML spec's prose is relevant. -- Ian Hickson U+1047E

<    6   7   8   9   10   11   12   13   14   15   >