Re: [whatwg] AudioTrack enabling - missing behaviour in the specification

2013-07-16 Thread Ian Hickson
> enabled track. What if you can't play the most recently requested track, e.g. because it is in a format that your hardware can't handle? (e.g. too great a bitrate or something) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Proposal: location.parentOrigin

2013-07-16 Thread Ian Hickson
On Wed, 17 Jul 2013, Tobie Langel wrote: > On Wednesday, July 17, 2013 at 12:42 AM, Ian Hickson wrote: > > On Wed, 17 Jul 2013, Tobie Langel wrote: > > > On Tuesday, July 16, 2013 at 7:53 PM, Ian Hickson wrote: > > > > Can't you do window.is

Re: [whatwg] Adding blending to the canvas API

2013-07-16 Thread Ian Hickson
tegrating with the "Compositing and Blending" spec is on my TODO list. I currently owe you a response to: http://lists.w3.org/Archives/Public/public-whatwg-archive/2012Dec/0229.html ...which involves doing that. -- Ian Hickson U+1047E)\._.,--,'``.fL

Re: [whatwg] Enabling LCD Text and antialiasing in canvas

2013-07-16 Thread Ian Hickson
; So, given we want more creation attributes and given WebGL already has a > way to declare opaqueness why not follow the existing method and add > context creation parameters to 2d canvas to solve this issue rather than > make a new and conflicting &#

Re: [whatwg] Proposal: location.parentOrigin

2013-07-16 Thread Ian Hickson
On Wed, 17 Jul 2013, Tobie Langel wrote: > On Tuesday, July 16, 2013 at 7:53 PM, Ian Hickson wrote: > > Can't you do window.isSameOrigin by just trying to access > > window.location.href and seeing if you get an exception? > > Unfortunately not, because of the previ

[whatwg] Feature requests that I've converted to bugs

2013-07-16 Thread Ian Hickson
Over the years I've collected a number of threads on this list that were requesting features (as opposed to reporting bugs), and which lacked immediate interest from more than one browser vendor. Unfortunately, while I've been tracking them, they don't have much visibility and so I don't alway

Re: [whatwg] proposal: Add support for masking to canvas

2013-07-16 Thread Ian Hickson
On Fri, 1 Feb 2013, Cameron McCormack wrote: > On 30/01/13 6:28 PM, Ian Hickson wrote: > > That's weird. heycam, can you elaborate on this? The addHitRegion() > > case in particular never makes sense to be called without a dictionary > > containing at least one memb

Re: [whatwg] HTML: A DOM attribute that returns the language of a node

2013-07-16 Thread Ian Hickson
its lang attribute for the same Unicode > codepoint. Sure, but internal UA uses aren't use cases for the Web. The use cases Peter gave over the weekend are valid, though. -- Ian Hickson U+1047E)\._.,--,'``.

Re: [whatwg] Feedback on Web Worker specification

2013-07-16 Thread Ian Hickson
to cause any effect that the user could see, if the script cannot communicate with a script that does have access to the DOM? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Proposal: location.parentOrigin

2013-07-16 Thread Ian Hickson
On Tue, 20 Nov 2012, Tobie Langel wrote: > On Tue, Nov 20, 2012 at 6:47 AM, Ian Hickson wrote: > > On Mon, 26 Mar 2012, Adam Barth wrote: > >> > >> For nested browsing contexts, expose the origin of the parent > >> browsing context via location.par

Re: [whatwg] Details on window.open

