Re: [whatwg] Persistent state for homescreen web apps (without reloading each time)

2015-06-09 Thread Glenn Maynard
for homescreen apps, but it's been a while since I've tested it. It'll definitely store the URL (so you can encode state in the hash, as usual), but you should be able to store data using the data argument as well, for more complex persisted state. -- Glenn Maynard

Re: [whatwg] Persistent and temporary storage

2015-03-14 Thread Glenn Maynard
, not a bug. In fact, it's one of the defining features of the platform. -- Glenn Maynard

Re: [whatwg] Unicode - ASCII copy/paste fallback

2015-02-15 Thread Glenn Maynard
should be looking carefully at the use cases. If you have nothing more useful to discuss beyond uninformed, opinionated naysaying, I'll be leaving this thread lie. You should make an effort to remain civil when people don't immediately agree with you. -- Glenn Maynard

Re: [whatwg] Unicode - ASCII copy/paste fallback

2015-02-14 Thread Glenn Maynard
it and copy it, I expect to copy →, just as I selected. This sounds like something browsers should actively discourage. -- Glenn Maynard

Re: [whatwg] Unicode - ASCII copy/paste fallback

2015-02-13 Thread Glenn Maynard
that's inside CSS content, so it isn't included in the copy.) -- Glenn Maynard

Re: [whatwg] Unicode - ASCII copy/paste fallback

2015-02-13 Thread Glenn Maynard
On Fri, Feb 13, 2015 at 9:02 AM, Glenn Maynard gl...@zewt.org wrote: Copying ASCII isn't desirable. It should copy the Unicode string a → b. After all, that's what gets copied if you had done spana → b/span in the first place. (Oh, I missed the obvious--the - from Firefox is coming from

Re: [whatwg] PSA: Chrome ignoring autocomplete=off for Autofill data

2014-11-13 Thread Glenn Maynard
itself, in a consistent way, not by every site individually. (Public terminals need to wipe the entire profile when a user leaves, since you also need cache, browser history, cookies, etc.) -- Glenn Maynard

Re: [whatwg] PSA: Chrome ignoring autocomplete=off for Autofill data

2014-11-13 Thread Glenn Maynard
autocomplete is to disable the saving of sensitive or irrelevant information. If the user is filling in an address or cc num it's likely they have the opportunity to save that on other sites. It wouldn't make sense for all sites to autocomplete credit cards, but only 50% to save them. -- Glenn Maynard

Re: [whatwg] Passwords

2014-10-19 Thread Glenn Maynard
. - Some web services don't support HTTPS. (There's no excuse for this, but saying that doesn't make the problem go away. I don't recall particular examples.) -- Glenn Maynard

Re: [whatwg] getting rid of anonymizing redirects

2014-10-07 Thread Glenn Maynard
not supported in most browsers. It's too bad, since link anonymizers are terrible and the lack of this feature is causing them to continue to be used. -- Glenn Maynard

Re: [whatwg] getting rid of anonymizing redirects

2014-10-07 Thread Glenn Maynard
, Peter Lepeska bizzbys...@gmail.com wrote: Thanks Glenn. Do you happen to have a list of which browsers support it and which do not? Thanks, Peter From: Glenn Maynard gl...@zewt.org Date: Tuesday, October 7, 2014 at 10:00 AM To: Peter Lepeska bizzbys...@gmail.com Cc: Chris Bentzel cbent

Re: [whatwg] Proposal: navigator.cores

2014-07-02 Thread Glenn Maynard
at all, such as whether a user has one or two or four cores, which are then combined with as many other data points as possible to create a fingerprint. Limiting the maximum exposed number of cores doesn't affect this. -- Glenn Maynard

Re: [whatwg] Proposal: toDataURL “image/png” compression control

2014-06-02 Thread Glenn Maynard
probably not be interoperable. Also, is 0.5 the default value? Image compression is uninteroperable from the start, in the sense that the each UA can always come up with different output files. This feature (and the JPEG quality level feature) doesn't make it worse. -- Glenn Maynard

