Re: [whatwg] Spec for location object needs to make some properties unforgeable; need supporting WebIDL changes

2012-10-23 Thread Ian Hickson
the one on Window) unforgeable: https://www.w3.org/Bugs/Public/show_bug.cgi?id=19560 -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] [canvas] Proposal for supportsContext

2012-10-22 Thread Ian Hickson
On Mon, 22 Oct 2012, Glenn Maynard wrote: > On Mon, Oct 22, 2012 at 6:36 PM, Ian Hickson wrote: > > > > > > If you really want to protect users from the behavior of pages, > > > you'd really need to make creating the context cheap. For example, > > >

Re: [whatwg] [canvas] Proposal for supportsContext

2012-10-22 Thread Ian Hickson
or similar. That's an interesting idea. Not sure if it's better or worse than the proprietary flags mentioned earlier... it's probably not as fine-grained in practice. On Mon, 10 Sep 2012, Glenn Maynard wrote: > > If you really want to protect users from the behavior of pag

Re: [whatwg] Modal Dialog Focus

2012-10-22 Thread Ian Hickson
l element to fall back to the first tab > focusable element if no element with autofocus exists. If there is still > no control element, I would expect the dialog itself to receive focus. The first focusable element is the element, effectively. -- Ian Hickson U+1047

Re: [whatwg] Submitting contentEditable Content In A Form

2012-10-20 Thread Ian Hickson
On Sat, 20 Oct 2012, Aryeh Gregor wrote: > > On Thu, Oct 18, 2012 at 1:23 AM, Ian Hickson wrote: > > Incidentally, it seems to use a WebKit-specific "plaintext-only" value. > > Should we spec that? Aryeh? It's filed as: > > > >https://www.w3.org

Re: [whatwg] Should scrollbars move focus?

2012-10-19 Thread Ian Hickson
ething where you're supposed to try to match the host platform conventions. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] checksum attribute in a href tag

2012-10-19 Thread Ian Hickson
feature would, in most cases, just give users a false sense of security. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Character-encoding-related threads

2012-10-19 Thread Ian Hickson
On Fri, 19 Oct 2012, Jukka K. Korpela wrote: > 2012-10-19 19:33, Ian Hickson wrote: > > On Fri, 19 Oct 2012, Jukka K. Korpela wrote: > > > > > > > > Are there any situations that this doesn't handle where it would > > > > be legitimate to omit

Re: [whatwg] checksum attribute in a href tag

2012-10-19 Thread Ian Hickson
always been found lacking in one way or another. e.g.: http://lists.w3.org/Archives/Public/public-whatwg-archive/2006Nov/thread.html#msg233 http://lists.w3.org/Archives/Public/public-whatwg-archive/2007Jul/0049.html http://lists.w3.org/Archives/Public/public-whatwg-archive/2008Dec/0376

Re: [whatwg] Character-encoding-related threads

2012-10-19 Thread Ian Hickson
#x27;s history or bookmarks, or in > search results." > http://www.whatwg.org/specs/web-apps/current-work/#the-title-element That isn't what that says. Please make sure never to read between the lines when reading a specification. --

Re: [whatwg] Why won't you let us make our own HTML5 browsers?

2012-10-18 Thread Ian Hickson
On Wed, 29 Aug 2012, Fred Andrews wrote: > From: i...@hixie.ch > > On Fri, 8 Jun 2012, Mark Callow wrote: > > > On 08/06/2012 06:09, Ian Hickson wrote: > > > > The dire warning doesn't work. I'm just saying that's the > > > > directi

Re: [whatwg] Separating intrinsic sizing out from the iframe seamless attribute

2012-10-18 Thread Ian Hickson
of the SVG. That's not a use case, that's a solution. What's the actual use case? i.e. why do you want to embed SVG as a document? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] maincontent element spec updated and supporting data provided

2012-10-18 Thread Ian Hickson
e.g. in the spec, a note or example), etc. HTH, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Character-encoding-related threads