2013-07-15 Thread Ian Hickson
On Mon, 15 Jul 2013, Boris Zbarsky wrote: > On 7/15/13 4:44 PM, Ian Hickson wrote: > > > > Can't they just resize the window or scroll it? > > It depends. It's common to open these windows non-scrollable (which UAs > usually obey) and unresizable (which

Re: [whatwg] Details on window.open

2013-07-15 Thread Ian Hickson
On Tue, 18 Dec 2012, Boris Zbarsky wrote: > On 12/18/12 3:53 PM, Ian Hickson wrote: > > Per the spec, calls that would create a new browsing context are > > blocked unless called from the handler of a trusted 'click' event. > > That's not web-compatible..

Re: [whatwg] HTML: A DOM attribute that returns the language of a node

2013-07-13 Thread Ian Hickson
. What's the use case for having this in HTML? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Forcing orientation in content

2013-07-12 Thread Ian Hickson
re costly to create game assets and user experience for both > orientations. Sure, some orientations might be better -- just like the HTML spec is more readable on a taller large screen than on a landscape phone screen -- but if the user wants to play the other way, it seems wrong to

Re: [whatwg] Forms-related feedback

2013-07-12 Thread Ian Hickson
On Wed, 9 Jan 2013, TAMURA, Kent wrote: > On Wed, Nov 21, 2012 at 7:51 AM, Ian Hickson wrote: > > On Fri, 7 Sep 2012, TAMURA, Kent wrote: > > > > > > * For date, datetime, datetime-local, month, time, week, the > > > attribute returns a string in a field. If

Re: [whatwg] Inert nodes and element.click()

2013-07-12 Thread Ian Hickson
tivation > [3] > http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#run-synthetic-click-activation-steps The notes are non-normative, but I've tried to clarify what it means. Let me know if it's still confusing. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Reorganizing and fixing "origin"

2013-07-12 Thread Ian Hickson
of a URL"? I'm guessing Adam would be interested in revving the Origin spec to be more accurate if there's a problem with it; that would be my preference if at all possible. See also Adam's response to the message you cite above: http://www.ietf.org/m

Re: [whatwg] Alignment of empty buttons

2013-07-12 Thread Ian Hickson
c is pretty explicit about it not being: # When the button binding applies to a button element, the element is # expected to render as an 'inline-block' box rendered as a button whose # contents are the contents of the element. -- http://www.whatwg.org/specs/web-apps/curr

Re: [whatwg] HTML: A DOM attribute that returns the language of a node

2013-07-12 Thread Ian Hickson
things like this. There's no reason to limit yourself to the API visible to JavaScript. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Forcing orientation in content

2013-07-12 Thread Ian Hickson
a user on desktop, I can resize my window however I want, to be landscape or portrait. Why wouldn't I be allowed to do the same on any other device? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\

Re: [whatwg] scrdoc and session history don't play along in the spec

2013-07-12 Thread Ian Hickson
x27;t see anything in the spec that allows "bbb" to be shown. On Sun, 23 Jun 2013, Adam Barth wrote: > > I guess it depends on what you mean by "rely". We just treat the > about:srcdoc URL as something that, when fetched, retrieves the value > currently s

Re: [whatwg] img loading events - can load & error fire for the same image?

2013-07-12 Thread Ian Hickson
e > the width & height) will fire "load" but not "error". Right. > I agree with this, as it means the browser can defer decoding to render > time, but do we need a way in JS to confirm an image is decodable? What's the use case? (Surely the server should check this on the server.) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Question about document.referrer (and document.URL, document.location.href) when IDN domains are in use

2013-07-12 Thread Ian Hickson
than document.referrer: http://whatwg.org/html/#set-the-document's-address If other browsers don't match this, file bugs on them. :-) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Schemes for registerProtocolHandler

2013-07-12 Thread Ian Hickson
tly prompts the user what to do with the phone number provided) > > They seem to be in line with those currently in the list. Should they be > added to the spec? Added. > BTW, the spec's list is not in alphabetical order. Fixed. -- Ian Hickson U+1047E

Re: [whatwg] Why are we merging Document and HTMLDocument again?

2013-07-12 Thread Ian Hickson
On Thu, 14 Mar 2013, Anne van Kesteren wrote: > On Tue, Mar 5, 2013 at 8:42 PM, Boris Zbarsky wrote: > > On 3/5/13 3:30 PM, Ian Hickson wrote: > >> I'd be fine with having a Document descendant that is used for > >> Documents that have global scopes / browsing con