Re: [whatwg] Proposal: toDataURL “image/png” compression control

2014-05-31 Thread Glenn Maynard
. (Cookies are another one that should be in this category; document.cookie isn't a sane API without a wrapper.) This isn't one of those, though. -- Glenn Maynard

Re: [whatwg] Proposal: toDataURL “image/png” compression control

2014-05-31 Thread Glenn Maynard
the compression time gains you a 50% improvement in compression, that's a lot more compelling than if it only gains you 10%. I don't know what the numbers are myself. -- Glenn Maynard

Re: [whatwg] Proposal: toDataURL “image/png” compression control

2014-05-30 Thread Glenn Maynard
, and having the arguments to toBlob and toDataURL be different seems like gratuitous inconsistency. -- Glenn Maynard

Re: [whatwg] Proposal: toDataURL “image/png” compression control

2014-05-29 Thread Glenn Maynard
made. -- Glenn Maynard

[whatwg] Proposal: toDataURL “image/png” compression control

2014-05-29 Thread Glenn Maynard
know if feature testing for dictionary arguments has been solved yet (it's come up before), but if not that's something that needs to be figured out in general. -- Glenn Maynard -- Glenn Maynard

Re: [whatwg] Proposal: toDataURL “image/png” compression control

2014-05-29 Thread Glenn Maynard
to do toDataURL at 60fps. (I hope we can all see more use cases than just screenshots.) -- Glenn Maynard

Re: [whatwg] Proposal: toDataURL “image/png” compression control

2014-05-29 Thread Glenn Maynard
On Thu, May 29, 2014 at 4:21 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 5/29/14, 5:13 PM, Glenn Maynard wrote: Assembly language is inherently incompatible with the Web. A SIMD API, however is not. Under the hood, it can be implemented in terms of MMX, SSE, NEON, or just by forgetting

Re: [whatwg] Proposal: toDataURL “image/png” compression control

2014-05-29 Thread Glenn Maynard
it takes to compress. -- Glenn Maynard

Re: [whatwg] Proposal: toDataURL “image/png” compression control

2014-05-29 Thread Glenn Maynard
issue is with the just do it in script argument. It would probably help for people more strongly interested in this to show a comparison of resulting file sizes and the relative amount of time it takes to compress them. -- Glenn Maynard

Re: [whatwg] WebGL and ImageBitmaps

2014-05-14 Thread Glenn Maynard
is manipulated. That seems hard to implement, though, if you're blitting images to a canvas that all have different color profiles. It's probably better to ignore color profiles for canvas entirely than to expose the user's monitor configuration like this... -- Glenn Maynard

Re: [whatwg] Proposal: Event.creationTime

2014-05-14 Thread Glenn Maynard
On Thu, May 8, 2014 at 2:33 AM, Brian Birtles bbirt...@mozilla.com wrote: (2014/05/08 0:49), Glenn Maynard wrote: Can you remind me why this shouldn't just use real time, eg. using the Unix epoch as the time base? It was some privacy concern, but I can't think of any privacy argument

Re: [whatwg] Proposal: navigator.cores

2014-05-09 Thread Glenn Maynard
to use as many cores as you can so the operation completes more quickly. For the rest, using more cores means that the algorithm can do a better job, giving a more accurate physics simulation, detecting motion more quickly and accurately, and so on. -- Glenn Maynard

Re: [whatwg] WebGL and ImageBitmaps

2014-05-09 Thread Glenn Maynard
. -- Glenn Maynard

Re: [whatwg] Proposal: navigator.cores

2014-05-08 Thread Glenn Maynard
around 4 cores with HT for years. I think there's just not much market demand for faster and faster CPUs like there used to be...) That said, if I spent lots of money on a 16-core processor, then I'd be pretty angry if this caused pages to only use half of it. -- Glenn Maynard

Re: [whatwg] Proposal: Event.creationTime

2014-05-07 Thread Glenn Maynard
concern, but I can't think of any privacy argument for giving high-resolution event timestamps in units that are this limited and awkward. -- Glenn Maynard

Re: [whatwg] Proposal: navigator.cores

2014-05-06 Thread Glenn Maynard
Zbarsky bzbar...@mit.edu wrote: On 5/6/14, 5:30 PM, Rik Cabanier wrote: Leaving the question of fingerprinting aside for now, what name would people prefer? mauve? Failing that, maxUsefulWorkers? It can be useful to start more workers than processors, when they're not CPU-bound. -- Glenn

Re: [whatwg] hidden attribute useless with display: flex?

2014-04-30 Thread Glenn Maynard
other way. -- Glenn Maynard

Re: [whatwg] hidden attribute useless with display: flex?

2014-04-30 Thread Glenn Maynard
On Wed, Apr 30, 2014 at 4:12 PM, Tab Atkins Jr. jackalm...@gmail.comwrote: On Wed, Apr 30, 2014 at 7:32 AM, Glenn Maynard gl...@zewt.org wrote: It's too bad that display-box also has multiple uses--it doesn't only display or hide the content, it has a third contents mode. That means

Re: [whatwg] canvas drawImage and EXIF orientation metadata

2014-04-17 Thread Glenn Maynard
this from happening. The question was why is this a CSS style instead of a property on img, not why isn't this just the default. -- Glenn Maynard

Re: [whatwg] [notifications][editorial] tweaking the Activating a notification window.focus() note

2014-04-16 Thread Glenn Maynard
be a setting on the notification. -- Glenn Maynard

Re: [whatwg] Media sink device selection on audio/video

2014-04-11 Thread Glenn Maynard
. -- Glenn Maynard

Re: [whatwg] Proposal: requestBackgroundProcessing()

2014-02-20 Thread Glenn Maynard
, but if not, fixing that is probably closer to the right direction than letting people run fast timers in minimized UI threads. If this is just messaging of game state, he could probably do just relay that through the UI thread, so the game simulation still takes place in a worker. -- Glenn Maynard

Re: [whatwg] Proposal: requestBackgroundProcessing()

2014-02-20 Thread Glenn Maynard
-ending animation timers running when you can't even see it (who have no reason to drive their timers from a worker to bypass the timer throttling), but I'd recommend trying to move your actual server logic into a worker. -- Glenn Maynard

Re: [whatwg] Proposal: requestBackgroundProcessing()

2014-02-20 Thread Glenn Maynard
and communicated to clients. -- Glenn Maynard

Re: [whatwg] Bicubic filtering on context.drawImage

2013-12-09 Thread Glenn Maynard
actually putting it in a document. -- Glenn Maynard

Re: [whatwg] Bicubic filtering on context.drawImage

2013-12-09 Thread Glenn Maynard
in bilinear when you wanted bicubic. -- Glenn Maynard

Re: [whatwg] Canvas in workers

2013-10-24 Thread Glenn Maynard
thread if we want to go into this further. -- Glenn Maynard

Re: [whatwg] Synchronizing Canvas updates in a worker to DOM changes in the UI thread

2013-10-22 Thread Glenn Maynard
transferToImageBitmap, if there are use cases that transferToImageBitmap solves best in its own right. It seems like toBlob already handles this, though.) -- Glenn Maynard

Re: [whatwg] Synchronizing Canvas updates in a worker to DOM changes in the UI thread

2013-10-22 Thread Glenn Maynard
AM, Glenn Maynard gl...@zewt.org wrote: I just noticed that Canvas already has a Canvas.setContext() method That's there in support of CanvasProxy, which is a flawed API and which this entire discussion is aiming to rectify. I don't see flaws with the setContext() API, which appears to have

Re: [whatwg] Canvas in workers

2013-10-21 Thread Glenn Maynard
for the other use cases.) I'd only recommend leaving out transferToImageBitmap, srcObject and ImageBitmap.close() parts. I do think that would be redundant with with present proposal. They can always be added later, and leaving them out keeps the WorkerCanvas proposal itself focused. -- Glenn Maynard