2012-10-18 Thread Ian Hickson
On Fri, 13 Jul 2012, Jukka K. Korpela wrote: > 2012-06-29 23:42, Ian Hickson wrote: > > > > Currently you need a DOCTYPE, a character encoding declaration, a > > title, and some content. I'd love to be in a position where the empty > > string would be a val

[whatwg] Canvas hit regions feedback

2012-10-18 Thread Ian Hickson
ec that starts "Each hit region should be handled in a fashion equivalent to a node in a virtual DOM tree". In particular, this means that accessibility tools that use a separate accessibility tool focus (e.g. the VoiceOver focus), and touch devices that provide haptic feedback, shoul

[whatwg] Tracks and cues

2012-10-18 Thread Ian Hickson
? > Something like addCues(DOMString text) where the text is not only one > cue (like in the TextTrackCue ctor) but where the text would be multiple > cues as written in a WebVTT file? Just use a element to point to the file. -- Ian Hickson U+1047E

[whatwg] Feedback on HTML elements

2012-10-18 Thread Ian Hickson
On Fri, 28 Sep 2012, Ian Yang wrote: > On Fri, Sep 28, 2012 at 2:27 AM, Ian Hickson wrote > > On Mon, 16 Jul 2012, Ian Yang wrote: > > > > > > But your opinion does remind me of the element. That element > > > is a perfect example of introducing and us

Re: [whatwg] maincontent element spec updated and supporting data provided

2012-10-18 Thread Ian Hickson
from a > stable state for the parsing algorithm and, if the element is > used in a conforming way, it won't have a element preceding it > anyway. If had a use case, I would definitely think we should change the parsing algorithm -- not changing it makes the element essentially unusable, IMHO. But that's academic, since the element has no useful purpose, isn't necessary, and is thus not part of HTML. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Submitting contentEditable Content In A Form -- also in SVG and audio contexts

2012-10-17 Thread Ian Hickson
ases that will emerge in the future. That seems reasonable in general. Did you have anything specific in mind that isn't consistent in this way? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Usability issues with input type=url validation

2012-10-17 Thread Ian Hickson
on for URL fields is to remain > so strict, I really see little point in this input type being validated > at all; as a developer there is absolutely no way I can use this > validation as it stands, the potential for a poor user experience is > just too evident. The spec e

Re: [whatwg] Should editable elements have placeholder attribute?

2012-10-17 Thread Ian Hickson
ed case, and further the empty string is a valid keyword > (meaning true). I think this would be correct: > > *[contenteditable=true i], *[contenteditable=""] { empty-collapse: > no-collapse } I'm happy to add that to the default style sheet if CSS had such a proper

Re: [whatwg] Submitting contentEditable Content In A Form

2012-10-17 Thread Ian Hickson
t; > I agree, I would like to see a more general-purpose solution for this. > One problem that we have is that |new FormData(form)| allows > synchronously grabbing, so we'd likely end up having to fire synchronous > callbacks, which is always unfortunate, but I don't see an altern

Re: [whatwg] HTML 5 should include a way to create custom page header & footer for printing.

2012-10-15 Thread Ian Hickson
a margin box for print media using CSS, once CSS supports flowing elements into particular boxes. (No idea if this is planned yet.) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Features for responsive Web design

2012-10-11 Thread Ian Hickson
On Thu, 11 Oct 2012, Mathew Marquis wrote: > On Oct 11, 2012, at 12:36 PM, Ian Hickson wrote: > > On Thu, 11 Oct 2012, Markus Ernst wrote: > >> > >> IMHO as an author, the "bandwidth" use case is not solved in a future > >> proof manner > > &

Re: [whatwg] Features for responsive Web design

2012-10-11 Thread Ian Hickson
e (search for "bandwidth one"): http://lists.w3.org/Archives/Public/public-whatwg-archive/2012May/0247.html -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Features for responsive Web design