Re: [whatwg] Canonical Image and Color

2013-07-12 Thread Ian Hickson
> * Color > > In all these cases, a canonical color allows external parsers to provide > further branding or additional flourish in their representation of apps > and pages. Microsoft's "msapplication-TileColor" and > "msapplication-navbutton-color" eleme

Re: [whatwg] HTML Specification update request: bug 20939

2013-07-12 Thread Ian Hickson
e-mail feedback; sending both just ends up making one of them get a response like this one. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] A question about portrait-secondary of screen orientation

2013-07-12 Thread Ian Hickson
"portrait"(or "landscape") into allowed orientations, > or; > > 2. Filter out disallowed orientations from orientation sequence and > lock the screen with that list. I believe feedback on this specification is intended to be sent to public-weba...@w3.org. HTH, --

Re: [whatwg] supporting HTMLElement.dataset on SVG elements

2013-07-12 Thread Ian Hickson
ade so far (e.g. moving 'id' to Element, getting rid of the animated class stuff from SVG), before we start making even more changes on this front. That seems reasonable. Anyway, whenever this gets added to Element, I'll remove it from HTMLElement. -- Ian Hickson U

[whatwg] Stack trace in window.onerror

2013-07-12 Thread Ian Hickson
approaching the es-discuss list about this. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Reporting errors during Web Worker startup

2013-07-12 Thread Ian Hickson
recommendation here would be to just queue the worker up and wait for there to be available resources. Or, even better, to run workers in a thread pool, and when you have more workers than threads, time share the threads between the workers. -- Ian Hickson U+1047E

Re: [whatwg] Baseline of objects

2013-07-12 Thread Ian Hickson
inside the element and make it possible for the element > to increase or decrease its width and height in both directions, exactly > like Flash can do it. This seems like a presentational/styling request. I recommend approaching the CSS working group. HTH, -- Ian Hickson

Re: [whatwg] Resource loading in browsing context-less Documents

2013-07-11 Thread Ian Hickson
On Wed, 19 Dec 2012, Boris Zbarsky wrote: > On 12/19/12 12:55 PM, Ian Hickson wrote: > > On Wed, 19 Dec 2012, Boris Zbarsky wrote: > > > On 12/19/12 12:37 PM, Ian Hickson wrote: > > > > Yes, just not an active one. > > > > > > OK. I don't

Re: [whatwg] iframe sandbox and top navigation

2013-07-11 Thread Ian Hickson
implies it's been sandboxed with > 'allow-same-origin' of course). > > From discussions with Bobby, I think we prefer the second option. The > restriction on navigating window.top would only be applied in the cross > domain case. I don

Re: [whatwg] Enabling LCD Text and antialiasing in canvas

2013-07-10 Thread Ian Hickson
On Sat, 24 Nov 2012, Adam Barth wrote: > On Fri, Nov 23, 2012 at 3:04 PM, Ian Hickson wrote: > > On Mon, 12 Nov 2012, Justin Novosad wrote: > >> For many types of apps, DOM-based rendering is uncompetitively slow > >> [so we should make text rendering in canvas more

Re: [whatwg] Adding features needed for WebGL to ImageBitmap

2013-07-10 Thread Ian Hickson
after all.) > I suspect that in the future some options will be desired even for the > 2D canvas use case, and having the dictionary already specified will > make that easier. There is no need to invent a new primitive and means > of loading it. If options make sense for 2D canvas, then

Re: [whatwg] Adding features needed for WebGL to ImageBitmap

2013-07-10 Thread Ian Hickson
scrolling.) It seems like the right solution is to create a primitive for WebGL that represents images that are going to be used in WebGL calls. Such a primitive could use the same sources for images as ImageBitmap, but would be specifically for use with WebGL, in the same way that ImageBitmap is use