Re: [whatwg] Synchronizing Canvas updates in a worker to DOM changes in the UI thread

2013-10-21 Thread Glenn Maynard
sub-workers to do drawing (at least, not without some really ugly coordination with the main thread.) Sure it is. If you want an offscreen buffer, you just new WorkerCanvas(). This is unrelated to offscreen drawing. -- Glenn Maynard

Re: [whatwg] Synchronizing Canvas updates in a worker to DOM changes in the UI thread

2013-10-21 Thread Glenn Maynard
this downside as smaller than the upside of addressing both of the above use cases. I can only find one thing above that you might be referring to as a use case (the one I replied to immediately above). What was the other? -- Glenn Maynard

Re: [whatwg] Counterproposal for canvas in workers

2013-10-20 Thread Glenn Maynard
On Sun, Oct 20, 2013 at 2:22 AM, Robert O'Callahan rob...@ocallahan.orgwrote: On Fri, Oct 18, 2013 at 3:10 PM, Glenn Maynard gl...@zewt.org wrote: Also, with the transferToImageBuffer approach, if you want to render from a worker into multiple canvases in the UI thread, you have to post

Re: [whatwg] Canvas in workers

2013-10-20 Thread Glenn Maynard
to a context, without caring about the DOM at all. If you have to move the image to an img to display it, suddenly you have to care about the DOM to render. It breaks the basic model. -- Glenn Maynard

