Re: [whatwg] banner as a dedicated tag

2011-03-01 Thread Will Alexander
On Wed, 2011-02-23 at 11:12 -0800, Tab Atkins Jr. wrote: I have untrusted markup from a third party which I would like to safely insert into my page, knowing that the rest of my page is safe from whatever the untrusted markup is doing. Also, the untrusted markup may be doing expensive

Re: [whatwg] Proposal for separating script downloads and execution

2011-02-22 Thread Will Alexander
On Thu, 2011-02-17 at 15:24 -0500, Boris Zbarsky wrote: 1)  If your script is no-cache, or max-age:0, does IE make a new    request for it for every script element? For the most part this seems to be the case but there are two exceptions: a) Before a URL loads, if it's assigned to another

Re: [whatwg] Proposal for separating script downloads and execution

2011-02-22 Thread Will Alexander
On Tue, Feb 22, 2011 at 4:13 PM, Boris Zbarsky bzbar...@mit.edu wrote: Uh... In that situation I would expect the event handler to keep the script alive until the load finishes. Anything else is just a bug that exposes GC timing to the web page. Yes, quite strange. It's fixed in IE9 (at

Re: [whatwg] Proposal for separating script downloads and execution

2011-02-22 Thread Will Alexander
On Tue, Feb 22, 2011 at 6:35 PM, Boris Zbarsky bzbar...@mit.edu wrote: Would a means by which authors can mark a pre-fetched script as stale allay some of your concerns? I wouldn't expect anyone to actually use such a means. Understandable. I ask because at one point you stated if DOM

Re: [whatwg] Proposal for separating script downloads and execution