Re: [whatwg] Adding features needed for WebGL to ImageBitmap

2013-07-10 Thread Ian Hickson
; i.data[0] = 255; > ctx.putImageData(i, 0, 0); > i2 = ctx.getImageData(0, 0, 1, 1); > console.log(i2.data[0]) // prints 0 on both FF and Chrome This is using ImageData, not ImageBitmap. Are we talking about the same thing here? I'm confused. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

[whatwg] Script preloading

2013-07-09 Thread Ian Hickson
would first wait for that to finish. (We could make markNeeded() return a promise, too.) Is there a need for delaying the download of a script as well? (If so, we could change whenneeded="" to have values, like whenneeded="execute" vs whenneeded="

Re: [whatwg] Another issue in 12.2.5.5 parsing tokens in foreign content

2013-07-03 Thread Ian Hickson
ur even more context sensitive doesn't seem > like a good thing. I think we're _so_ far beyond this ideal world that I'm not sure it's worth even looking for it, to be honest. :-) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] [Canvas][WebIDL] Canvas .addText takes NoInterfaceObject argument

2013-07-03 Thread Ian Hickson
ust means that window.CanvasDrawingStyle is > undefined, basically. It doesn't affect anything else. > > addText, as an example, takes any object that implements the > CanvasDrawingStyle interface. That would include any DrawingStyle > object and any CanvasRenderingContext2D

Re: [whatwg] Another issue in 12.2.5.5 parsing tokens in foreign content

2013-07-02 Thread Ian Hickson
op the hack from innerHTML. > Looking back a couple of years, this section of the spec seems to be > drifting in a random walk away from reality. We can study this further > and try suggesting some text based on what we have implemented so far. Well, when it started it wasn'

Re: [whatwg] Html5 Parser Tree Construction Stage

2013-07-01 Thread Ian Hickson
not really sure what would be helpful. There's some introductory text before the insertion modes. I would be happy to add more -- have you had any luck understanding it better? Do you know what would have been most helpful to get you off the ground faster? --

Re: [whatwg] Spec ambiguity and Firefox bug for newlines following and

2013-07-01 Thread Ian Hickson
issues whether they're sent by e-mail or as bugs. I just happen to deal with them in batches, and for the first half of this year I've been focusing on bugs. Filing both just means one of the two is going to get a confused "I thought we fixed this" response, or something

Re: [whatwg] "adjusted current node" in 12.2.5.5

2013-07-01 Thread Ian Hickson
e is an element in the MathML namespace, adjust > > MathML attributes for the token. > > Since the current node in the fragment parsing case is still , > this will not have the desired effect. > > Should this section be changed to refer to the adjus

Re: [whatwg] Question about DOMImplementation.createHTMLDocument() specifications

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

Re: [whatwg] Another issue in 12.2.5.5 parsing tokens in foreign content

2013-07-01 Thread Ian Hickson
t the top of the > stack, the "element in scope" algorithm will always find it, and as a > result, the first part of the condition will always fail. I ended up removing this from the spec for other reasons, so this should be resolved now.

Re: [whatwg] HTML5 is broken: causes infinite loop

