Re: [whatwg] onclose events for MessagePort

2013-12-11 Thread Ian Hickson
On Tue, 10 Dec 2013, Ehsan Akhgari wrote: On Fri, Dec 6, 2013 at 8:22 PM, Ian Hickson i...@hixie.ch wrote: It doesn't fire when a port's owner document is navigated away from, because that would prevent the page from being bfcached, which we try hard to avoid. For pages it's reasonably

Re: [whatwg] onclose events for MessagePort

2013-12-11 Thread Ian Hickson
On Wed, 11 Dec 2013, Ian Hickson wrote: So my proposal to handle this would be to send another 'error' event, basically any time you create a MessagePort that's entangled with someone who has crashed already. I've put this in the spec for now. -- Ian Hickson U+1047E

Re: [whatwg] onclose events for MessagePort

2013-12-11 Thread Ian Hickson
a 'load' event when created, if it is created without a src= attribute, for example. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] onclose events for MessagePort

2013-12-11 Thread Ian Hickson
. The problem, as described, is just we need to know when a remote port is killed due to an OOM error. The event handler does this. Why do we need to complicate it with two-way metadata messages to pin workers and so on? I really don't understand what that gets us. -- Ian Hickson

Re: [whatwg] onclose events for MessagePort

2013-12-08 Thread Ian Hickson
that all those conditions would line up. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Proposal: HTTP Headers + sessionStorage stored session-ID

2013-12-06 Thread Ian Hickson
/Bugs/Public/show_bug.cgi?id=24024 If any implementors want to implement this and thus would like this specced, please do comment on the bug. Cheers, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Image.complete in broken state

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

Re: [whatwg] Question on HTML5 media element, the seeking algorithm and the seeked event

2013-12-06 Thread Ian Hickson
is introduced by the requirement that says the user agent must run the following steps. See also: http://whatwg.org/html#conformance-requirements Thanks, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Specify getSVGDocument

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

Re: [whatwg] Configurability of document.domain

2013-12-06 Thread Ian Hickson
(suggesting there's no compat need, and likely no obvious security need), I've left the spec as-is for now. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take

Re: [whatwg] Fetch SVG images with No CORS tainted cross-origin

2013-12-06 Thread Ian Hickson
On Tue, 26 Nov 2013, Boris Zbarsky wrote: On 11/26/13 5:50 PM, Ian Hickson wrote: But the image inside this image would also be loaded as basic fetch tainted cross origin. Right? That's up to SVG. Note that Gecko has serious security concerns with allowing subresource loads like

Re: [whatwg] onclose events for MessagePort

2013-12-06 Thread Ian Hickson
On Tue, 1 Oct 2013, Ehsan Akhgari wrote: On Tue, Oct 1, 2013 at 1:45 PM, Ian Hickson i...@hixie.ch wrote: On Tue, 1 Oct 2013, Boris Zbarsky wrote: On 10/1/13 12:58 PM, Ian Hickson wrote: If the browser crashes, it's not going to be able to send messages anyway This concept

Re: [whatwg] Form-associated elements and the parser

2013-12-05 Thread Ian Hickson
of non-conforming content here anyway.) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Form-associated elements and the parser

2013-12-05 Thread Ian Hickson
. Or, we could have a form element pointer stack that parallels the template stack. I guess the latter is best for authors. How do implementors feel about adding a new stack for the template stuff? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch

Re: [whatwg] New social element (was: Various threads with feedback on HTML elements)

2013-12-05 Thread Ian Hickson
be first). Comments don't seem to quite fit as an aside or section Why would they not fit in section? They're in the comments section. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things

Re: [whatwg] Styling form controls (Was: Re: Forms-related feedback)

2013-12-04 Thread Ian Hickson
could list which of the standard pseudos each default binding is expected to expose, and then authors could style subparts of standard controls easily. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Form-associated elements and the parser

2013-12-04 Thread Ian Hickson
On Tue, 3 Dec 2013, Ryosuke Niwa wrote: On Dec 3, 2013, at 3:51 PM, Ian Hickson i...@hixie.ch wrote: On Tue, 3 Dec 2013, Ryosuke Niwa wrote: On Dec 3, 2013, at 10:42 AM, Adam Barth aba...@eecs.berkeley.edu wrote: Do we really need a stack? Can't we set the form element pointer