2012-10-11 Thread Ian Hickson
On Thu, 11 Oct 2012, Mark Callow wrote: > On 2012/10/10 12:29, Ian Hickson wrote: > > On Wed, 10 Oct 2012, Mark Callow wrote: > >> I don't know what the browser on the SH-10D is doing, (It's running > >> Android 4.0) but, given the physical size (4.5")

Re: [whatwg] Control and Undefined Characters

2012-10-10 Thread Ian Hickson
ng to the conformance rules for documents, yes. This section in the intro talks about this issue: http://www.whatwg.org/specs/web-apps/current-work/multipage/introduction.html#how-to-read-this-specification HTH, -- Ian Hickson U+1047E)\._.,--,'``.fL

Re: [whatwg] Control and Undefined Characters

2012-10-10 Thread Ian Hickson
1824 (This test is testing whether a U+0001 is lost either in the JS parser, document.write(), the HTML tokeniser, the HTML parser, the DOM API, or the JS string API, and it seems to get through all of those fine.) -- Ian Hickson U+1047E)\._.,--,'``.fL

Re: [whatwg] Features for responsive Web design

2012-10-10 Thread Ian Hickson
not strong solutions in the meantime. > We can't be too bold with our predictions, but we do have to build with > the future in mind or else condemn ourselves to a perpetual game of > catch-up. Standardisation is the process of taking innovative ideas and describing them in an i

Re: [whatwg] Features for responsive Web design

2012-10-10 Thread Ian Hickson
lems we don't understand. It's better to wait until we have real problems before fixing them. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Features for responsive Web design

2012-10-09 Thread Ian Hickson
re actually using 3x. Can you obtain a screenshot of this page in the device's browser? http://junkyard.damowmow.com/513 (Should be power+voldown to get a screen shot.) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Features for responsive Web design

2012-10-09 Thread Ian Hickson
On Tue, 9 Oct 2012, Mark Callow wrote: > On 2012/10/06 7:09, Ian Hickson wrote: > > I agree, when there's 3x displays, this could get to the point where we > > need to solve it. :-) > > With the current displays, it's just not that big a deal, IMHO. If by 3x >

Re: [whatwg] Null characters

2012-10-09 Thread Ian Hickson
On Tue, 9 Oct 2012, Cameron Zemek wrote: > On Tue, Oct 9, 2012 at 1:36 PM, Ian Hickson wrote: > > On Tue, 9 Oct 2012, Cameron Zemek wrote: > >> > >> I noticed the specification usually treats null characters U+ by > >> replacing them with the repl

Re: [whatwg] [canvas] Path object

2012-10-09 Thread Ian Hickson
On Tue, 9 Oct 2012, Anne van Kesteren wrote: > On Tue, Oct 9, 2012 at 1:29 AM, Ian Hickson wrote: > > We could only change Path, since the others are already deployed. We > > could add new constructors, but that would just be new redundancy, and > > thus probably isn

Re: [whatwg] Null characters

2012-10-08 Thread Ian Hickson
this test (and others for the other characters) is required for compatibility with legacy content to log "1": http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1824 -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Proposal for improved handling of '#' inside of data URIs

2012-10-08 Thread Ian Hickson
ince tried to respec URL parsing in detail, with the work in progress being here: http://url.spec.whatwg.org/ I recommend checking that spec to see if it does what you want, and if not, working with Anne to see if it can be adjusted accordingly or if something else needs to happen. -- I

Re: [whatwg] [canvas] Path object