[whatwg] Synchronizing Canvas updates in a worker to DOM changes in the UI thread

2013-10-20 Thread Glenn Maynard
the main thread that the frame is ready. postMessage(present); } function renderFrame(workerCanvas) { } -- Glenn Maynard

Re: [whatwg] Synchronizing Canvas updates in a worker to DOM changes in the UI thread

2013-10-20 Thread Glenn Maynard
(Whoops. Why did Gmail send that as my work email? It shouldn't have made it through to the list, since it's not subscribed...) On Sun, Oct 20, 2013 at 9:26 PM, Kyle Huey m...@kylehuey.com wrote: On Sun, Oct 20, 2013 at 11:33 PM, Glenn Maynard gl...@bluegoji.comwrote: It must

Re: [whatwg] Counterproposal for canvas in workers

2013-10-18 Thread Glenn Maynard
On Thu, Oct 17, 2013 at 10:25 PM, Robert O'Callahan rob...@ocallahan.orgwrote: On Fri, Oct 18, 2013 at 3:10 PM, Glenn Maynard gl...@zewt.org wrote: transferToImageBuffer looks like it would create a new ImageBuffer for each frame, so you'd need to add a close() method to make sure they don't

Re: [whatwg] Canvas in workers

2013-10-18 Thread Glenn Maynard
= canvas.getContext(webgl); loadExpensiveResources(gl); drawStuff(gl); var canvas2 = document.querySelector(.canvas2); gl.attachToCanvas(canvas2); drawStuff(gl); // don't need to loadExpensiveResources again -- Glenn Maynard

Re: [whatwg] Counterproposal for canvas in workers

2013-10-17 Thread Glenn Maynard
, is a series of commands that are sent to the graphics chip. In theory, this should be compatible. All of that happens inside the OpenGL driver, which browsers have no control over. -- Glenn Maynard

Re: [whatwg] Counterproposal for canvas in workers

2013-10-17 Thread Glenn Maynard
thread-safety issues to the platform. (I'm not sure if you mean the same thing here and above--they sound similar, but you said canvas in one place and WebGL context in the other.) (Sorry if I'm forgetting things, the subject has been busy and a little bit noisy...) -- Glenn Maynard