Re: [whatwg] Styling form controls (Was: Re: Forms-related feedback)

2013-12-04 Thread Ian Hickson
control with just a text control that pops up a spinner, in which case the ::button wouldn't match anything. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take

[whatwg] Forms-related feedback

2013-12-03 Thread Ian Hickson
for reading single files, is not necessarily easy to extrapolate to read+write rights to filesystems.) Anyway, I would recommend taking this up with the people already working on this in public-webapps. On Tue, 15 Oct 2013, Cameron Jones wrote: On Mon, Oct 14, 2013 at 9:04 PM, Ian Hickson i...@hixie.ch

Re: [whatwg] Mixed content WebSockets: use subprotocols!

2013-12-03 Thread Ian Hickson
'mixed'. I would be very dubious about any hand-rolled crypto being secure. Either browsers can ship with a whitelist, or extend the subprotocol argument in the Websocket ctor to specify that the protocol is secure. Why wouldn't people lie just to get around making things secure? -- Ian

Re: [whatwg] Possible bug in the way the spec about worker GC behavior

2013-12-03 Thread Ian Hickson
.org/tools/web-apps-tracker?from=8328to=8330 (Sorry for marking them editorial instead of normative.) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Behavior of anchor element when wrapping floated images

2013-12-03 Thread Ian Hickson
inside links, as in a:focus img. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Form-associated elements and the parser

2013-12-03 Thread Ian Hickson
; in fact that might be sufficient because when the template is cloned, all the special associations are lost anyway, IIRC. So the form element pointer would be useless anyway in the template on the long run. -- Ian Hickson U+1047E)\._.,--,'``.fL http

Re: [whatwg] Flow Control on Websockets

2013-12-03 Thread Ian Hickson
. That's not actually possible in many cases. Some Web APIs (e.g. channel messaging) are exclusively async, even in workers. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible

Re: [whatwg] Flow Control on Websockets

2013-12-03 Thread Ian Hickson
the data at the rate that the client is receiving it, which is (presumably) the rate the server is generating it. Just buffering doesn't help. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things

Re: [whatwg] Styling form controls (Was: Re: Forms-related feedback)

2013-12-03 Thread Ian Hickson
On Tue, 3 Dec 2013, Jonas Sicking wrote: On Tue, Dec 3, 2013 at 11:38 AM, Ian Hickson i...@hixie.ch wrote: The real fix is to allow styling formcontrols. It's one of the most requested features from web developers, yet no one has taken the time to research what it would take to do

Re: [whatwg] Styling form controls (Was: Re: Forms-related feedback)

2013-12-03 Thread Ian Hickson
) scrollbox UI. This part was never very well developed though since the core of XBL2 was never picked up. But I think the same approach should probably still work with the newer Web components work, no? It needs to be specified and implemented... -- Ian Hickson U+1047E

Re: [whatwg] OUTPUT tag: clarify purpose in spec?

2013-12-02 Thread Ian Hickson
On Thu, 26 Sep 2013, Jukka K. Korpela wrote: 2013-09-26 21:41, Ian Hickson wrote: There's a lot of output examples in the spec; do they help at all? There are indeed several examples, but they are scattered around; the section that specifically deals with the output element, 4.10.15

Re: [whatwg] Type strings to specify number of AAC audio channels

2013-11-27 Thread Ian Hickson
for doing such things. Not sure what the right spec would be for that. Anyone? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Parse errors for invalid characters

2013-11-26 Thread Ian Hickson
, the complexity becomes astronomically high very quickly. But I'm all in favour of conformance checkers checking these things as much as possible. On the other hand, a JS console can reasonably report parse errors from script, so the parse errors are still worthwhile to have. Right. -- Ian

Re: [whatwg] Should UA start dragging if [draggable] attr was set after mousedown?

2013-11-26 Thread Ian Hickson
after? Does the event fire before or after the timeout? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Should video controls generate click events?

2013-11-26 Thread Ian Hickson
or not. It might be best to keep them orthogonal, so browser controls are always UI controls that don't generate click events at all. On Wed, 11 Sep 2013, Simon Pieters wrote: On Wed, 11 Sep 2013 01:35:00 +0200, Ian Hickson i...@hixie.ch wrote: True, but there _is_ something now that says

Re: [whatwg] Fetch SVG images with No CORS tainted cross-origin