2012-10-08 Thread Ian Hickson
Pc "\s(?i:(id|name))\s*=\s*(\"|')?Path((\"|')|(\s|>|/))" web200904 > 85 85 out of ~600,000 pages is 0.014%. Not too small (about an order of magnitude more than the number of XHTML pages served as XML I found a few years ago in Google's index), but still pre

Re: [whatwg] Features for responsive Web design

2012-10-05 Thread Ian Hickson
.jpg file, just higher resolution, so delivering > it instead would be ideal, but the current syntax doesn't allow that, > nor does it allow any reasonably reliable way for a browser to detect > that it would be okay to serve the 1600.jpg image either. > > I'm not sure

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

2012-10-05 Thread Ian Hickson
ure, I'm not opposed to that. But that seems like a somewhat > bigger change, no? E.g. then you would also change .click() be a > no-op I suppose? Or .submit(). Not just img.src has side effects. The spec currently describes this as Rafael suggests (if the Document has a browsing context

Re: [whatwg] [canvas] Path object

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

Re: [whatwg] Proposal for Links to Unrelated Browsing Contexts

2012-10-02 Thread Ian Hickson
On Tue, 2 Oct 2012, James Graham wrote: > On 10/02/2012 02:34 AM, Boris Zbarsky wrote: > > On 10/1/12 6:10 PM, Ian Hickson wrote: > > > On Tue, 19 Jun 2012, Boris Zbarsky wrote: > > > > On 6/19/12 1:56 PM, Charlie Reis wrote: > > > > > That's fro

Re: [whatwg] Proposal for Links to Unrelated Browsing Contexts

2012-10-02 Thread Ian Hickson
be in a new event loop. Saying you need a new WindowProxy object is basically equivalent to saying you need a new browsing context. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Proposal for Links to Unrelated Browsing Contexts

2012-10-01 Thread Ian Hickson
On Mon, 1 Oct 2012, Glenn Maynard wrote: > On Mon, Oct 1, 2012 at 5:10 PM, Ian Hickson wrote: > > > > > > + have the new page be in a new browsing context > > > > ...it's a new browsing context (e.g. target="_blank"). > > I'm not

Re: [whatwg] Proposal for Links to Unrelated Browsing Contexts

2012-10-01 Thread Ian Hickson
l link and have the user really click it. No need for script-initiated anything, then. > To be honest, I haven't heard strong enough support for the > allow-referrer case to justify this proposal on the basis of "cleaner > syntax" alone. Maybe we should table the discussion unless a stronger > use case arises? Ok. On Mon, 24 Sep 2012, Mihai Parparita wrote: > > I can't speak for Gmail, but Google Reader uses window.open since it > allows "unrelated" links to be opened in response to a key event (the > "v" keyboard shortcut). It would also benefit from severing all ties to > the opened window. There's still a real link in this case, though, no? So you can call .click() on it. (Or use accesskey=""...) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] URL: javascript URLs

2012-09-28 Thread Ian Hickson
On Fri, 28 Sep 2012, Boris Zbarsky wrote: > On 9/28/12 2:26 PM, Ian Hickson wrote: > > > 5) What happens when this doesn't match the origin or effective script > > > origin or whatever of the global object the script is evaluating > > > against. > &

Re: [whatwg] URL: javascript URLs

2012-09-28 Thread Ian Hickson
ould be slightly shocked if > there is UA interop here. This is specced, though it might not be right. I haven't checked recently. > 7) Handling of the return value of the script. I believe this is specced. -- Ian Hickson U+1047E)\._.,--,'``

[whatwg] Elements feedback

2012-09-27 Thread Ian Hickson
were allowed and perfectly > fine. On Thu, 13 Sep 2012, Jukka K. Korpela wrote: > > Oh, I see. It's somewhat questionable if you ask me. Varying the syntax > _within a document_ is something different from the liberty of choosing > one's style. Each example is a different

Re: [whatwg] New URL Standard

2012-09-25 Thread Ian Hickson
and assign to url.search. You could even make that work, by having a special method for appending a new key/value pair, and just not making it accessible. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

[whatwg] Blending, filtering

2012-09-25 Thread Ian Hickson
rrays. In fact that the > page at link [1] doesn't seem to even contain the term "audio" at all. > So it's definitely just a generic DSP model built upon Type Arrays. So > it seems like there's no need to raise this as feedback on the > ArrayBuffer spec at

Re: [whatwg] New URL Standard

2012-09-25 Thread Ian Hickson
On Tue, 25 Sep 2012, David Sheets wrote: > > > > Not necessarily, but that's certainly possible. Personally I would > > recommend that we not change the definition of what is conforming from > > the current RFC3986/RFC3987 rules, except to the extent that the > > character encoding affects it (a

Re: [whatwg] New URL Standard