Re: [whatwg] Counterproposal for canvas in workers

2013-10-17 Thread Glenn Maynard
to this use case (they're really all different interfaces to the same functionality)... -- Glenn Maynard

Re: [whatwg] Counterproposal for canvas in workers

2013-10-17 Thread Glenn Maynard
the worker. -- Glenn Maynard

Re: [whatwg] Canvas in workers

2013-10-16 Thread Glenn Maynard
. For example, if the main thread occasionally spends 4ms doing GC work, you may have a rendering hitch that you wouldn't have otherwise. -- Glenn Maynard

Re: [whatwg] Canvas in workers

2013-10-15 Thread Glenn Maynard
to be a thread-safe operation, but it doesn't need to block if the UI thread is busy. This proposal doesn't handle synchronizing DOM updates with threaded canvas updates, but it seems like that inherently requires synchronization... -- Glenn Maynard

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

2013-10-14 Thread Glenn Maynard
it doesn't bother me that much. -- Glenn Maynard

Re: [whatwg] Canvas in workers

2013-10-13 Thread Glenn Maynard
the change. -- Glenn Maynard

Re: [whatwg] Canvas in workers

2013-10-13 Thread Glenn Maynard
are the use cases for doing that? Being able to do complex work in a worker in a linear, non-event-based manner is an important use case for workers in general, but I can't think of any way this applies to drawing successive frames to a canvas. -- Glenn Maynard

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

2013-10-10 Thread Glenn Maynard
(string) function property of the Global object, I wonder if choosing a longer, different name would be better to avoid confusion. I think the CSS scope makes it perfectly clear and unambiguous. -- Glenn Maynard

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

2013-10-10 Thread Glenn Maynard
On Thu, Oct 10, 2013 at 9:22 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 10/10/13 10:15 AM, Glenn Maynard wrote: When I'm doing this I just make sure that the strings don't need escaping in the first place. Many of these look like they do that (probably most ID cases are things like random

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

2013-10-09 Thread Glenn Maynard
if I just save a reference.) That would help there, too, since I wouldn't need to make sure that my IDs don't need to be escaped. -- Glenn Maynard

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

2013-10-02 Thread Glenn Maynard
script doing the walk and uploading the files. It's unclear to me what you are proposing here. Can you elaborate? The same thing I did, I think: an API to navigate the directory tree as needed, and to never greedily recursing the directory tree. -- Glenn Maynard

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

2013-10-02 Thread Glenn Maynard
for this here, since lots of people have done that already in the filesystem API threads, but I hope we can agree that it would be a much better solution.) -- Glenn Maynard

Re: [whatwg] related subject -- access to local files RE: Forms: input type=file and directory tree picking

2013-10-02 Thread Glenn Maynard
. -- Glenn Maynard

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

2013-10-02 Thread Glenn Maynard
proposed, but I don't recall where that left off. -- Glenn Maynard

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

2013-10-01 Thread Glenn Maynard
should happen if you have a files input, and drag a directory into it that you couldn't have selected with the file picker.) -- Glenn Maynard

Re: [whatwg] Blurry lines in 2D Canvas

2013-09-27 Thread Glenn Maynard
, which renders consistently in all three browsers. http://jsfiddle.net/V92Gn/128/ -- Glenn Maynard

Re: [whatwg] Proposal: q and qq for document.querySelector and document.querySelectorAll

2013-09-18 Thread Glenn Maynard
this proposal is a good idea, though.) -- Glenn Maynard

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

2013-09-10 Thread Glenn Maynard
On Tue, Sep 10, 2013 at 6:35 PM, Ian Hickson i...@hixie.ch wrote: On Tue, 20 Aug 2013, Glenn Maynard wrote: It's the behavior users expect when watching videos, which is the case video should optimize for. If you're doing something else where the user interacts with the video in other

Re: [whatwg] High-density canvases

