Re: [whatwg] Opera canvas bug?

2007-05-11 Thread Ian Hickson
On Fri, 11 May 2007, Thomas Broyer wrote: 2007/5/11, Ian Hickson: Here are some more tests for you: http://www.hixie.ch/tests/adhoc/html/canvas/ You're using !DOCTYPE HTML5 instead of !DOCTYPE HTML, is this a mistake or have I missed a change in the spec? This should hopefully

Re: [whatwg] Opera canvas bug?

2007-05-11 Thread Kristof Zelechovski
The scripts should test the canvas variable before use. It is empty in IE7 and using it causes a runtime error. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Hickson Sent: Friday, May 11, 2007 4:20 AM To: Benjamin Joffe Cc: [EMAIL PROTECTED]

Re: [whatwg] Opera canvas bug?

2007-05-11 Thread Anne van Kesteren
On Fri, 11 May 2007 10:11:39 +0200, Kristof Zelechovski [EMAIL PROTECTED] wrote: The scripts should test the canvas variable before use. It is empty in IE7 and using it causes a runtime error. That's perfectly fine for tests. -- Anne van Kesteren http://annevankesteren.nl/

Re: [whatwg] Opera canvas bug?

2007-05-11 Thread Stefan Haustein
Hi Ian, concerning when to apply transformations, I think it makes much sense to let the spec reflect the current reality of Safari and Firefox instead of the other way around for the following reasons: http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2007-April/010937.html The referenced

[whatwg] Don't change the semantics of elements

2007-05-11 Thread Simon Pieters
In response to http://www.autisticcuckoo.net/archive.php?id=2007/05/09/forward-towards-the-past I contacted Tommy Olsson to discuss the issue further, and we agreed to forward the discussion to the list. I've translated it from swedish so any grammatical errors are my fault. :-)

Re: [whatwg] Don't change the semantics of elements

2007-05-11 Thread Simon Pieters
On Fri, 11 May 2007 14:54:55 +0200, Simon Pieters [EMAIL PROTECTED] wrote: Webbläsare kan inte göra så mycket skoj med p. Oavsett vad specen säger att en p representerar. Oops, forgot to translate this part. It says: Browsers can't do anything fancy with p. Regardless of what the spec

Re: [whatwg] Don't change the semantics of elements

2007-05-11 Thread Anne van Kesteren
On Fri, 11 May 2007 14:54:55 +0200, Simon Pieters [EMAIL PROTECTED] wrote: It seems like the premises of the working group are something completely different from what I personally would have wished for further development of one of the most important standards on the web. That is yet

Re: [whatwg] Proposal: Allow block content inside label element

2007-05-11 Thread Křištof Želechovski
The speculative wording of HTML5 is actually less accurate because it refers to a platform control which need not exist at all. The imperative wording of HTML4 is both clearer and more accurate. The Label class described at

Re: [whatwg] Canvas draw quality

2007-05-11 Thread Ian Hickson
On Sat, 21 Oct 2006, Alfonso Baqueiro wrote: I wrote this little page to try the canvas http://guia.sytes.net/notas/javascript/biorritmos.html Is interesting that the drawed vertical 1px width black lines appear as 2px width gray lines (in firefox) I suposse that is a colateral effect

Re: [whatwg] canvas elements rect polygon etc

2007-05-11 Thread Ian Hickson
On Sun, 11 Mar 2007, carmen wrote: suppose one is building a GUI with solely canvas elements. i suppose i should have researched canvas - it looks like it doesn't have elemnts one might be faimilar with the Tk canvas - you can only draw using javascript. are there plans to support html

[whatwg] Extending clipping paths

2007-05-11 Thread Ian Hickson
On Sun, 15 Apr 2007, Jordan OSETE wrote: Clipping-paths: --- Right now if i understand it correctly, the clip() function creates a new clipping path, being the intersection of the last clipping path. I have not seen any way to actually come back to a full clipping path, apart

[whatwg] Canvas path objects and path transformations

2007-05-11 Thread Ian Hickson
On Sun, 15 Apr 2007, Jordan OSETE wrote: Currently, there are only ways to _set_ the last point of a subpath (through any of the To() commands), but not to read it. Since it must be kept in the UA's memory anyway, why not have a getLastPoint() function? If not, it forces the user to