2012-09-24 Thread Ian Hickson
This is Anne's spec, so I'll let him give more canonical answers, but: On Mon, 24 Sep 2012, David Sheets wrote: > > Your conforming WHATWG-URL syntax will have production rule alphabets > which are supersets of the alphabets in RFC3986. Not necessarily, but that's certainly possible. Personall

Re: [whatwg] New URL Standard

2012-09-24 Thread Ian Hickson
manner. Really it is only useful for saying whether or not content is conforming. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

[whatwg] and high-density displays

2012-09-24 Thread Ian Hickson
ailable on a > worker thread, and then through some bizarre set of events that desire > morphed into the image scaling API, which was then discarded due to > being too weird. > > It does occur to me though that it could be interesting to allow a > canvas context to be transferred to a worker. Think about this for a > moment: It would allow arbitrarily expensive rendering to occur in the > worker, and then you just need to have some flush style API that would > allow the worker to indicate that the content of the canvas was ready to > render -- essentially this would be a join() on the UI thread, but the > rendering would never blocked the UI. > > Alas when I think about it, i think it may require double buffering the > canvas, but it could provide a substantial performance boost, with > minimal developer-side complexity. I haven't yet added canvas to workers, but it is something that is on the list of things to add. I have been waiting for implementations of workers (including shared workers and message ports) and canvas (including the new path APIs) to mature before adding the combination. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Rename the 7-arg arcTo() to ellipseTo()?

2012-09-24 Thread Ian Hickson
believe the canvas API is adequately consistent with itself given the constraints facing this API's evolution, and so have not changed it. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Rename the 7-arg arcTo() to ellipseTo()?

2012-09-24 Thread Ian Hickson
ath API, though, that would be relatively trivial; just introduce a punctuation mark that means "end of arguments", e.g. "/". B 10,10 20,20 5 / 30,30 40,40 10 ...instead of: B 10,10 20,20 5 5 0 30,30 40,40 10 5 0 ...(where B is a command that takes the same arguments as arcT

Re: [whatwg] Rename the 7-arg arcTo() to ellipseTo()?

2012-09-24 Thread Ian Hickson
'd say this is better than what you have to do with arcTo(), since with that one you have to give both the corner coordinate and the destination coordinate, rather than just the latter. Could you elaborate on what exactly it is that is being done here? If there were some examples showing

Re: [whatwg] Rename the 7-arg arcTo() to ellipseTo()?

2012-09-24 Thread Ian Hickson
then > we'd just cram all functionality into a single function with a huge > number of optional arguments. We're talking about SVG path syntax here, not methods. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Proposal for Links to Unrelated Browsing Contexts

2012-09-24 Thread Ian Hickson
. So if there really is a need to support window.open(), I would like to understand it.) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Rename the 7-arg arcTo() to ellipseTo()?

2012-09-24 Thread Ian Hickson
On Sun, 23 Sep 2012, Tab Atkins Jr. wrote: > On Sun, Sep 23, 2012 at 3:57 PM, Ian Hickson wrote: > > On Fri, 21 Sep 2012, Tab Atkins Jr. wrote: > >> So, can we rename the 7-arg arcTo to ellipseTo? That seems to > >> support your "always [require] a

Re: [whatwg] Covert sharing of user agent state.

2012-09-23 Thread Ian Hickson
k sent in the form of bugs will definitely get looked at but may still not get a detailed reply.) That said, I don't want to discourage anyone from creating any groups they want to create, so long as the above is well understood. :-) -- Ian Hickson

Re: [whatwg] Rename the 7-arg arcTo() to ellipseTo()?

2012-09-23 Thread Ian Hickson
e-letter command that fixes specifically the problems with A, don't drag in the entire canvas path API. :-) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] canvas miterLimit property

2012-09-20 Thread Ian Hickson
we generate the PDF, just wanted to > point out another inconsistency with SVG, where miter limit values less > than 1.0 will be ignored as invalid. The main thing driving this API is back-compat with canvas implementations, not consistency with SVG. :-) -- Ian Hickson U+1047E