2013-11-26 Thread Ian Hickson
security origin? Anne answered the Fetch side of this; on the HTML side, I'm happy to invoke a hook if SVG provides one. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just

Re: [whatwg] High-density canvases

2013-11-25 Thread Ian Hickson
On Tue, 10 Sep 2013, Ian Hickson wrote: On Tue, 10 Sep 2013, Ian Hickson wrote: It would be nice to fix these all at once, and I think we can, by introducing a configuration option on getContext(), in the style of WebGL: getContext('2d', { density: 'autosize

[whatwg] Drawing shapes on canvas and feedback thereon

2013-11-25 Thread Ian Hickson
On Fri, 27 Sep 2013, Ruben Rodriguez II wrote: On 09/05/2013 05:22 PM, Ian Hickson wrote: Not always, only if you don't draw the line aligned with the pixel grid (e.g. you draw a diagonal line, or a horizontal or vertical line that isn't centered in the middle of pixels on the pixels

Re: [whatwg] Alignment of empty buttons

2013-11-24 Thread Ian Hickson
On Fri, 22 Nov 2013, Boris Zbarsky wrote: On 11/22/13 9:41 PM, Ian Hickson wrote: Sure, options are replaced elements either. You mean aren't? Right. They have nothing to do with CSS. Except in UAs where they seem to be, right? They aren't replaced elements, by the CSS definition in any

Re: [whatwg] Alignment of empty buttons

2013-11-24 Thread Ian Hickson
On Sun, 24 Nov 2013, Boris Zbarsky wrote: On 11/24/13 8:12 PM, Ian Hickson wrote: On Fri, 22 Nov 2013, Boris Zbarsky wrote: On 11/22/13 9:41 PM, Ian Hickson wrote: Sure, options are replaced elements either. You mean aren't? Right. They have nothing to do with CSS

Re: [whatwg] Alignment of empty buttons

2013-11-24 Thread Ian Hickson
On Sun, 24 Nov 2013, Boris Zbarsky wrote: On 11/24/13 10:27 PM, Ian Hickson wrote: (That's non-conforming, as far as I can tell, for what it's worth. The HTML spec says you're supposed to render elements according to what they represent, and option elements represent an option in a select

Re: [whatwg] Structured Clone of Map and Set objects

2013-11-22 Thread Ian Hickson
clone algorithm? (All that's needed is a hook that takes a value, and returns a new value that's a clone of the first, with a different realm, if I understand it right.) I've filed this bug to track this: https://www.w3.org/Bugs/Public/show_bug.cgi?id=23892 -- Ian Hickson U

Re: [whatwg] Alignment of empty buttons

2013-11-22 Thread Ian Hickson
On Thu, 5 Sep 2013, Boris Zbarsky wrote: On 9/5/13 4:47 PM, Ian Hickson wrote: In what sense? In the sense that if its computed display is block but its layout behavior is not that of a non-replaced block (CSS 2.1 section 10.3.3 and so forth), then it's clearly a replaced element

Re: [whatwg] Alignment of empty buttons

2013-11-22 Thread Ian Hickson
On Fri, 22 Nov 2013, Boris Zbarsky wrote: On 11/22/13 6:00 PM, Ian Hickson wrote: Hm, it's true that buttons do seem exceedingly eager to remain inline-block-esque even when set to more block-like display types. Or when set to display:inline, for that matter. The definition above

Re: [whatwg] Alignment of empty buttons

2013-11-22 Thread Ian Hickson
On Fri, 22 Nov 2013, Boris Zbarsky wrote: On 11/22/13 8:44 PM, Ian Hickson wrote: selects aren't rendered according to the CSS in the way that button contents are. Consider: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2654 OK, but consider http

Re: [whatwg] The src-N proposal

2013-11-19 Thread Ian Hickson
/Archives/Public/public-whatwg-archive/2012Aug/0070.html Search for multi-element for the specific response to proposals that involve multiple elements. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] imgset responsive imgs proposition (Re: The src-N proposal)

2013-11-15 Thread Ian Hickson
of Adam's idea is it doesn't have to be, no? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Questions regarding Path object

2013-11-12 Thread Ian Hickson
shipped it. Changing it now seems like a poor time to change it. ...but, if you won't ship it, maybe we need to change it after all? Would Apple ship a different name? What are Mozilla's opinions? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U

Re: [whatwg] The src-N proposal

2013-11-08 Thread Ian Hickson
coming up with even more elaborate mechanisms. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] The src-N proposal

2013-11-08 Thread Ian Hickson
complicated endeavour and would be really ugly. template provides a tool with which you can build specific solutions, but isn't itself a direct solution. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Concerns with dialog

2013-11-02 Thread Ian Hickson
the viewport height). That's an interesting idea, but I'm not convinced it's the right answer. Having the dialog move up and down when stuff is added at the bottom would be quite weird. You can always implement this manually from script. -- Ian Hickson U+1047E