2013-09-10 Thread Glenn Maynard
for the iPad Mini; the Kindle Fire HD), and by contrast there's no sign of them for desktops, so I think we're either there now or we won't be for a long time. -- Glenn Maynard

Re: [whatwg] Script preloading

2013-08-30 Thread Glenn Maynard
right for that. You'd end up downloading the scripts even if they're never used. With jit, the browser can still avoid downloading the scripts entirely if they're not used. -- Glenn Maynard

Re: [whatwg] Zip archives as first-class citizens

2013-08-29 Thread Glenn Maynard
away fetches, since Content-Range has no way of saying give me the last 64K of the file so you have to ask for the size first, but I'd rather that than introducing a new archive format into the wild...) -- Glenn Maynard

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

2013-08-29 Thread Glenn Maynard
list isn't a sensible API for recursively exposing directory trees. -- Glenn Maynard

Re: [whatwg] Handling of invalid UTF-8

2013-08-29 Thread Glenn Maynard
now: http://encoding.spec.whatwg.org/#utf-8 -- Glenn Maynard

Re: [whatwg] Script preloading

2013-08-29 Thread Glenn Maynard
) are best relegated to script loaders I disagree. See above. (Please remember to trim quotes.) -- Glenn Maynard

Re: [whatwg] Zip archives as first-class citizens

2013-08-28 Thread Glenn Maynard
, then download just the slice of data you need. You don't need to download the whole file. -- Glenn Maynard

Re: [whatwg] Zip archives as first-class citizens

2013-08-28 Thread Glenn Maynard
aspects of the format: the maximum supported length of comments and handling of duplicate filenames, for example. This would all need to be specified; the ZIP AppNote doesn't specify a parser or error handling in the way the web needs, it just describes the format. -- Glenn Maynard

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

2013-08-20 Thread Glenn Maynard
explicitly. Unlike browser controls, this is visible to scripts and something that affects authors, so this probably should be in the spec if it isn't. -- Glenn Maynard

Re: [whatwg] Blurry lines in 2D Canvas (and SVG)

2013-08-12 Thread Glenn Maynard
sounds similar to what I'm suggesting. -- Glenn Maynard

Re: [whatwg] Antialiasing of line widths 1 (was Re: Blurry lines in 2D Canvas (and SVG))

2013-08-10 Thread Glenn Maynard
shifting between one pixel of grey and two pixels of lighter grey). -- Glenn Maynard

Re: [whatwg] Blurry lines in 2D Canvas (and SVG)

2013-08-09 Thread Glenn Maynard
. If drawn with transparency, the resulting left and top edges would look different than the bottom and right edges. E.g., http://jsfiddle.net/9xbkX/ My proposal addresses this, by adding an outer stroke mode. http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2013-July/040252.html -- Glenn

Re: [whatwg] Blurry lines in 2D Canvas (and SVG)

2013-08-09 Thread Glenn Maynard
. This is the mode I'm suggesting. Chrome seems ignore stroke widths that are smaller than 1 (which is reasonable). (That seems wrong to me--it should continue to draw based on pixel coverage--but that's a separate issue...) -- Glenn Maynard

Re: [whatwg] Blurry lines in 2D Canvas (and SVG)

2013-08-09 Thread Glenn Maynard
specified; the only mention of anti-aliasing is an example of how to do it (oversampling). This is tangental, though. Might want to start another thread if you want to go over this more, or we'll derail this one... -- Glenn Maynard

Re: [whatwg] BinaryEncoding for Typed Arrays using window.btoa and window.atob

2013-08-07 Thread Glenn Maynard
for something that behaves exactly like something we already have, just to give it a different name. (It may not be too late to rename those functions, if nobody has implemented them yet, but I'm not convinced it's much of a problem.) -- Glenn Maynard

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

2013-08-04 Thread Glenn Maynard
that should ever happen in the first place, but if it does we'd definitely need to make sure it doesn't happen in this mode.) -- Glenn Maynard

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