Re: [whatwg] isPointInPath on Path object

2012-09-20 Thread Ian Hickson
) function that applies to a Path object seems > to be useable as well. You can create a new Path, then add another Path to it while applying a transform, using the addPath() method. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+26

Re: [whatwg] Rename the 7-arg arcTo() to ellipseTo()?

2012-09-20 Thread Ian Hickson
path syntax is its own thing, and it already supports arcs and so forth. Adding a whole new redundant set of commands that work slightly differently is just bloat asking for interop issues, IMHO. The design of the path syntax makes sense, it's terse. Embrace its strengths, don't se

Re: [whatwg] canvas miterLimit property

2012-09-20 Thread Ian Hickson
possible miter ratio (the distance from the join point to the outer intersection point can't possibly be less than the line width, otherwise it wouldn't be the outside of the join, no?). Its trivial to treat numbers 0.0 < q <= 1.0 as 1.0. No need to fail. Browsers

Re: [whatwg] New canvas additions

2012-09-20 Thread Ian Hickson
quot;, that's an easier answer: nothing is final until it is widely implemented. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] [canvas] inner shadows

2012-09-20 Thread Ian Hickson
gt; CSS we have inset box-shadows, which gives a similar effect. > http://www.w3.org/TR/css3-background/#the-box-shadow > > Can we add this to the canvas shadows please? Can't you do this using clip() easily enough? Maybe I'm missing something important here. Can y

Re: [whatwg] [canvas] letter-spaceing

2012-09-20 Thread Ian Hickson
tMetrics features to perform manual letter spacing adjustements. If this is something that is commonly done, it would be a good argument for adding native support. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/,

Re: [whatwg] [canvas] matrix based changes on bitmaps

2012-09-20 Thread Ian Hickson
ion, but since the pixel data is available as an ArrayBuffer, it seems like the more reasonable thing to do is to provide generic ArrayBuffer manipulation routines. I recommend raising this as feedback on the ArrayBuffer spec. -- Ian Hickson U+1047E)\._.,--,'

Re: [whatwg] Navigation and history traversal issues

2012-09-18 Thread Ian Hickson
ou kept around... I expect it is supposed to work much as if you were to call it on the new, cross-origin, History object, though.) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Navigation and history traversal issues

2012-09-18 Thread Ian Hickson
e 404 pages on the Web that have javascript:history.back() links; these would break for cross-origin links if we blocked cross-origin history traversal. I don't really see much point. What's the security risk? -- Ian Hickson U+1047E)\._.,--,'``.

[whatwg] Navigation and history traversal issues

2012-09-18 Thread Ian Hickson
gh I see that you > can argue that it is possible in other ways). When it's same origin, you really have no way to know what's going on. The page could trivially pushState() a continuously changing URL, for example, and could serve random files from the server for any URL. On Th

Re: [whatwg] [Web-storage] subdomains / cooperation and limits

2012-09-18 Thread Ian Hickson
degree to which they do that are left up to > implementations...is that correct? Yeah, all of this is basically left up to UAs (notice how everything in the Disk Space section says "should", not "must"). -- Ian Hickson U+1047E)\._.,--,'

Re: [whatwg] [Web-storage] subdomains / cooperation and limits

2012-09-17 Thread Ian Hickson
than with domains. > I think it isn't really implemented that way anywhere though, is it? > That is, do browsers really share the limit across subdomains like > that... If they do not, they are likely vulnerable to this kind of griefing. -- Ian Hickson U+1047E

Re: [whatwg] [Web-storage] subdomains / cooperation and limits

2012-09-17 Thread Ian Hickson
press one I mentioned above). I have been told that the draft > contradicts my understanding, but I don't think so. I don't really understand your question, but does this answer it?: http://www.whatwg.org/specs/web-apps/current-work/multipage/webstorage.html#disk-s

[whatwg] feedback