2011-02-16 Thread Will Alexander
On Feb 15, 2011 6:34 PM, Nicholas Zakas nza...@yahoo-inc.com wrote: 1) Should the default behavior for dynamic script nodes be to start downloading the file upon the setting of src and only execute when added to the document (IE's behavior) or not? Could the default behavior be defined by the

Re: [whatwg] Proposal for separating script downloads and execution

2011-02-11 Thread Will Alexander
On Feb 11, 2011 12:31 PM, Will Alexander serverher...@gmail.com wrote: On Feb 11, 2011 10:41 AM, Nicholas Zakas nza...@yahoo-inc.com wrote: We've gone back and forth around implementation specifics, and now I'd like to get a general feeling on direction. It seems that enough people

Re: [whatwg] Proposal for separating script downloads and execution

2011-02-11 Thread Will Alexander
On Feb 11, 2011 10:41 AM, Nicholas Zakas nza...@yahoo-inc.com wrote: We've gone back and forth around implementation specifics, and now I'd like to get a general feeling on direction. It seems that enough people understand why a solution like this is important, both on the desktop and for

Re: [whatwg] Proposal for separating script downloads and execution

2011-02-11 Thread Will Alexander
clouded this thread with more slightly-related-but-mostly-off-topic fud. -N -Original Message- From: whatwg-boun...@lists.whatwg.org [mailto: whatwg-boun...@lists.whatwg.org] On Behalf Of Will Alexander Sent: Friday, February 11, 2011 12:58 PM To: whatwg@lists.whatwg.org Subject: Re

Re: [whatwg] Proposal for separating script downloads and execution

2011-02-03 Thread Will Alexander
Doesn't link rel=prefetch mostly address the use-case of load-but-don't-execute in markup? The reason script-inserted script elements need this capability is more advanced than any use-case for why you'd do so in markup. In other words, I can't imagine that a script loader would rely on

Re: [whatwg] keyboard behaviour inside of editable area

2009-10-20 Thread Alexander Surkov
arrow keys work while shift is active (an attempt to influence selection length/shape). I've heard rumors that Qt has (plans?) for some magical way to control position. Alexander Surkov's proposal also doesn't covered BiDi behavior Also, it's unclear to me what the goal is. Should I

Re: [whatwg] keyboard behaviour inside of editable area

2009-10-12 Thread Alexander Surkov
this issue for discussion. I'm happy you find the described behaviour reasonable. Thank you again. Alex. On Mon, Oct 12, 2009 at 3:04 PM, Ian Hickson i...@hixie.ch wrote: On Thu, 8 Oct 2009, Alexander Surkov wrote: The suggestion is to treat control element as special character, i.e. when you move

[whatwg] HTML form controls inside of editable area

2009-07-22 Thread Alexander Surkov
Hi. HTML 5 contentEditable section doesn't define behaviour of HTML form controls inside of editable area explicitly (http://dev.w3.org/html5/spec/Overview.html#user-editing-actions). The question is the following: is behaviour on keyboard or mouse interaction with form controls inside of

Re: [whatwg] Opera SVG Re: How to use SVG in HTML5?

2008-01-28 Thread Vlad Alexander (xhtml.com)
Thank you Erik - this is what I was looking for. Regards, -Vlad http://xhtml.com Original Message From: Erik Dahlstr�m Date: 2008-01-28 11:16 AM On Mon, 28 Jan 2008 15:34:32 +0100, Vlad Alexander (xhtml.com) [EMAIL PROTECTED] wrote: Hi Erik, Thanks Erik, but I still

Re: [whatwg] Opera SVG Re: How to use SVG in HTML5?

2008-01-28 Thread Vlad Alexander (xhtml.com)
:10:08 +1100, Vlad Alexander (xhtml.com) [EMAIL PROTECTED] wrote: Hi Charles, Thanks for looking into this. Here you go: http://xhtml.com/misc/svg-img1.htm http://xhtml.com/misc/svg-img2.htm http://xhtml.com/misc/svg-img3.htm The referenced svg file doesn't define an intrinsic ratio

Re: [whatwg] Opera SVG Re: How to use SVG in HTML5?

2008-01-25 Thread Vlad Alexander (xhtml.com)
, On Fri, 25 Jan 2008 00:50:45 +1100, Vlad Alexander (xhtml.com) [EMAIL PROTECTED] wrote: ... I tested Opera's support for SVG through the img element and it incorrectly clips the SVG image. The width and height attributes of the img element need to set the viewport for the SVG image and scale

Re: [whatwg] How to use SVG in HTML5?

2008-01-24 Thread Vlad Alexander (xhtml.com)
Embedding SVG by reference (thought the img element) is well suited to HTML. SVG was designed for this as stated in Embedding by reference section here: http://www.w3.org/TR/SVG11/concepts.html#UsageOptions I tested Opera's support for SVG through the img element and it incorrectly clips the

Re: [whatwg] SVG extensions to canvas

2007-10-27 Thread Vlad Alexander (xhtml.com)
Daniel wrote: SVGs *explicitly* state their size So do raster images. Daniel wrote: To change the size, you would actually be violating the content of the image file itself. But that is exactly what SVG editors do - they let users scale the SVG images. Any application that does a thumbnail

Re: [whatwg] SVG extensions to canvas

2007-10-26 Thread Vlad Alexander (xhtml.com)
Hi Daniel, Sorry, I still don't get it. A raster (bitmap) image, which _isn't_ really designed to scale, has intrinsic size yet it is scaled by the IMG's width and height attributes. Why isn't an image that _is_ designed to scale not scaled by the IMG's width and height attributes? Regards,

Re: [whatwg] SVG extensions to canvas

2007-10-25 Thread Vlad Alexander (xhtml.com)
Anne, on a semi-related topic, can you please help me understand why Opera does not scale the SVG image when loaded via IMG element? Here is a test page: http://xhtml.com/misc/svg-img.htm Regards, -Vlad http://xhtml.com Original Message From: Anne van Kesteren Date:

Re: [whatwg] Alternate content to OBJECT should not participate in HTTP POST

2007-10-25 Thread Vlad Alexander (xhtml.com)
PM On 10/25/07, Vlad Alexander (xhtml.com) [EMAIL PROTECTED] wrote: Request for the HTML 5 forms section: Alternate content such as form controls should not participate in the HTTP POST if the object can be rendered. In this example, if logo.gif can be rendered, then data from textarea should

[whatwg] name/codebase attributes on object element

2007-10-22 Thread Vlad Alexander (xhtml.com)
I noticed that the latest HTML 5 draft states that the name and codebase attributes are not allowed on the object element. 1. Plug-ins, such as XStandard, use the name attribute for submitting content to the server without the need for JavaScript. This makes for an accessible solution.

[whatwg] Load SVG via IMG element

2007-10-04 Thread Vlad Alexander (xhtml.com)
I noticed that Opera 9.5 can load an SVG image via the IMG element. I think this is a wonderful thing. Is there any specification on how this should work? For example, I noticed that Opera, for some reason, does not scale SVG images to fit the box created by the IMG element's width and height

[whatwg] additional key attribute in form field

2007-07-06 Thread Alexander
quantity field: !--- loop via quantity fields ---! if (quantity.key == '----') { ... } !--- end of loop ---! Regards, Alexander.

Re: [whatwg] additional key attribute in form field

2007-07-06 Thread Alexander
The simple name/value pairs that form submission is organized in are sufficient for expressing data structures of any complexity. Multidimensional keys like (name, key) in your example can be expressed through combined names: input type=text name=quantity:{id_value_here} value=

Re: [whatwg] several messages about HTML5

2007-02-20 Thread Vlad Alexander (xhtml.com)
4. One of the biggest problems with HTML is that content authors can get away with writing tag soup. As a result, most content authors don't feel the need to write markup to specification. When markup is not written to specification, CSS may not get applied correctly, JavaScript may not execute

Re: [whatwg] several messages about HTML5

2007-02-20 Thread Vlad Alexander (xhtml.com)
Thank you Ian. Just one follow-up question. You wrote: ...We could require editors to do this, but since nobody knows how to do it, it would be a stupid requirement. ... Is it due to a flaw in HTML that it is difficult to build authoring tools, such as WYSIWYG editors, that generate markup

[whatwg] Why do we need X/HTML 5?

2007-02-19 Thread Vlad Alexander (xhtml.com)
Why do we need X/HTML 5? When did this need become apparent?

[whatwg] Timetable for moving X/HTML 5 through the standards approval process

2007-02-19 Thread Vlad Alexander (xhtml.com)
X/HTML 5 is currently in Working Draft stage. What is the tentative timetable for moving X/HTML 5 through the standards approval process towards Recommendation stage?

[whatwg] New markup constructs

2007-02-19 Thread Vlad Alexander (xhtml.com)
X/HTML 5 introduces new markup constructs such as sectioning elements, enhancements to the input element, a construct for dialogs, a way to mark up figures, and much more. Can you briefly describe these new constructs and the reason they were added?