[whatwg] Canvas color serialisation

2007-05-11 Thread Ian Hickson
On Sun, 15 Apr 2007, Jordan OSETE wrote: Reading colors can be complex. Right now it returns a string either in the form #xx or rgba(...), depending on the alpha value. It means the reader must be able to parse both, because he never knows if the color's alpha is 255 or less. Maybe

Re: [whatwg] canvas drawImage() and createPattern()

2007-05-11 Thread Ian Hickson
On Sun, 18 Feb 2007, Anne van Kesteren wrote: The specification doesn't define what should happen when the image is still in the loading state. Does drawImage() / createPattern() wait for it to be loaded or do you need the methods from within a load event listener. Wow, you raised this

Re: [whatwg] Opera canvas bug?

2007-05-11 Thread Ian Hickson
On Fri, 11 May 2007, Stefan Haustein wrote: concerning when to apply transformations, I think it makes much sense to let the spec reflect the current reality of Safari and Firefox instead of the other way around for the following reasons:

Re: [whatwg] new ImageData(w, h) proposal

2007-05-11 Thread Ian Hickson
On Mon, 5 Mar 2007, Mathieu HENRI wrote: The ImageData [1] object used in Canvas should be instantiable like HTMLImageElement are using the Image constructor [2,3]. You can already do that: var imagedata = { height: 1, width: 1, data: [0,0,0,0] }; * Specify the

Re: [whatwg] getImageData()

2007-05-11 Thread Ian Hickson
On Tue, 6 Mar 2007, Anne van Kesteren wrote: The specification should probably indicate that for non-positive arguments for the widht and height this method must throw an INDEX_SIZE_ERR exception. Done. It would also be nice if it was made more explicit that the height and width you ask

Re: [whatwg] Spec-based canvas tests

2007-05-11 Thread Ian Hickson
On Mon, 26 Mar 2007, Philip Taylor wrote: I was wondering how accurately the canvas specification matches with the current implementations, so I've done a bit of work on testing the first parts of it (up to Transformations, i.e. the easy/unexciting bits) - the results suggest there isn't

Re: [whatwg] Spec-based canvas tests

2007-05-11 Thread Ian Hickson
On Mon, 26 Mar 2007, Philip Taylor wrote: [...] in some of the cases I had to guess what would be an acceptable result when the spec doesn't specify it Do you have any record of which cases the spec doesn't cover? -- Ian Hickson U+1047E)\._.,--,'``.fL

Re: [whatwg] Canvas spec issues

2007-05-11 Thread Ian Hickson
On Mon, 26 Mar 2007, Philip Taylor wrote: A couple of points that are unclear and are causing differences between current implementations (which is presumably a bad thing): interface HTMLCanvasElement says attribute long width;. #reflect says If a reflecting DOM attribute is a signed

Re: [whatwg] Spec-based canvas tests

2007-05-11 Thread Philip Taylor
On 12/05/07, Ian Hickson [EMAIL PROTECTED] wrote: On Mon, 26 Mar 2007, Philip Taylor wrote: [...] in some of the cases I had to guess what would be an acceptable result when the spec doesn't specify it Do you have any record of which cases the spec doesn't cover? I believe I've sent emails

Re: [whatwg] Spec-based canvas tests

2007-05-11 Thread Ian Hickson
On Sat, 12 May 2007, Philip Taylor wrote: Do you have any record of which cases the spec doesn't cover? I believe I've sent emails about all the issues I've found so far. At some point (hopefully not too long) I intend to go back and fix any tests where the spec has changed, and I'll

Re: [whatwg] document.write test cases [was: Spec-based canvas tests]

2007-05-11 Thread ddailey
Where do you have your test cases for document.write? I have some examples showing rather funky behavior across browsers and wanted to check to see if these cases have already been addressed. Some are rather obvious; others are not. David Sent: Friday, May 11, 2007 9:31 PM Subject: Re:

Re: [whatwg] Pre-defined classes and conformance

2007-05-11 Thread fantasai
Henri Sivonen wrote: When an author uses a new class name not defined by either this specification or the Wiki page, conformance checkers may offer to add the value to the Wiki, with the details described above, with the proposal status. It has been pointed out to me that the offers would