2012-09-17 Thread Ian Hickson
On Thu, 7 Jun 2012, Kit Grose wrote: > On 06/06/2012, at 7:44 AM, Ian Hickson wrote: > > On Fri, 13 Jan 2012, Kit Grose wrote: > >> > >> I'd argue that while we did receive in WebM "a common codec" it does > >> not enjoy the sort of universa

Re: [whatwg] MediaController feedback

2012-09-17 Thread Ian Hickson
On Tue, 28 Aug 2012, Jer Noble wrote: > On Aug 27, 2012, at 5:02 PM, Ian Hickson wrote: > >> > >> With JavaScript, it's certainly possible for a page author to play() > >> or pause() a slaved media element directly, but that author could > >> just

Re: [whatwg] Regarding "Examples for rel=tag"

2012-09-14 Thread Ian Hickson
consumers apply it to the whole document and don't know about . In other words, backwards compatibility. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Drag-and-drop folders/files support with directory structure using DirectoryEntry

2012-09-13 Thread Ian Hickson
ect being enumerable in an async manner to get all the files. For UAs that implement the FileSystem API, I would then recommend that the FlieSystem API provide ways to get from File and Directory objects to FileEntry and DirectoryEntry objects. I haven't added any of this to the spec, mostly because it's not clear to me that there is consensus amongst browser vendors that this is a problem they want to solve, let alone how to solve it. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Conformance checking of missing alternative content for images

2012-09-06 Thread Ian Hickson
On Wed, 22 Aug 2012, Jukka K. Korpela wrote: > 2012-08-22 3:43, Ian Hickson wrote: > > > > [...] the argument is that WYSIWYG editor implementors will be > > pressured into making their tools output conforming content by people > > who don't understand the subtlt

Re: [whatwg] Security restriction allows content thievery

2012-09-06 Thread Ian Hickson
mail client's URL in the referrer information, or something). -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] input type=barcode?

2012-09-06 Thread Ian Hickson
On Mon, 27 Aug 2012, Tab Atkins Jr. wrote: > On Mon, Aug 27, 2012 at 10:56 AM, Ian Hickson wrote: > > On Wed, 3 Aug 2011, Tab Atkins Jr. wrote: > >> On Wed, Aug 3, 2011 at 8:50 AM, Randy wrote: > >> > On top of that, the vast majority of these readers just translate

Re: [whatwg] Wasn't there going to be a strict spec?

2012-09-06 Thread Ian Hickson
)? It's not at all difficult. The spec allows it today. The question is really how hard would it be to convince browsers to implement it. :-) On Fri, 10 Aug 2012, Erik Reppen wrote: > > I think there's a legit need for a version or some kind of mode for > HTML5 that as

Re: [whatwg] iframe sandbox and indexedDB

2012-09-06 Thread Ian Hickson
., if the page was a data: URL typed by a user (which is another case where the page's origin isn't a tuple). Whatever part of IndexedDB says what should happen for documents from handtyped data: URLs and any other situations with non-tuple origins should automatically cover

Re: [whatwg] iframe sandbox and indexedDB

2012-09-06 Thread Ian Hickson
in of the document. The spec doesn't mention it because IndexedDB isn't part of the HTML spec. Note that the sentence you cited is non-normative (or rather, it contains no normative statements), so that whether it mentions IndexedDB or not doesn't change an

Re: [whatwg] Encoding sniffing algorithm

2012-09-06 Thread Ian Hickson
rdering here. > b. markup label of the sister language > > (Opera/Webkit/Chrome currently have this directly >after the native encoding label step - step 5. No idea what this means. > c. Other things? What does "likely encoding" current >refer to, exactly? The spec gives an example. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] data URLs and XMLHttpRequest

2012-09-06 Thread Ian Hickson
ly allowed. Allowing them in the same way as workers seems like > a good idea to me. I ended up reverting that text, it didn't really work. Is there anything else you need for XHR instead? -- Ian Hickson U+1047E)\._.,--,'``.fL

Re: [whatwg] Security restriction allows content thievery

2012-09-06 Thread Ian Hickson
ll not be passed to the server. So my > proposal is that the data URI schema gets an exception on this security > behavior. I don't understand. What referrer are you trying to set? To what? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Why do HTML*Collection's nameItem need to return 5 different objects?