2013-07-01 Thread Ian Hickson
nce > around with the start tag token making absolutely no progress > whatsoever. This was an error that resulted when I renamed (which was allowed in ) to (which is not). I apparently did a poor job of correcting the parsing. Fixed (it's now only mentioned "

Re: [whatwg] Requiring the Encoding Standard preferred name is too strict for no good reason

2013-07-01 Thread Ian Hickson
han just throw the ISO spec under the bus, but it's really up to you (Henri, and whoever else is implementing a validator). Given the above context, do you still think we should make ISO-8859-1 unconditionally valid? If it is, I'll change the various places in the spec tha

Re: [whatwg] Attribute value (double-quoted) state

2013-07-01 Thread Ian Hickson
character reference in a double quoted attribute value", > or character references would have to be looked for in a second pass (so > you would first find the closing `"` and then re-parse the value to look > for character references since you skipped that in the first pass). I&#x

Re: [whatwg] Tokenizor PseudoCode

2013-07-01 Thread Ian Hickson
his true or not ? On Sat, 16 Mar 2013, Bjoern Hoehrmann wrote: > > No. Grepping for "PLAINTEXT" should make this clear. There's a number of places in the tree construction stage that change the tokenizer state, in particular, the parsing for these elements: title, noscript

Re: [whatwg] Question on Limits in Adaption Agency Algorithm

2013-07-01 Thread Ian Hickson
x27;t make a lot of intuitive sense. Unfortunately, the limits are > necessary so that implementations don't end up having to do quadratic > work. If this behavior is causing you trouble, you might want to run > your content through some sort of pre-processor that re-writes these

Re: [whatwg] Namespaces and tag names in the HTML parser

2013-07-01 Thread Ian Hickson
should have been "while the > current node is neither a tr element in the HTML namespace nor an html > element in the HTML namespace". > > To avoid confusion, it would be helpful, in each case, to state whether, > say, "a table element" refers to "a table element

Re: [whatwg] Proposal:Improve internationalization in the autocomplete attribute

2013-06-20 Thread Ian Hickson
c to be explicit about this. Let me know if it's still ambiguous. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] @aria-labelledby | Re: @generator-unable-to-provide-required-alt, figure with figcaption

2013-06-19 Thread Ian Hickson
On Wed, 19 Jun 2013, Martin Janecke wrote: > Am 17.06.2013 um 22:58 schrieb Ian Hickson: > > On Mon, 17 Jun 2013, Martin Janecke wrote: > >> Am 17.06.2013 um 11:35 schrieb Steve Faulkner: > >>> > >>> the restriction on figure/figcaption is only in the w

Re: [whatwg] Proposal:Improve internationalization in the autocomplete attribute

2013-06-17 Thread Ian Hickson
ted it before, the argument that was made was that a lot of sites do split the fields up in the US, and the strong recommendation that people use the single fields was the compromise we reached. I've left the fields in for now. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Proposal:Improve internationalization in the autocomplete attribute

2013-06-17 Thread Ian Hickson
t to get phone number broken into chunks. > Proposal: Consider adding additional detail sections to reduce the US bias. I'd much rather just drop the detailed sections entirely. People really shouldn't be using them, in any region. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] @aria-labelledby | Re: @generator-unable-to-provide-required-alt, figure with figcaption

2013-06-17 Thread Ian Hickson
examples exactly what the optimal markup should be, though. On Mon, 17 Jun 2013, Steve Faulkner wrote: > > Am 07.06.2013 um 23:13 schrieb Ian Hickson: > > >> > > >> > > > > > > If you have a caption from the user (as opposed to replacement

[whatwg] Adding 2D Canvas features (Was: Grouping in canvas 2d)

2013-06-14 Thread Ian Hickson
ed are the things that were needed for accessibility (hit regions) and the things that are the basis for some of the most-requested features (Paths). I think before we add more features, it's important that we figure out which browsers want to implement which features, and that we start

Re: [whatwg] Reconsidering how we deal with text track cues

2013-06-12 Thread Ian Hickson
ave a compelling reason. I don't see one for this proposed change. > Doing this will make WebVTT and the TextTrack API extensible for new cue > formats, such as cues in SSML format, or ThumbnailCues, or MidrollAdCues > or whatnot else we may see necessary in the future. It's already plenty extensible enough. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] font security on measureText

2013-06-07 Thread Ian Hickson
y. It makes loading fonts from other origins a pain.) On Mon, 6 May 2013, Rik Cabanier wrote: > > I logged https://www.w3.org/Bugs/Public/show_bug.cgi?id=21943 In the future, please note that there's no need to file a bug for topics raised on the WHATWG list -- just one or the other is fine. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] @generator-unable-to-provide-required-alt, figure with figcaption

2013-06-07 Thread Ian Hickson
ctly this way! > Authors of generators always have the option of generating things like > alt="(an image)", which can hardly be worse than lack of alt attribute. It's worse because it prevents authors from being able to find images that are lacking

Re: [whatwg] Request: Implementing a Geo Location URI Scheme

2013-06-07 Thread Ian Hickson
s, map app > developers and the users so everyone adopt the idea of having the geo > URI scheme adopted as an standard, I'm quite sure this idea can help a > lot of users and web developers to give a better user experience and it > is more import

Re: [whatwg] inputmode feedback

2013-06-06 Thread Ian Hickson
t; > As I see it @inputmode isn't here to be a feature like this but maybe > Hixie had a different vision when he wrote the specs for it. inputmode="" is mainly intended to control what keyboard to use on mobile devices. > Maybe if it was named

Re: [whatwg] inputmode attribute

2013-06-06 Thread Ian Hickson
t we would like to go with mode and script > separately. If everyone wants them split, and that's what gets implemented, then that's what should be specced, too. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

[whatwg] Namespaces and tag names in the HTML parser

2013-05-29 Thread Ian Hickson
the other. That actually means the opposite kind of change as is being proposed above: for example, it would mean changing the "table" end tag steps from what they say now (popping an HTML element), to popping any "table" element regardless of namespace. This would make the algorithm more consistent, and remove the bugs mentioned above. Is this what people want to do? It's not what you (Adam) implemented, as I understand it. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] HTML Namespace Elements

2013-05-29 Thread Ian Hickson
? It's saying that the subsequent steps apply if the "current node" is an element whose namespace (as given e.g. by the element's Element object's namespaceURI IDL attribute) is the string "http://www.w3.org/1999/xhtml";. -- Ian Hickson U+1047E

Re: [whatwg] links within an iframe cannot replace the parent document?

2013-05-28 Thread Ian Hickson
tanding the step from "URL shortener" having an iframe. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Microdata status

2013-05-28 Thread Ian Hickson
/a/chromium.org/forum/m/#!topic/blink-dev/b54nW_mGSVU > > Any insight welcomed. I don't think there's any pending feedback on the API in the spec, so there's no current plans to change it. -- Ian Hickson U+1047E)\._.,--

Re: [whatwg] Pull requests for HTML5 spec?

2013-05-28 Thread Ian Hickson
to understand the problem and the patch, which usually takes just as long as writing it in the first place. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Spec ambiguity and Firefox bug for newlines following and

2013-05-28 Thread Ian Hickson
to this mailing list. (For bugs, I might not give rationale when dealing with it.) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] [canvas] Proposal isPointInStroke(x, y)

2013-05-03 Thread Ian Hickson
oking of a path. It was easily implemented > on top of Direct2D, Cairo, Skia, and CoreGraphics and shouldn't be > difficult for other systems. > > We implemented this to help support functionality needed for shumway > (flash on html) Thanks for the heads-up. This is now in

Re: [whatwg] Proposal: API to ask the user for a file

2013-04-29 Thread Ian Hickson
o set up a situation where a site can trigger a download of a sensitive file (e.g. bank account details) and then trick the user into uploading it by asking the user to "Select the file you want to protect from uploading" or "For debugging purposes, select the newest

[whatwg] fillRule changes

2013-04-25 Thread Ian Hickson
ers ended up implementing this as an enum, this will work: var ruleArgSupported = false; c.fill({ toString: function() { ruleArgSupported = true; return 'evenodd'; } }); On Tue, 15 Jan 2013, Simon Sarris wrote: > > The current *fillRule *rules in the specification seem i

Re: [whatwg] Comments on

2013-04-22 Thread Ian Hickson
an iframe (perhaps > just seamless ones). Yes, it's intentionally that way (they don't escape) for non-seamless, cross-origin iframes, since that would be a security risk. It's true that for seamless iframes we could change that, but the usual use case for seamless iframe

Re: [whatwg] definition not compatible with existing user-agent user interfaces

2013-04-08 Thread Ian Hickson
On Mon, 8 Apr 2013, Boris Zbarsky wrote: > On 4/8/13 1:20 AM, Ian Hickson wrote: > > If a browser can cache the data for a frame based on which frame it is > > rather than just its URL > > In Gecko's case, say, it's cached based on URL and a sequence number (to

Re: [whatwg] definition not compatible with existing user-agent user interfaces

2013-04-07 Thread Ian Hickson
On Sun, 7 Apr 2013, Boris Zbarsky wrote: > On 4/7/13 9:52 PM, Ian Hickson wrote: > > > The way is defined, the document URI does not in any > > > way encode the document contents. > > > > This is the same as HTTP URLs where the server returns different >

Re: [whatwg] definition not compatible with existing user-agent user interfaces

2013-04-07 Thread Ian Hickson
the original source can't be obtained (e.g. a POST result); for cases where the original data can still be obtained (as is the case for anything where "view source" works), the page can maybe be reconstructed from source. In any case, the URL isn't

Re: [whatwg] Notifications: in workers

2013-04-03 Thread Ian Hickson
ich notifications with exposed DOMs until workers have DOMs. Not sure if that's on the cards, but notification systems on other platforms are getting _quite_ rich indeed. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Allowing authors to obtain a vertical

2013-03-29 Thread Ian Hickson
> > straightforward to just use horizontal and let the author opt-in to > > vertical with the attribute. > > No, auto is not useful in practice. We had this in jQuery UI and removed > it four years ago because it was a bad idea. Why is it a bad idea? -- Ian Hickso

Re: [whatwg] Allowing authors to obtain a vertical

2013-03-29 Thread Ian Hickson
t be vertical if you're tall, and horizontal if you're wide? I don't understand why anyone would ever want a tall horizontal slider. If you're making proprietary pseudo-elements for parts of the slider while waiting for Web Components to be ready t

Re: [whatwg] Question about document.referrer (and document.URL, document.location.href) when IDN domains are in use

2013-03-21 Thread Ian Hickson
apparently forgot to fill that in. Sorry about that. Try now. I'll leave your e-mail in my pile to make sure I deal with the remaining issues you mentioned, though. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] [html5] r7749 - [giow] (3) make reset text-indent for sanity's sake (like with table) Fix [...]

2013-03-13 Thread Ian Hickson
block-level, but as you point out on IRC, really they're more a second kind of inline in a magic line box. I've reverted the change. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Enabling LCD Text and antialiasing in canvas

2013-03-12 Thread Ian Hickson
On Tue, 12 Mar 2013, Stephen White wrote: > > As an example, the "darker" compositing mode was removed from the spec > due to hardware-accelerated performance concerns, IIRC. 'darker' was removed because it wasn't defined anywhere so couldn't be impl

Re: [whatwg] HTML Specification update request: bug 20939

2013-03-08 Thread Ian Hickson
m working on bugs primarily. I'll get there eventually. Sorry for the delay, I have a lot of backlog and a lot of it is really subtle complicated stuff that's taking a long time to carefully consider. -- Ian Hickson U+1047E)\._.,--,'``.fL

Re: [whatwg] We should not throw DOM Consistency and Infoset compatibility under the bus

2013-03-06 Thread Ian Hickson
On Wed, 6 Mar 2013, Simon Pieters wrote: > On Mon, 14 Jan 2013 09:40:56 +0100, Henri Sivonen wrote: > > > Would it be terrible to make attempts to mutate the 'is' attribute > > throw thereby teaching authors who actually try to mutate it that it's > > not mutable? > > We already have several a

Re: [whatwg] Why are we merging Document and HTMLDocument again?

2013-03-05 Thread Ian Hickson
t, because I don't want to stick a named getter > on every document. > > What happens with individual methods is a separate story. I'd be fine with having a Document descendant that is used for Documents that have global scopes / browsing contexts / the works, and one tha

Re: [whatwg] Fetch: networking tasks

2013-03-04 Thread Ian Hickson
Should > we rename it then (harhar)? It's used by various things, seach for "is the networking task source" in the HTML spec. e.g. "update the session history with the new page" uses it. Basically, anything that needs to be ordered relative to network a

Re: [whatwg] Cross-origin iframe and @sandbox=allow-same-origin

2013-02-25 Thread Ian Hickson
same-origin, the content ends up in a unique origin, not its "real" origin. > As a more general question: does iframe@sandbox="allow-same-origin" make a > page and a cross-origin iframe further connected than they are currently > without the keyword? The only differen

Re: [whatwg] inputmode feedback

2013-02-22 Thread Ian Hickson
On Wed, 20 Feb 2013, Ryosuke Niwa wrote: > > Why is name not an input type? There's a section that discusses it a bit: http://whatwg.org/html#the-difference-between-the-field-type,-the-autofill-field-name,-and-the-input-modality -- Ian Hickson

Re: [whatwg] Canvas: Fonts in workers

2013-02-21 Thread Ian Hickson
On Thu, 21 Feb 2013, Anne van Kesteren wrote: > On Thu, Feb 21, 2013 at 5:59 AM, Ian Hickson wrote: > > On Wed, 20 Feb 2013, Jonas Sicking wrote: > >> We could possibly still use the the FontLoader interface if we do the > >> following: * FontLoader need

Re: [whatwg] Canvas: Fonts in workers

2013-02-20 Thread Ian Hickson
that this is how FontLoader would work for workers. (We can't rely on what fonts are in the Document since that's shared state, and workers try to avoid shared state as a design principle.) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Sandboxed IFrames and downloads.

2013-02-15 Thread Ian Hickson
-mails with substantive feedback (such as yours) sent to this list will eventually get a response. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Is now an official HTML5 element?

2013-02-14 Thread Ian Hickson
t; browser differences matter very much. Agreed. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Is now an official HTML5 element?

2013-02-13 Thread Ian Hickson
t this role even exists. But that's a discussion for the ARIA list; this list is the wrong place to discuss ARIA. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Is now an official HTML5 element?

2013-02-13 Thread Ian Hickson
ou can use one in the other or vice versa, or have them separate, or just one, or have neither. > The spec doesn't look like it has clearly defined the relationship > between and . There is no relationship. One indicates a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content, e.g. a sidebar. The other is just a container for the dominant contents of an element. HTH, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Is now an official HTML5 element?

2013-02-13 Thread Ian Hickson
is. The spec goes into some detail about this, including with examples, here: http://whatwg.org/html#the-main-part-of-the-content http://whatwg.org/html#the-main-element http://whatwg.org/html#usage-summary-0 http://whatwg.org/html#sample-outlines -- Ian

Re: [whatwg] More stepUp() and stepDown() comments (was: Re: Forms-related feedback)

2013-01-30 Thread Ian Hickson
On Wed, 30 Jan 2013, Ian Hickson wrote: > > Mounir and I discussed this on IRC, but we didn't have enough data to > come to a conclusion. > > [...] > > Does anyone have any examples of UIs that give "page up" and "page down" > controls to c

Re: [whatwg] More stepUp() and stepDown() comments (was: Re: Forms-related feedback)

2013-01-30 Thread Ian Hickson
lowed value if > we do stepUp(1000) instead of doing nothing. If we believe my skeuomorphic argument, then in this latter example, you would expect the button to change the value to -10. Does anyone have any examples of UIs that give "page up" and "page down" controls to change values that can also be set to out-of-range values so we can study how existing UIs handle this? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] proposal: Add support for masking to canvas

2013-01-29 Thread Ian Hickson
one member. Do we have to allow it? (The webidl checker doesn't seem to catch this particular bug, by the way.) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

<    1   2   3   4   5   6   7   8   9   10   >