Re: [whatwg] Canvas: clarification of compositing operations needed

2010-07-29 Thread David Flanagan
James Robinson wrote: On Wed, Jul 28, 2010 at 2:46 PM, Tab Atkins Jr. jackalm...@gmail.com mailto:jackalm...@gmail.com wrote: On Wed, Jul 28, 2010 at 2:43 PM, David Flanagan da...@davidflanagan.com mailto:da...@davidflanagan.com wrote: Firefox and Chrome disagree about the

Re: [whatwg] Changing punctuation value of input element in telephone state

2010-07-29 Thread Mounir Lamouri
On 07/29/2010 12:08 AM, Ian Hickson wrote: Other than that, the only safe alternative would be to leave the values untouched, so the page can say what it wants, the user honor it, and the server get it as expected; or gracefully degrade to an error message that actually points to the user

Re: [whatwg] [html5] r4949 - [giow] (0) The CSS rules need to do attribute value matching consistently across [...]

2010-07-29 Thread Anne van Kesteren
On Wed, 28 Jul 2010 01:32:13 +0200, Ian Hickson i...@hixie.ch wrote: I've been working under the assumption that we want to eradicate as many differences between XHTML and HTML as possible, and that there's virtually no compatibility constraint on the XHTML side. If this is an area where we

[whatwg] appCache manifest file

2010-07-29 Thread Zi Bin Cheah
Why did we want to use a new file extension .manifest in appcache. Wouldn't it be better to to just use a XML file instead, one benefit is eliminating the requirement of specifying MIME type in .htaccess. Regards, Zi Bin Cheah / 谢子斌 Web Evangelist / Developer Relations / Site

Re: [whatwg] appCache manifest file

2010-07-29 Thread Anne van Kesteren
On Thu, 29 Jul 2010 12:10:53 +0200, Zi Bin Cheah zi...@opera.com wrote: Why did we want to use a new file extension .manifest in appcache. Wouldn't it be better to to just use a XML file instead, one benefit is eliminating the requirement of specifying MIME type in .htaccess. XML would be

Re: [whatwg] Questions about script attributes in HTML5

2010-07-29 Thread Henri Sivonen
Aryeh Gregor wrote: Quote: The defer and async attributes must not be specified if the src attribute is not present. Do it mean if the src attribute is not present, the defer and async attributes can be not used ? (English is not my native language, :) ) Yes. I don't know why

Re: [whatwg] Canvas: clarification of compositing operations needed

2010-07-29 Thread Leonardo Dutra
People have a very strong feeling about Firefox. This is beautiful, but not good to it. Firefox is now, over the Windows 7 and Mac, the slowest browser. Just pick some JavaScripts and test. XUL is the most hard way for builting an extension and Firefox eats CPU when we run any game built using

Re: [whatwg] Canvas: clarification of compositing operations needed

2010-07-29 Thread Tab Atkins Jr.
On Wed, Jul 28, 2010 at 11:39 PM, David Flanagan da...@davidflanagan.com wrote: James Robinson wrote: For example, I think drawing a 20x20 image into a 500x500 canvas without scaling with a globalCompositeOperation of 'copy' should result in only the 20x20 region being cleared out, not the

Re: [whatwg] Canvas: clarification of compositing operations needed

2010-07-29 Thread Tab Atkins Jr.
On Thu, Jul 29, 2010 at 7:17 AM, Leonardo Dutra leodutra...@gmail.com wrote: But this is not the point. Composite A within the clipping region over the current canvas bitmap using the current composition operator. The word clipping is the point. No, clipping is not the point either. The

Re: [whatwg] Canvas: clarification of compositing operations needed

2010-07-29 Thread David Flanagan
Tab Atkins Jr. wrote: On Wed, Jul 28, 2010 at 11:39 PM, David Flanagan da...@davidflanagan.com wrote: James Robinson wrote: For example, I think drawing a 20x20 image into a 500x500 canvas without scaling with a globalCompositeOperation of 'copy' should result in only the 20x20 region being

Re: [whatwg] Canvas: clarification of compositing operations needed