Re: [whatwg] Comments on dialog

2013-11-02 Thread Ian Hickson
I'm mistaken, require some extra nodes lying around that we don't have with dialog. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] CanvasRenderingContext2D with addPath, currentPath

2013-11-02 Thread Ian Hickson
On Fri, 1 Nov 2013, Rik Cabanier wrote: On Fri, Nov 1, 2013 at 7:22 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 1 Nov 2013, Rik Cabanier wrote: The latest Safari is shipping currentPath and Blink has implemented it behind a runtime flag. Could we put this in the specification

Re: [whatwg] CanvasRenderingContext2D with addPath, currentPath

2013-11-01 Thread Ian Hickson
it more powerful. the proposal is for a new attribute on the 2d canvas rendering context: attribute Path currentPath; This attribute would give you a non-live/copy of the current path in device space. If it returns a copy, it should be a method. -- Ian Hickson U+1047E

Re: [whatwg] onclose events for MessagePort

2013-10-30 Thread Ian Hickson
On Tue, 29 Oct 2013, Ian Hickson wrote: Consider these three scenarios: A. Page Alpha opens a shared worker, and they communicate using a pair of MessagePorts. Alpha is navigated away, going to Beta in a different origin. Later, the user hits back, and since Alpha is still

Re: [whatwg] Avoiding synchronous iframe load

2013-10-25 Thread Ian Hickson
during a task, which is just crazy). It's going to be changed to be async on a queued task like fetch, once I revamp how it's specced, as per the aforementioned bug. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Avoiding synchronous iframe load

2013-10-25 Thread Ian Hickson
On Fri, 25 Oct 2013, Boris Zbarsky wrote: On 10/25/13 2:42 PM, Ian Hickson wrote: Step 17 (after going async) can jump back to step 8. Ah, I see. That's pretty non-obvious. Can we restructure this somehow to not have this random goto? That might help the understandability of the spec

Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

2013-10-18 Thread Ian Hickson
on walking the tree. Assuming most such calls are not failing, that would give you pretty good performance (O(N) on the depth of the subtree, more or less). -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

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

2013-10-18 Thread Ian Hickson
On Wed, 4 Sep 2013, Jukka K. Korpela wrote: 2013-09-04 0:09, Ian Hickson wrote: To a user, even “(an image)” is better than lack of alt attribute I disagree. The lack of an alt attribute can be used by user agents to substitute the string (an image), in which case it is the same

Re: [whatwg] Stroking algorithm in Canvas 2d

2013-10-16 Thread Ian Hickson
changing to that if browsers are able to. I don't think there's much of a problem either way; the advantage of the current model is that it leaves no ambiguity in the API about what it means to set an odd-length array. -- Ian Hickson U+1047E)\._.,--,'``.fL

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-10-16 Thread Ian Hickson
On Thu, 12 Sep 2013, Dominic Mazzoni wrote: On Wed, Sep 11, 2013 at 5:54 PM, Ian Hickson i...@hixie.ch wrote: On Tue, 10 Sep 2013, Dominic Mazzoni wrote: We've finished implementing drawSystemFocusRing and drawCustomFocusRing in Chrome. Try it in Chrome 31 or higher (either canary

Re: [whatwg] canvas 2d's ellipse

2013-10-16 Thread Ian Hickson
On Tue, 17 Sep 2013, Rik Cabanier wrote: On Tue, Sep 17, 2013 at 1:27 PM, Ian Hickson i...@hixie.ch wrote: Dramatically simplifying the situation here, we're saying that the available options are: A: All buggy applications fail to compile, because of static checking. Cost to fix

Re: [whatwg] Path API feedback