2013-08-02 Thread Glenn Maynard
things land on for filesystem access should probably be used for this--or vice-versa, if this comes first. I suspect they're actually the same thing, since a file picker (along with drag and drop) is the likely way to expose a filesystem-of-real-files API. -- Glenn Maynard

Re: [whatwg] Blurry lines in 2D Canvas (and SVG)

2013-07-26 Thread Glenn Maynard
edges, since you're adjusting the size of the path as a whole. It would work for fills (which also get aliased edges when transformed). It also works if the fill is a pattern, where turning off antialiasing would make the pattern ugly. -- Glenn Maynard

Re: [whatwg] Blurry lines in 2D Canvas (and SVG)

2013-07-25 Thread Glenn Maynard
adjust the canvas so it's rendered 1:1 to pixels, so the rules for getting hard edges are the same (half-pixels for strokes, integer pixels for fills). -- Glenn Maynard

Re: [whatwg] Blurry lines in 2D Canvas (and SVG)

2013-07-25 Thread Glenn Maynard
On Thu, Jul 25, 2013 at 2:36 PM, Rik Cabanier caban...@gmail.com wrote: On Thu, Jul 25, 2013 at 7:05 AM, Glenn Maynard gl...@zewt.org wrote: On Thu, Jul 25, 2013 at 12:24 AM, Rik Cabanier caban...@gmail.comwrote: Yes, that's what I had in mind: the developer detects the device pixel ratio

Re: [whatwg] Blurry lines in 2D Canvas (and SVG)

2013-07-25 Thread Glenn Maynard
it in the 100x100px region, eg. canvas width=110 height=110 style=width: 100px; height: 100px; You don't do any scaling within the 2d canvas itself, you just draw to it like a 110x110-pixel canvas. -- Glenn Maynard

Re: [whatwg] Blurry lines in 2D Canvas (and SVG)

2013-07-23 Thread Glenn Maynard
functionality), it's much too late to change this. -- Glenn Maynard

Re: [whatwg] Forcing orientation in content

2013-07-12 Thread Glenn Maynard
it. In practice, game developers are rarely willing to spend the time to make their games work well in both portrait and landscape. The Web solution is probably not to lock the display, though, but to letterbox the display if the window's aspect ratio is too far off, as with videos. -- Glenn Maynard

Re: [whatwg] Forcing orientation in content

2013-07-12 Thread Glenn Maynard
in 800x600 (so we'll force it), best viewed in portrait (so we'll force it). -- Glenn Maynard

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

2013-07-01 Thread Glenn Maynard
time, and I find arguments that querySelector isn't readable or the wrong tool to simply not hold up. I find it more readable, actually, since I don't have to change interfaces depending on whether I'm searching for an ID or a class.) -- Glenn Maynard

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

2013-07-01 Thread Glenn Maynard
change a server to say windows-1252. The ISO spec is so far out of touch with reality that it's hard to consider it authoritative; in reality, ISO-8859-1 is 1252.) -- Glenn Maynard

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

2013-06-29 Thread Glenn Maynard
that. CSS uses selectors, not the other way around. querySelector() has nothing to do with styles. -- Glenn Maynard

Re: [whatwg] Challenging canvas.supportsContext

2013-06-25 Thread Glenn Maynard
if a particular option is provided, which supportsContext allows. (I don't know if there are any cases where this actually happens, since most options are best effort and don't cause context creation to fail if they're not available.) -- Glenn Maynard

Re: [whatwg] Challenging canvas.supportsContext

2013-06-25 Thread Glenn Maynard
On Tue, Jun 25, 2013 at 6:48 PM, Simon Pieters sim...@opera.com wrote: On Wed, 26 Jun 2013 01:39:01 +0200, Glenn Maynard gl...@zewt.org wrote: This is done if the feature is being disabled completely at page load time, with no chance of it coming back: you simply don't put the interface

  1   2   3   4   5   >