2010-07-29 Thread Gregg Tavares (wrk)
Even Firefox's implementation is inconsistent. drawShape uses the infinite transparent black bitmap but drawImage does not. I believe even many at Mozilla would like Firefox to switch to the Chrome/Safari method because it's more easily GPU accelerated. In that direction it would be nice if 2

Re: [whatwg] Canvas: clarification of compositing operations needed

2010-07-29 Thread Tab Atkins Jr.
On Thu, Jul 29, 2010 at 10:07 AM, Gregg Tavares (wrk) g...@google.com wrote: #1) Get rid of the infinite transparent black bitmap stuff and change it to something that say only pixels inside the shape/image are effected Like Ian said before, this is fine as soon as someone defines precisely

[whatwg] Proposal for Web Storage expiration

2010-07-29 Thread Nicholas Zakas
Background: The Web Storage specification provides two ways for web applications to store key-value data in the browser, effectively replacing cookies for cases when the server doesn't need the information. For a lot of web application needs, sessionStorage and localStorage (or some

Re: [whatwg] HTML5 Input (Color)

2010-07-29 Thread Aryeh Gregor
On Thu, Jul 29, 2010 at 1:04 AM, Leonardo Dutra leodutra...@gmail.com wrote: Yes, nearly all programming langs were written and based on English. But this is not a development tool, IDE or language... it's the presentation to the non-dev user, and it should be easy and independant of language.

Re: [whatwg] Two propositions for the autofocus attribute

2010-07-29 Thread Ian Hickson
On Fri, 16 Apr 2010, Mounir Lamouri wrote: At the moment, the autofocus attribute specification [1] is quite permissive: only one element should have the autofocus enabled in the document but each time an element with autofocus is inserted into the document, the UA should give it the

Re: [whatwg] Form Validity Ambiguity - patternMismatch

2010-07-29 Thread Ian Hickson
On Mon, 19 Apr 2010, Joseph Pecoraro wrote: The section describing the pattern attribute does not explain that it only applies to particular input types. However, one of the tables showing which content attributes apply to which input types shows the pattern attribute only applies to

Re: [whatwg] Canvas 2D Context Proposal: resetOriginClean

2010-07-29 Thread Ian Hickson
On Tue, 20 Apr 2010, Charles Pritchard wrote: There does not seem to be a standard method of requesting elevated permissions where local file access or cross-domain file access is required. Requesting permissions from whom? The user is not in any place to make educated decisions about such

Re: [whatwg] Canvas 2D Context Proposal: resetOriginClean

2010-07-29 Thread Charles Pritchard
On 7/29/2010 3:37 PM, Ian Hickson wrote: On Tue, 20 Apr 2010, Charles Pritchard wrote: There does not seem to be a standard method of requesting elevated permissions where local file access or cross-domain file access is required. Requesting permissions from whom? The user is not in

Re: [whatwg] Should scripts and plugins in contenteditable content be enabled or disabled?

2010-07-29 Thread Ian Hickson
On Fri, 23 Apr 2010, Simon Pieters wrote: On Fri, 23 Apr 2010 01:28:47 +0200, Robert O'Callahan wrote: See https://bugzilla.mozilla.org/show_bug.cgi?id=519928 Suppose we have a script element inside a contenteditable parent. Should the script run? What about on* attribute event

Re: [whatwg] Adding ECMAScript 5 array extras to HTMLCollection

2010-07-29 Thread Ian Hickson
The e-mails quoted below consist of the salient points of this thread: On Fri, 23 Apr 2010, David Bruant wrote: Make that HTMLCollection (and all HTML*Collection, as a consequence of inheritence of HTMLCollection) inherit from the ECMAScript Array prototype. This way, it will make

Re: [whatwg] Dealing with Stereoscopic displays

2010-07-29 Thread Ian Hickson
On Mon, 26 Apr 2010, Eoin Kilfeather wrote: I was wondering if any though had been given to a consistant way of dealing with stereoscopic displays. A use case has come up in a project I am working on which calls for the use of stereoscopic UIs but I can find no metion of the term in

Re: [whatwg] Ping + Ping-prefix meta element.