2013-10-16 Thread Ian Hickson
On Wed, 18 Sep 2013, Rik Cabanier wrote: On Tue, Sep 17, 2013 at 10:20 AM, Ian Hickson i...@hixie.ch wrote: On Tue, 20 Aug 2013, Rik Cabanier wrote: On Sat, 23 Mar 2013, Rik Cabanier wrote: The current path APIs suffer from conflating path segments and geometry. To fix

Re: [whatwg] Questions regarding Path object

2013-10-16 Thread Ian Hickson
On Fri, 20 Sep 2013, Jürg Lehni wrote: On Aug 20, 2013, at 11:32 , Ian Hickson i...@hixie.ch wrote: On Sat, 23 Mar 2013, Jürg Lehni wrote: - Paper.js has its own share of classes, and one of them is called Path. We normally run scoped but allow people to inject into the global scope

Re: [whatwg] Canvas - Somewhat inconsistent rules in the spec for drawImage

2013-10-16 Thread Ian Hickson
for both images and canvases. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Stroking algorithm in Canvas 2d

2013-10-15 Thread Ian Hickson
On Tue, 15 Oct 2013, Rik Cabanier wrote: at this point, should I file a bug on the dashing algorithm, or is the email thread enough? Do you prefer to track things with a bug or e-mail? Either is fine by me, I just find it confusing when we have both. -- Ian Hickson U+1047E

Re: [whatwg] Stroking algorithm in Canvas 2d

2013-10-15 Thread Ian Hickson
“To retain compatibility with a non-web technology which was invented before you were born.” Agreed. In this case, if we add a feature in the future to control this, it'll be moot -- all the various behaviours will be possible. -- Ian Hickson U+1047E

Re: [whatwg] IRC and WWW integration proposal

2013-10-14 Thread Ian Hickson
such a link type in the link type registry. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] HTTP Forms extension specification

2013-10-14 Thread Ian Hickson
, versioning), greater flexibility over payload binding and the ability to avoid using cookies for session continuation. Can you elaborate? What are the end-user use cases that this proposal would enable, that are not possible today? -- Ian Hickson U+1047E

Re: [whatwg] Supporting scanners on the web