2012-09-05 Thread Ian Hickson
On Fri, 13 Jul 2012, Ryosuke Niwa wrote: > On Fri, Jul 13, 2012 at 3:17 PM, Ian Hickson wrote: > > On Fri, 13 Jul 2012, Ryosuke Niwa wrote: > > > > > > *HTMLCollection* returns the first element. > > > > This is for compat in the default case, I believe. &g

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

2012-09-05 Thread Ian Hickson
On Thu, 5 Jul 2012, Glenn Maynard wrote: > On Fri, Jun 29, 2012 at 4:24 PM, Ian Hickson wrote: > > On Tue, 21 Feb 2012, Glenn Maynard wrote: > > > > > > I don't think the existence of implicit submit should depend on > > > platform conventions, tho

Re: [whatwg] Features for responsive Web design

2012-09-04 Thread Ian Hickson
ed. The other involves designer judgment and is > conceptually similar to CSS design where authors use MQ. Also, having w > and h refer to the browsing environment and x to the image in the same > microsyntax continues to be highly confusing. The "w", "h", and &q

Re: [whatwg] Hardware accelerated canvas

2012-09-04 Thread Ian Hickson
x27;s only a solution to some of the problems (namely, to those apps that only repaint dirty areas, and have authors who are aware that this problem can ever happen, and for which "just reload the page" isn't a sufficiently clean answer). What should the event be called? canvas.onforcerepaint? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Canvas arcTo method

2012-09-04 Thread Ian Hickson
On Tue, 4 Sep 2012, Justin Novosad wrote: > > On Mon, Sep 3, 2012 at 8:58 AM, Ian Hickson wrote: > > > > Does it work if you just transform all the points and the line? > > (Yeah, that's still way too vague. I'm not sure how to really specify > > this

Re: [whatwg] Hardware accelerated canvas

2012-09-03 Thread Ian Hickson
ow the entire canvas out and ask for it to be > re-rendered if the canvas is shown again. This would even make sense if > you don't have a HW accelerated canvas. > > There would be no backward compatibility issue either. If the user > doesn't s

Re: [whatwg] Canvas arcTo method

2012-09-03 Thread Ian Hickson
ntrol points, and then generate the > arc. If you do this, you will always get circular arcs, whereas a > scale(2, 1) will produce an elliptical arc. You have to generate the > arc, then scale it. Yeah, that's why the spec hand-waves to transform the line too... but I agree that that do

Re: [whatwg] Canvas roundedRect

2012-09-03 Thread Ian Hickson
nd y radii it's relatively easy to pass through to the new arcTo() method. (This isn't widely implemented yet so I haven't shown an example here.) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Hardware accelerated canvas

2012-09-02 Thread Ian Hickson
y about this. Realistically, there are too many pages that have 2D canvases that are drawn to once and never updated for any solution other than "don't lose the data" to be adopted. How exactly this is implemented is a quality of implementation issue.

Re: [whatwg] "content" element, which we need in our documents

2012-08-30 Thread Ian Hickson
ain This role is unnecessary in HTML documents, since browsers can skip the non-main content. That's the whole point of elements like . > I agree that an explicit element would be nice, but the powers that be > have rejected the idea. It's not clear what the idea i

Re: [whatwg] Proposed addition to Drag and Drop API

2012-08-30 Thread Ian Hickson
In the scenario above I would prefer to define a custom drag element, > set the innerHTML to a component of the Post (title), and then style the > element itself in CSS. That's what the addElement() method is intended to do. -- Ian Hickson U+1047E)\._.,--.

Re: [whatwg] :enabled and :disabled matching

2012-08-30 Thread Ian Hickson
oesn't match the behaviour of all web browsers I've tested. Opera, > Safari, Chrome, Firefox and IE all fail this test. > > http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1643 I guess there's no point fighting this particular battle. Changed. -

<    4   5   6   7   8   9   10   11   12   13   >