2010-07-29 Thread Ian Hickson
On Mon, 26 Apr 2010, Roger Hågensen wrote: Idea originally posted at https://bugzilla.mozilla.org/show_bug.cgi?id=409508 META name=Ping-prefix content=/trackout/ If the browser see this meta tag it will behave as if ping attribute was applied to all externally leading hrefs with the

Re: [whatwg] Canvas 2D Context Proposal: resetOriginClean

2010-07-29 Thread Tab Atkins Jr.
On Thu, Jul 29, 2010 at 3:44 PM, Charles Pritchard ch...@jumis.com wrote: There are some warnings in browsers for other security items:  This HTTPS Certificate is not valid, Continue / Cancel That's recognized pretty universally as a horrible prompt that is actively bad for the user. It does

Re: [whatwg] link by name instead of url

2010-07-29 Thread Ian Hickson
On Wed, 28 Apr 2010, Eitan Adler wrote: Use case 1: A document author wants to provide a link to some site. This site has multiple versions of the page depending on where you live (think google.co.uk, google.co.hk, google.com etc) Use case 2: A document author wants to ask users to share

Re: [whatwg] img as a layout tool to describe the displayed region of a CSS background-image

2010-07-29 Thread Ian Hickson
On Wed, 28 Apr 2010, Ingo Chao wrote: http://dev.w3.org/html5/spec/Overview.html#the-img-element The img must not be used as a layout tool. In particular, img elements should not be used to display transparent images, as they rarely convey meaning and rarely add anything useful to the

[whatwg] Please consider adding timeref attribute to del and ins elements

2010-07-29 Thread Tantek Çelik
Summary: add a new timeref attribute (of type idref) to del and ins elements that can be used to reference the id of a local to document time element which is then used as the datetime value of when the deletion or insertion occurred. Advantages: 1. encourage more visible data (dates in visible

[whatwg] Headings and sections, role of H2-H6

2010-07-29 Thread Ian Hickson
On Wed, 28 Apr 2010, Jesse McCarthy wrote: I see why H2-H6 are retained for certain uses, but -- except in an HGROUP -- there's no good reason to use H2-H6 when writing new code with explicitly marked-up sections, is there? The only reason is backwards-compatibility with existing browsers.

Re: [whatwg] Canvas: clarification of compositing operations needed

2010-07-29 Thread Robert O'Callahan
On Thu, Jul 29, 2010 at 10:09 AM, Oliver Hunt oli...@apple.com wrote: This is the way the webkit canvas implementation has always worked, firefox implemented this incorrectly, and the spec was based off of that implementation. I don't think the spec was based off of that implementation is

Re: [whatwg] An API to resize and rotate images client-side

2010-07-29 Thread Robert O'Callahan
Although I was kinda against adding canvas-2D to workers in the past, I think adding canvas, at least canvas-3D, to workers is going to be essential for advanced Web gaming to achieve steady frame rates, so I think we're going to be going there sooner or later. Rob -- Now the Bereans were of

Re: [whatwg] Adding ECMAScript 5 array extras to HTMLCollection

2010-07-29 Thread Alex Russell
On Mon, Apr 26, 2010 at 10:04 AM, David Flanagan da...@davidflanagan.com wrote: Erik Arvidsson wrote: for (var i = 0, length = collection.length; i length; i++) // instead of: for (var i = 0; i collection.length; i++) Actually, the former is a problem when the nodelist is modified in the

Re: [whatwg] Adding ECMAScript 5 array extras to HTMLCollection

2010-07-29 Thread Oliver Hunt
On Jul 29, 2010, at 9:03 PM, Alex Russell wrote: On Mon, Apr 26, 2010 at 10:04 AM, David Flanagan da...@davidflanagan.com wrote: Erik Arvidsson wrote: for (var i = 0, length = collection.length; i length; i++) // instead of: for (var i = 0; i collection.length; i++) Actually, the

Re: [whatwg] Adding ECMAScript 5 array extras to HTMLCollection

2010-07-29 Thread Garrett Smith
On 7/29/10, Ian Hickson i...@hixie.ch wrote: The e-mails quoted below consist of the salient points of this thread: On Fri, 23 Apr 2010, David Bruant wrote: [...] Or we can just leave the DOM as it is and get used to calling the equivalent of Prototype's $A() function. Before changing