2013-10-14 Thread Ian Hickson
going with input type=file accept=image/* for now, and seeing where that gets us. We can always add attributes or an API if there's a real need for more control. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

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

2013-10-14 Thread Ian Hickson
, to aid scripts doing localisation https://www.w3.org/Bugs/Public/show_bug.cgi?id=23512 Expose the user's preferred languages in a DOM API https://www.w3.org/Bugs/Public/show_bug.cgi?id=23517 Cross-origin seamless iframes https://www.w3.org/Bugs/Public/show_bug.cgi?id=23513 -- Ian

Re: [whatwg] Proposal: Locale Preferences API

2013-10-14 Thread Ian Hickson
API to expose locale-specific settings https://www.w3.org/Bugs/Public/show_bug.cgi?id=22679 API to expose actual language of a node, to aid scripts doing localisation and CJK editors during copypaste and dragdrop https://www.w3.org/Bugs/Public/show_bug.cgi?id=23512 -- Ian Hickson

Re: [whatwg] Supporting scanners on the web

2013-10-14 Thread Ian Hickson
On Mon, 14 Oct 2013, Jonas Sicking wrote: On Mon, Oct 14, 2013 at 3:33 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 30 Sep 2013, Benjamin Smedberg wrote: For now I intend to focus on implementing the scanning UI in the browser and just handing the site the final product. Any thoughts

Re: [whatwg] Supporting scanners on the web

2013-10-14 Thread Ian Hickson
On Mon, 14 Oct 2013, Rick Waldron wrote: Does providing a means to scan-to-the-web make web developers a new group for patent trolls to target? https://www.eff.org/deeplinks/2013/01/scanning-documents-patent-trolls-want-you-pay Only your own legal counsel can determine that for you. -- Ian

Re: [whatwg] Stroking algorithm in Canvas 2d

2013-10-10 Thread Ian Hickson
though. What about curves? Curves are lines too. The spec uses the term path, though. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Stroking algorithm in Canvas 2d

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

Re: [whatwg] Proposal: Adding methods like getElementById and getElementsByTagName to DocumentFragments

2013-10-10 Thread Ian Hickson
not putting authors first, but are instead putting spec purity first. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Web development

2013-10-10 Thread Ian Hickson
for most things! For selectors, I recommend posting to the www-st...@w3.org mailing list. HTH, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Stroking algorithm in Canvas 2d

2013-10-10 Thread Ian Hickson
no spec has done afaik) or you give examples (like https://developer.apple.com/library/ios/documentation/graphicsimaging/conceptual/drawingwithquartz2d/dq_paths/dq_paths.html ) Or you can give prose that describes it unambiguously, which I believe is what the spec does now. -- Ian Hickson

Re: [whatwg] Stroking algorithm in Canvas 2d

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

Re: [whatwg] Stroking algorithm in Canvas 2d

2013-10-10 Thread Ian Hickson
On Thu, 10 Oct 2013, Rik Cabanier wrote: Dean, Roc, Justin, would you change Canvas' stroking behavior so it no longer matches SVG and CSS and your underlying graphics libraries? Where does CSS define dashing? -- Ian Hickson U+1047E)\._.,--,'``.fL

Re: [whatwg] Stroking algorithm in Canvas 2d

2013-10-10 Thread Ian Hickson
On Thu, 10 Oct 2013, Justin Novosad wrote: You can't specify a dash pattern AFAIK, but there is border-style: dashed Generally speaking, that works more like what you're proposing than what Rik is proposing or what I'm proposing, though. -- Ian Hickson U+1047E

Re: [whatwg] Stroking algorithm in Canvas 2d

2013-10-10 Thread Ian Hickson
On Thu, 10 Oct 2013, Rik Cabanier wrote: On Thu, Oct 10, 2013 at 1:28 PM, Ian Hickson i...@hixie.ch wrote: On Thu, 10 Oct 2013, Rik Cabanier wrote: If you draw a rect with dashes today, the dashing will be applied normally. Justin wants to change this behavior so we

Re: [whatwg] Stroking algorithm in Canvas 2d

2013-10-10 Thread Ian Hickson
On Thu, 10 Oct 2013, Justin Novosad wrote: On Thu, Oct 10, 2013 at 5:48 PM, Ian Hickson i...@hixie.ch wrote: On Thu, 10 Oct 2013, Rik Cabanier wrote: setLineDash([30]); rect(10, 10, 100, 100); rect(10, 110, 100, 100); rect(10, 210, 100, 100); stroke(); These rectangles

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

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

Re: [whatwg] Stroking algorithm in Canvas 2d

2013-10-09 Thread Ian Hickson
On Fri, 27 Sep 2013, Rik Cabanier wrote: On Fri, Sep 27, 2013 at 3:35 PM, Ian Hickson i...@hixie.ch wrote: The idea here is that this line: -- ...would result in this dash (assuming equally spaced on-off): --- --- --- --- --- ...while

Re: [whatwg] Should onfoo event handler properties be on Element or HTMLElement?

2013-10-08 Thread Ian Hickson
semantics that HTML has: http://whatwg.org/html/#event-handler-content-attributes -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] onclose events for MessagePort

2013-10-01 Thread Ian Hickson
capability grants, which can get vended like candy. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] onclose events for MessagePort

2013-10-01 Thread Ian Hickson
On Tue, 1 Oct 2013, Boris Zbarsky wrote: On 10/1/13 12:58 PM, Ian Hickson wrote: If the browser crashes, it's not going to be able to send messages anyway This concept of the browser... The situation being considered here is that you have two web pages in two different OS-level

Re: [whatwg] onclose events for MessagePort

2013-10-01 Thread Ian Hickson
On Tue, 1 Oct 2013, Boris Zbarsky wrote: On 10/1/13 1:45 PM, Ian Hickson wrote: Crashing is non-conforming. That's not useful. Hence the smiley. How often are we really expecting one tab to be talking to another tab, and then that tab crashes, and the author was able to prepare

Re: [whatwg] Bug in 12.2.5.4.8 (The text insertion mode) when invoking the spin the event loop algorithm

2013-10-01 Thread Ian Hickson
understand how this would solve the problem. You'd still end up resuming the parser after document.open() nukes the Document, leading to the script running and so forth. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Forms: input type=file and directory tree picking

2013-10-01 Thread Ian Hickson
On Thu, 29 Aug 2013, Jonas Sicking wrote: On Thu, Aug 29, 2013 at 2:45 PM, Ian Hickson i...@hixie.ch wrote: On Thu, 29 Aug 2013, Jonas Sicking wrote: On Thu, Aug 29, 2013 at 1:20 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 2 Aug 2013, Jonathan Watt wrote: I'm working on Mozilla's

Re: [whatwg] Adding 2D Canvas features

2013-09-30 Thread Ian Hickson
On Mon, 30 Sep 2013, Tom Wiltzius wrote: On Fri, Sep 27, 2013 at 2:21 PM, Ian Hickson i...@hixie.ch wrote: On Thu, 5 Sep 2013, Tom Wiltzius wrote: Meanwhile this doesn't change the other Canvas2D-related work ongoing in the Chromium project, so we're still keen to see some new

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-09-30 Thread Ian Hickson
of the path is visible, if that object is focused. The drawFocusRing spec would be modified to specify that scrolling the viewport is part of the spec, too. How would this differ from scrollPathIntoView() ? -- Ian Hickson U+1047E)\._.,--,'``.fL http

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-09-30 Thread Ian Hickson
don't understand what the problem is with the current API, but I agree that if it's broken it should be fixed. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take

Re: [whatwg] 2D canvas feature proposal: text decoration

2013-09-27 Thread Ian Hickson
On Wed, 21 Aug 2013, Justin Novosad wrote: On Tue, Aug 20, 2013 at 6:32 PM, Ian Hickson i...@hixie.ch wrote: On Thu, 18 Apr 2013, Justin Novosad wrote: This is a really simple proposal to add support for text decorations in 2D canvas contexts. IDL to add to interface

Re: [whatwg] Blurry lines in 2D Canvas

2013-09-27 Thread Ian Hickson
On Thu, 5 Sep 2013, Rik Cabanier wrote: On Thu, Sep 5, 2013 at 3:22 PM, Ian Hickson i...@hixie.ch wrote: On Sat, 10 Aug 2013, Rik Cabanier wrote: I was wondering if this is something that happens in Flash as well. It turns out that there's an option called hinting: Keep stroke

Re: [whatwg] Adding 2D Canvas features

2013-09-27 Thread Ian Hickson
haven't added canvas text decoration APIs, which have been raised as something Chrome might implement, as discussed in my last e-mail to this list. The alpha parameter, though, needs speccing, I just haven't gotten around to it yet -- it's on my list though.) -- Ian Hickson U+1047E

Re: [whatwg] High-density canvases

2013-09-27 Thread Ian Hickson
On Mon, 9 Sep 2013, Rik Cabanier wrote: On Mon, Sep 9, 2013 at 5:00 PM, Ian Hickson i...@hixie.ch wrote: So my understanding is that the reason this feature failed is that there's existing content that assumes a 1:1 ratio, and having an automatic high-density mode was making some pages

Re: [whatwg] Challenging canvas.supportsContext

2013-09-27 Thread Ian Hickson
On Thu, 5 Sep 2013, Benoit Jacob wrote: 2013/9/3 Ian Hickson i...@hixie.ch The long and short of this is that I renamed supportsContext() to probablySupportsContext(). It's already implemented in WebKit And that's the real cost of having accepted supportsContext too early in the HTML

Re: [whatwg] Stroking algorithm in Canvas 2d

2013-09-27 Thread Ian Hickson
On Mon, 9 Sep 2013, Rik Cabanier wrote: On Mon, Sep 9, 2013 at 9:33 AM, Ian Hickson i...@hixie.ch wrote: On Thu, 5 Sep 2013, Rik Cabanier wrote: we've looked over the algorithm in the Canvas spec that describes how strokes are computed. [1] We think that this section is making

Re: [whatwg] OUTPUT tag: clarify purpose in spec?

2013-09-26 Thread Ian Hickson
guess. I meant more actual calculations rather than just lookups, but lookups can be the results of user action, so... There's a lot of output examples in the spec; do they help at all? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Comments on dialog

2013-09-26 Thread Ian Hickson
On Mon, 26 Aug 2013, Matt Falkenhagen wrote: On Thu, Aug 22, 2013 at 7:58 AM, Ian Hickson i...@hixie.ch wrote: On Mon, 22 Apr 2013, Tab Atkins Jr. wrote: On Mon, Apr 22, 2013 at 12:38 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 22 Apr 2013, Matt Falkenhagen wrote: 3. For centering

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