Re: [whatwg] CSS canvas() function

2010-12-02 Thread Tab Atkins Jr.
On Thu, Dec 2, 2010 at 10:30 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 12/2/10 1:06 PM, Tab Atkins Jr. wrote: img  does, though, if the resource for whatever reason hasn't been received and successfully decoded yet. I think showing @alt in this context for img would be _really_ weird

Re: [whatwg] CSS canvas() function

2010-12-02 Thread Tab Atkins Jr.
On Thu, Dec 2, 2010 at 3:55 PM, Robert O'Callahan rob...@ocallahan.org wrote: I think we could spec the following cases: 1) img containing a fully loaded image; size is the intrinsic size of the image 2) video when it's displaying a video or fully loaded poster image; size is the intrinsic

Re: [whatwg] CSS canvas() function

2010-12-01 Thread Tab Atkins Jr.
On Tue, Nov 23, 2010 at 5:35 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Wed, Nov 24, 2010 at 2:23 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: For example, I've recently been playing with fractals in canvas, and temporarily set my blog to have a screen-filling canvas z-index'd

Re: [whatwg] CSS canvas() function

2010-12-01 Thread Tab Atkins Jr.
On Wed, Dec 1, 2010 at 2:16 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: I've gone with using element() for selectors (limited to only ID selectors, but other valid selectors are accepted, they just don't currently do anything).  Then element-ref() takes an ident, which the js function maps

Re: [whatwg] CSS canvas() function

2010-12-01 Thread Tab Atkins Jr.
On Wed, Dec 1, 2010 at 3:38 PM, Olli Pettay olli.pet...@helsinki.fi wrote: On 12/02/2010 12:42 AM, Tab Atkins Jr. wrote: On Wed, Dec 1, 2010 at 2:16 PM, Tab Atkins Jr.jackalm...@gmail.com  wrote: I've gone with using element() for selectors (limited to only ID selectors, but other valid

Re: [whatwg] CSS canvas() function

2010-12-01 Thread Tab Atkins Jr.
On Wed, Dec 1, 2010 at 5:20 PM, Robert O'Callahan rob...@ocallahan.org wrote: In the absence of compelling use cases, I'd just leave it at img, canvas and video and whitelist in more elements later if necessary. input type=image? object/embed seem to have roughly equivalent use-cases to video

Re: [whatwg] CSS canvas() function

2010-12-01 Thread Tab Atkins Jr.
On Wed, Dec 1, 2010 at 5:37 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Thu, Dec 2, 2010 at 2:25 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Wed, Dec 1, 2010 at 5:20 PM, Robert O'Callahan rob...@ocallahan.org wrote: In the absence of compelling use cases, I'd just leave

Re: [whatwg] Canvas gradients color interpolation - change to premultiplied?

2010-11-28 Thread Tab Atkins Jr.
On Fri, Nov 26, 2010 at 8:44 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 11/26/10 11:39 PM, Simon Fraser wrote: But CSS gradients are already requiring interpolation in premutiplied space, right? I think you're thinking of CSS Transitions, which we decided should run in premultiplied.

[whatwg] Canvas gradients color interpolation - change to premultiplied?

2010-11-23 Thread Tab Atkins Jr.
Right now, canvas gradients interpolate their colors in non-premultiplied space; that is, the raw values of r, g, b, and a are interpolated independently. This has the unfortunate effect that colors darken as they transition to transparent, as transparent is defined as rgba(0,0,0,0), a

Re: [whatwg] classList should perhaps move from HTMLElement to Element

2010-11-23 Thread Tab Atkins Jr.
On Tue, Nov 23, 2010 at 12:25 PM, Anne van Kesteren ann...@opera.com wrote: On Tue, 23 Nov 2010 21:04:37 +0100, Jonas Sicking jo...@sicking.cc wrote: I agree that unless we get other groups in on this change, and get things like SVG cross-references and CSS styling reacting to these id and

Re: [whatwg] Canvas gradients color interpolation - change to premultiplied?

2010-11-23 Thread Tab Atkins Jr.
On Tue, Nov 23, 2010 at 2:09 PM, Philip Taylor excors+wha...@gmail.com wrote: On Tue, Nov 23, 2010 at 8:43 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Right now, canvas gradients interpolate their colors in non-premultiplied space; that is, the raw values of r, g, b, and a are interpolated

[whatwg] CSS canvas() function

2010-11-23 Thread Tab Atkins Jr.
(This is being sent to the WHATWG list, rather than the CSSWG list, as it seems like the sort of thing that should be primarily defined in HTML, with a CSS spec just referring to the HTML definition, like :active and similar things.) Webkit has for some time now supported using the

Re: [whatwg] CSS canvas() function

2010-11-23 Thread Tab Atkins Jr.
On Tue, Nov 23, 2010 at 4:59 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Wed, Nov 24, 2010 at 1:13 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Webkit has for some time now supported using the -webkit-canvas() function in CSS anywhere you could use an image (http://webkit.org/blog

Re: [whatwg] Processing the zoom level - MS extensions to window.screen

2010-11-20 Thread Tab Atkins Jr.
On Sat, Nov 20, 2010 at 9:49 AM, Simon Fraser s...@me.com wrote: On Nov 20, 2010, at 7:46 AM, Ojan Vafai wrote: To be clear, chrome.tabs.getZoomPercentage is a Chrome extension API. Having extensions that can mess with zoom seems like a legit use-case. But I agree, I can't think of good

Re: [whatwg] Iframe dimensions

2010-11-16 Thread Tab Atkins Jr.
On Tue, Nov 16, 2010 at 12:02 AM, Markus Ernst derer...@gmx.ch wrote: From my humble author's POV, CORS is easy enough for tasks like the one I mentioned, if: - it is applicable at the server side with common scripting languages such as PHP It is, very easily. For pages that are already

Re: [whatwg] Iframe dimensions

2010-11-16 Thread Tab Atkins Jr.
On Tue, Nov 16, 2010 at 10:06 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 11/16/10 12:56 PM, Tab Atkins Jr. wrote: - it is applicable at the client side without scripting This is not possible, for the simple reason that the whole point of CORS is to protect server resources.  If you could

Re: [whatwg] srcdoc= feedback

2010-11-15 Thread Tab Atkins Jr.
On Mon, Nov 15, 2010 at 1:46 PM, Ian Hickson i...@hixie.ch wrote: On Tue, 31 Aug 2010, Tab Atkins Jr. wrote: What use-case are you trying to address that you think the suggestion in this thread (make @srcdoc imply @sandbox) is incompatible with?  At the moment it appears that you're confused

Re: [whatwg] Pseudo-class ::scrollbar

2010-11-12 Thread Tab Atkins Jr.
On Fri, Nov 12, 2010 at 4:55 PM, Diogo Resende drese...@thinkdigital.pt wrote: Hi, Is there any draft or spec for styling element scrollbars? I really like the webkit spec (::-webkit-scrollbar*). I think this is as important as styling buttons or video controls. Any security concerns I don't

Re: [whatwg] Timed tracks: feedback compendium

2010-11-05 Thread Tab Atkins Jr.
On Fri, Nov 5, 2010 at 5:32 AM, Silvia Pfeiffer silviapfeiff...@gmail.com wrote: Another note on WebSRT: seeing the addition of the bdi element into HTML, we probably also need to add that to WebSRT cue level markup to allow bidirectional text formatting.

Re: [whatwg] rendering WebSRT cue parts in use for subtitling songs

2010-10-18 Thread Tab Atkins Jr.
On Sat, Oct 16, 2010 at 4:18 PM, Silvia Pfeiffer silviapfeiff...@gmail.com wrote: I would expect a style of rendering where all words are first displayed in ordinary display and e.g. painted in a different color as the time reaches them. Something like: ::cue {  color: black; } // this is

Re: [whatwg] Exposing filenames in DataTransfer

2010-10-18 Thread Tab Atkins Jr.
On Mon, Oct 18, 2010 at 1:59 PM, Daniel Cheng dch...@chromium.org wrote: However, this leads to issues like file system paths being exposed through properties like x-special/gnome-icon-list or even text/plain. What is the expected behavior here? Mirroring the native dragging clipboard allows

Re: [whatwg] Inline Web Worker

2010-10-16 Thread Tab Atkins Jr.
On Sat, Oct 16, 2010 at 3:30 AM, Simon Pieters sim...@opera.com wrote: On Sat, 16 Oct 2010 03:12:38 +0200, Jonas Sicking jo...@sicking.cc wrote: Allowing both blob URLs and data URLs for workers sounds like a great idea. FWIW, Opera supports data URLs for Worker (but not SharedWorker since

Re: [whatwg] SearchBox API

2010-10-15 Thread Tab Atkins Jr.
On Thu, Oct 14, 2010 at 9:23 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Fri, Oct 15, 2010 at 12:53 PM, Tony Gentilcore to...@chromium.org wrote: The simplest way to address this is probably to advertise support via an agreed upon meta tag. e.g. meta name=NavigatorSearchBoxSupport

Re: [whatwg] Constraint validation feedback (various threads)

2010-09-25 Thread Tab Atkins Jr.
On Fri, Sep 24, 2010 at 6:23 PM, Mounir Lamouri mounir.lamo...@gmail.com wrote: Tab, you seemed to support this proposition when I made it. Is it planned to have that implemented in Webkit? I have no clue. I'd have to ask around and see who's implementing that. ~TJ

Re: [whatwg] Canvas element image scaling

2010-09-18 Thread Tab Atkins Jr.
On Sat, Sep 18, 2010 at 2:25 PM, Rob Evans r...@mtn-i.com wrote: Has the canvas spec changed the way the drawImage function scales before drawing to canvas? It doesn't specify how the function scales at all: Note: This specification does not define the algorithm to use when scaling the image,

Re: [whatwg] Web Storage, Editor's Draft 20 August 2010 - Request for enhancement

2010-09-14 Thread Tab Atkins Jr.
On Tue, Sep 14, 2010 at 4:52 AM, Jim Williams jgwilli...@mindspring.com wrote: I tried out local storage, used it to save the contents of a content-editable passage.  It worked great in Firefox, Chrome, Safari, and MSIE.  Only one problem:  Every time I switched browsers, I had to start over

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-10 Thread Tab Atkins Jr.
On Fri, Sep 10, 2010 at 4:05 AM, Silvia Pfeiffer silviapfeiff...@gmail.com wrote: On Fri, Sep 10, 2010 at 7:28 PM, Biju bijumaill...@gmail.com wrote: https://bugzilla.mozilla.org/show_bug.cgi?id=571822 Firefox fires the timeupdate event once per frame. Safari 5 and Chrome 6 fire every

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-10 Thread Tab Atkins Jr.
On Fri, Sep 10, 2010 at 9:58 AM, Simon Fraser s...@me.com wrote: The problem with a 'newFrame' callback is what to do if the callback takes longer than the duration of a single frame. Does the video engine start dropping frames, or does the video lag? Dropping frames would be the better

Re: [whatwg] VIDEO Timeupdate event frequency.

2010-09-10 Thread Tab Atkins Jr.
On Fri, Sep 10, 2010 at 4:01 PM, Robert O'Callahan rob...@ocallahan.org wrote: I think an ideal API for video frame processing would involve handing video frames to a Worker for processing. Mm, yeah, probably. But then you'd need to be able to do canvas on workers, and hand the data back...

Re: [whatwg] Partial HTML5 documents

2010-09-09 Thread Tab Atkins Jr.
On Thu, Sep 9, 2010 at 9:06 AM, Rostislav Hristov rostislav.hris...@gmail.com wrote: Hello, I'm looking for a way to define valid partial HTML fragments that can be included into other documents using a server-side language or injected using AJAX. The current specification doesn't have any

Re: [whatwg] Timed tracks: feedback compendium

2010-09-08 Thread Tab Atkins Jr.
On Wed, Sep 8, 2010 at 2:27 AM, Philip Jägenstedt phil...@opera.com wrote: On Wed, 08 Sep 2010 01:19:17 +0200, Ian Hickson i...@hixie.ch wrote: We could say that a custom voice has to start with some punctuation or other, say :philip? Yes, that would be better than numerical voices IMO.

Re: [whatwg] Differences between HTML5 Drafts

2010-09-08 Thread Tab Atkins Jr.
On Wed, Sep 8, 2010 at 10:11 AM, zhao Matt mattzhao...@gmail.com wrote: I want to know the differences between these HTML5 drafts( I don't want to know more details about the differences, and just want to know the major changes), Could someone know where to find such Information? Which

Re: [whatwg] Differences between HTML5 Drafts

2010-09-08 Thread Tab Atkins Jr.
On Wed, Sep 8, 2010 at 11:00 AM, zhao Matt mattzhao...@gmail.com wrote: Thanks. I am a newbie ;) BTW, some revisions(e.g. 5443, 5439) are displayed in red background. What does it mean? The color is an indication of the type of edit. If you hover the link in the revision message, you'll see

Re: [whatwg] HTML6 Doctype

2010-09-07 Thread Tab Atkins Jr.
On Tue, Sep 7, 2010 at 4:45 PM, fantasai fantasai.li...@inkedblade.net wrote: On 08/29/2010 08:00 AM, Tab Atkins Jr. wrote: On Sat, Aug 28, 2010 at 8:15 PM, David John Burrowes bain...@davidjohnburrowes.com  wrote: I agree that they don't have access to versioning info from within

Re: [whatwg] [html5] r5307 - [giow] (0) use vendor--feature instead of _vendor-feature since Apple engineers [...]

2010-08-31 Thread Tab Atkins Jr.
On Tue, Aug 31, 2010 at 12:48 AM, Simon Pieters sim...@opera.com wrote: On Mon, 30 Aug 2010 19:06:43 +0200, Aryeh Gregor simetrical+...@gmail.com wrote: On Mon, Aug 30, 2010 at 4:19 AM, Simon Pieters sim...@opera.com wrote: This change clashes with data-*. How?  Are you missing the fact

Re: [whatwg] @srcdoc and default @sandbox

2010-08-31 Thread Tab Atkins Jr.
2010/8/31 Kornel Lesiński kor...@geekhood.net: On Mon, 30 Aug 2010 23:13:04 +0100, Justin Schuh jsc...@chromium.org wrote: At least as currently drafted, srcdoc is not a security feature. It's a convenience feature. It is also designed to work well in tandem with a particular security feature

Re: [whatwg] @srcdoc and default @sandbox

2010-08-31 Thread Tab Atkins Jr.
2010/8/31 Kornel Lesiński kor...@geekhood.net: On 31.08.2010, at 23:39, Tab Atkins Jr. wrote: At least as currently drafted, srcdoc is not a security feature. It's a convenience feature. It is also designed to work well in tandem with a particular security feature (sandbox). But by itself

[whatwg] @srcdoc and default @sandbox

2010-08-30 Thread Tab Atkins Jr.
While talking with the implementor of @srcdoc in Webkit, it came up that, though @srcdoc is *designed* for use with @sandbox, the author still has to explicitly add @sandbox to the iframe or else they don't get the sandbox security model. Can we make this automatic? Specifically, when iframe

Re: [whatwg] @srcdoc and default @sandbox

2010-08-30 Thread Tab Atkins Jr.
On Mon, Aug 30, 2010 at 10:18 AM, Maciej Stachowiak m...@apple.com wrote: On Aug 30, 2010, at 10:02 AM, Tab Atkins Jr. wrote: While talking with the implementor of @srcdoc in Webkit, it came up that, though @srcdoc is *designed* for use with @sandbox, the author still has to explicitly add

Re: [whatwg] @srcdoc and default @sandbox

2010-08-30 Thread Tab Atkins Jr.
On Mon, Aug 30, 2010 at 2:08 PM, Adam Barth w...@adambarth.com wrote: On Mon, Aug 30, 2010 at 1:58 PM, Maciej Stachowiak m...@apple.com wrote: Should @seamless imply @sandbox too, then? I think there lots of use cases for seamless that don't require sandbox.  For example, suppose a site wants

Re: [whatwg] HTML6 Doctype

2010-08-29 Thread Tab Atkins Jr.
On Sat, Aug 28, 2010 at 8:15 PM, David John Burrowes bain...@davidjohnburrowes.com wrote: I agree that they don't have access to versioning info from within the languages. But, CSS has some sense of versions (CSS, CSS2, and CSS3).  This gives me some ability to say ah, SurfBrowser 1.0 and

Re: [whatwg] Which differences between embed and object

2010-08-28 Thread Tab Atkins Jr.
On Sat, Aug 28, 2010 at 8:16 AM, zhao Matt mattzhao...@gmail.com wrote: According to HTML5 spec, the embed tag can play a swf file, however,  the object tag can also play a swf file (though object is defined in HTML4). I don't understand why need the embed tag , because the object tag can

Re: [whatwg] Have tabstrip / tab elements been discussed?

2010-08-28 Thread Tab Atkins Jr.
On Fri, Aug 27, 2010 at 9:54 PM, E.J. Zufelt li...@zufelt.ca wrote: Good evening, I am rather new to this list and am curious if anytime recently there has been discussion about adding tabstrip and tab elements to the html5 spec?  The concept of a tabstrip is a rather commonly used UI

Re: [whatwg] Have tabstrip / tab elements been discussed?

2010-08-28 Thread Tab Atkins Jr.
On Sat, Aug 28, 2010 at 3:32 PM, E.J. Zufelt li...@zufelt.ca wrote: It is important to provide semantic markup for complex UI controls where they are common, tabstrip/tab is one example of a common UI component that requires markup.  This way meaningful information about the role of the

Re: [whatwg] Built-in image sprite support in HTML5

2010-08-26 Thread Tab Atkins Jr.
On Wed, Aug 25, 2010 at 7:00 PM, Silvia Pfeiffer silviapfeiff...@gmail.com wrote: It would, however, be good to have an indication where HTML would like to see it going. Would it be better for a media fragment URI for images such as http://example.com/picture.png#xywh=160,120,320,240  to

Re: [whatwg] Discussing WebSRT and alternatives/improvements

2010-08-24 Thread Tab Atkins Jr.
On Tue, Aug 24, 2010 at 8:07 AM, Philip Jägenstedt phil...@opera.com wrote: On Tue, 24 Aug 2010 16:21:28 +0200, Henri Sivonen hsivo...@iki.fi wrote: I'd be OK with not supporting karaoke or anime fansubbing at all declaratively (requiring those use cases to be addressed in JavaScript) or with

Re: [whatwg] required attribute in label

2010-08-21 Thread Tab Atkins Jr.
On Fri, Aug 20, 2010 at 11:33 PM, WhatWg wha...@gmail.com wrote: However, it seems that since input is an empty element, the content cannot be added after. Right; inputs don't have children. (In some actual implementations, they just automatically hide their children from the rest of the DOM.)

Re: [whatwg] [html5] r5307 - [giow] (0) use vendor--feature instead of _vendor-feature since Apple engineers [...]

2010-08-17 Thread Tab Atkins Jr.
On Mon, Aug 16, 2010 at 10:27 PM, Anne van Kesteren ann...@opera.com wrote: On Tue, 17 Aug 2010 06:32:33 +0200, Robert O'Callahan rob...@ocallahan.org wrote: On Tue, Aug 17, 2010 at 4:05 PM, Ian Hickson i...@hixie.ch wrote: Hmm, good point. Any other suggestions? Mozilla has already added

Re: [whatwg] Treatment of negative values for li

2010-08-12 Thread Tab Atkins Jr.
On Thu, Aug 12, 2010 at 1:24 PM, Aryeh Gregor simetrical+...@gmail.com wrote: The HTML5 spec doesn't say UAs should treat li value=-1 different from a negative value specified for any long.  For example, a get on the reflected attribute li.value should return -1.  In this test case: !doctype

Re: [whatwg] HTML5 video source dimensions and bitrate

2010-08-10 Thread Tab Atkins Jr.
It *appears* that the minimum you're asking for is some way to include the bitrate/etc. information in the source element so that you can switch between them in js, right? You're not trying to add something that will cause changed browser behavior? In that case, your solution already exists -

Re: [whatwg] input type=location proposals

2010-08-10 Thread Tab Atkins Jr.
On Tue, Aug 10, 2010 at 2:53 AM, Diogo Resende drese...@thinkdigital.pt wrote: On Sun, 20 Jun 2010, Eitan Adler wrote: For type=gps I was thinking something like the following: 1) type=gps results in a (double?) text box which takes a latitude and a longitude 2a) there is some css

Re: [whatwg] select element should have a required attribute

2010-08-10 Thread Tab Atkins Jr.
On Tue, Aug 10, 2010 at 2:35 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: If you receive an empty text box then a required element works to validate against empty input. As you produce the input for the select list, it's pretty stupid to say that it shouldn't have an empty string for

Re: [whatwg] [html5] r5258 - [e] (0) Some more references to UTF-8.

2010-08-10 Thread Tab Atkins Jr.
On Tue, Aug 10, 2010 at 4:53 AM, Leif Halvard Silli xn--mlform-...@xn--mlform-iua.no wrote: wha...@whatwg.org, Mon,  9 Aug 2010 18:16:12 -0700 (PDT): Author: ianh Date: 2010-08-09 18:16:10 -0700 (Mon, 09 Aug 2010) New Revision: 5258    pAuthors are encouraged to use UTF-8. Conformance

Re: [whatwg] Question on iframe.srcdoc address (about:srcdoc)

2010-08-10 Thread Tab Atkins Jr.
On Mon, Aug 9, 2010 at 6:39 PM, Justin Schuh jsc...@chromium.org wrote: I'm working on implementing iframe.srcdoc in WebKit, and section 2.5.1 states: This specification defines the URL about:srcdoc as a reserved, though unresolvable, about: URI, that is used as the document's address of

Re: [whatwg] input type=location proposals

2010-08-10 Thread Tab Atkins Jr.
On Tue, Aug 10, 2010 at 10:29 AM, Diogo Resende drese...@thinkdigital.pt wrote: On Tue, 2010-08-10 at 10:00 -0700, Tab Atkins Jr. wrote: Does a type=location offer any similar benefits over a pair of type=number inputs? Yes, of course. Instead of a numeric keyboard (I never saw one on my

Re: [whatwg] Question on iframe.srcdoc address (about:srcdoc)

2010-08-10 Thread Tab Atkins Jr.
On Tue, Aug 10, 2010 at 10:30 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: 1. data: urls are unique-origin automatically, and there's no special handling of that wrt sandbox=allow-same-origin (that is, the flag does nothing, because the url isn't same-origin to begin with). �...@srcdoc

Re: [whatwg] HTML5 video source dimensions and bitrate

2010-08-10 Thread Tab Atkins Jr.
On Tue, Aug 10, 2010 at 9:44 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: It *appears* that the minimum you're asking for is some way to include the bitrate/etc. information in the source element so that you can switch between them in js, right?  You're not trying to add something

Re: [whatwg] select element should have a required attribute

2010-08-10 Thread Tab Atkins Jr.
On Tue, Aug 10, 2010 at 11:12 AM, Mike Wilcox m...@mikewilcox.net wrote: This seems like the ideal situation to use a placeholder attribute: select required=true placeholder=Select an item...    option value=Foo Foo /option    option value=Bar Bar /option    option value= None /option

Re: [whatwg] Please consider adding a couple more datetime input types - type=year and type=month-day

2010-08-09 Thread Tab Atkins Jr.
On Mon, Aug 9, 2010 at 5:41 PM, Ryosuke Niwa ryosuke.n...@gmail.com wrote: On Mon, Aug 9, 2010 at 8:36 AM, Andy Mabbett a...@pigsonthewing.org.uk wrote: On Mon, August 9, 2010 15:10, Daniel Glazman wrote: Le 09/08/10 03:11, Kit Grose a écrit : should the year field also permit the entry

Re: [whatwg] HTML resource packages

2010-08-06 Thread Tab Atkins Jr.
On Fri, Aug 6, 2010 at 12:46 AM, Christoph Päper christoph.pae...@crissov.de wrote: Justin Lebar: Christoph Päper christoph.pae...@crissov.de wrote: Why do you want to put this on the HTML level (exclusively), not the HTTP level? If you reference an image from a CSS file and include that

Re: [whatwg] INCLUDE and links with @rel=embed

2010-08-06 Thread Tab Atkins Jr.
On Thu, Aug 5, 2010 at 7:43 PM, Bjartur Thorlacius svartma...@gmail.com wrote: On 8/5/10, Tab Atkins Jr. jackalm...@gmail.com wrote: I'll note, though, that that isn't a very useful pattern for users in the first place.  Most users won't have any idea what to do with a video file, especially

Re: [whatwg] input type=upload (not just files) proposal

2010-08-06 Thread Tab Atkins Jr.
On Fri, Aug 6, 2010 at 12:10 PM, Ian Hickson i...@hixie.ch wrote: I think it might make sense to expose file upload progress on a form to a same-origin server. It would be interesting to see how the equivalent feature in XMLHttpRequest is received before we add this, though. I've made a note

Re: [whatwg] INCLUDE and links with @rel=embed

2010-08-06 Thread Tab Atkins Jr.
On Fri, Aug 6, 2010 at 1:12 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2010-08-06 at 12:43 -0700, Tab Atkins Jr. wrote: Do browsers supply a file extension for un-extensioned files based on the mimetype? I didn't think they did. A file without an extension confuses most

Re: [whatwg] INCLUDE and links with @rel=embed

2010-08-05 Thread Tab Atkins Jr.
On Wed, Aug 4, 2010 at 7:25 PM, Bjartur Thorlacius svartma...@gmail.com wrote: On Tue, 18 May 2010, bjartur wrote: First of all I think we should use a rel=embed href=uri-ref instead of source. What problem would this solve? It would tell UAs that don't implement HTML 5 that the value

Re: [whatwg] [br] element should not be a line break

2010-08-05 Thread Tab Atkins Jr.
On Thu, Aug 5, 2010 at 2:24 AM, Thomas Koetter thomas.koet...@id-script.de wrote: Aryeh wrote: That's invalid markup.  The first child of a dl (if any) must be a dt.  I don't know what the semantics of dl are supposed to be with no dt. According to the spec it is perfectly acceptable to leave

Re: [whatwg] HTML resource packages

2010-08-03 Thread Tab Atkins Jr.
On Tue, Aug 3, 2010 at 5:31 PM, Justin Lebar justin.le...@gmail.com wrote: We at Mozilla are hoping to ship HTML resource packages in Firefox 4, and we wanted to get the WhatWG's feedback on the feature. For the impatient, the spec is here:    http://people.mozilla.org/~jlebar/respkg/ and

Re: [whatwg] Content-Disposition property for a tags

2010-08-02 Thread Tab Atkins Jr.
On Mon, Aug 2, 2010 at 9:21 AM, Michael Kozakewich mkozakew...@icosidodecahedron.com wrote: Dennis wrote: Yes, but that wouldn't help since I want to force downloads regardless of the browser settings. Maybe it would do if the type was set to application/octet-stream, since those, by default,

Re: [whatwg] Content-Disposition property for a tags

2010-08-02 Thread Tab Atkins Jr.
2010/8/2 Kornel Lesiński kor...@geekhood.net: Downloads can be forced already with Content-Disposition: attachment. It's just harder to do, and unfortunately that doesn't stop webmasters from trying. Popular PHP snippets for forcing download are among the most disgusting cargo-cult code

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 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

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] HTML5 Input (Color)

2010-07-28 Thread Tab Atkins Jr.
2010/7/28 Leo Dutra ™ leodutra...@gmail.com: Hello, everyone. I were asking myself about HTML5 input with type color. I'm a brazillian developer and I see a huge problem with the new input type. The problem is that RGB color names are expected to be written in English. This is not a good, or

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

2010-07-28 Thread Tab Atkins Jr.
On Wed, Jul 28, 2010 at 2:43 PM, David Flanagan da...@davidflanagan.com wrote: Firefox and Chrome disagree about the implementation of the destination-atop, source-in, destination-in, and source-out compositing operators.  Test code is attached. Chrome doesn't touch any destination pixels

Re: [whatwg] HTML5 Input (Color)

2010-07-28 Thread Tab Atkins Jr.
On Wed, Jul 28, 2010 at 9:57 PM, Leonardo Dutra psy.leodu...@gmail.com wrote: Em 28 de julho de 2010 18:05, Tab Atkins Jr. jackalm...@gmail.com escreveu: 2010/7/28 Leo Dutra ™ leodutra...@gmail.com: Hello, everyone. I were asking myself about HTML5 input with type color. I'm

Re: [whatwg] Element-related feedback

2010-07-23 Thread Tab Atkins Jr.
On Fri, Jul 23, 2010 at 11:54 AM, Ian Hickson i...@hixie.ch wrote: Most platforms have built-in mechanisms for showing dates and times in a fashion of the user's chosing. I suggest using that. It may be that this ends up being a lost cause, or that authors don't care about this, but I think we

Re: [whatwg] Please disallow javascript: URLs in browser address bars

2010-07-22 Thread Tab Atkins Jr.
On Thu, Jul 22, 2010 at 1:41 PM, Aryeh Gregor simetrical+...@gmail.com wrote: On Thu, Jul 22, 2010 at 4:32 PM, Luke Hutchison luke.hu...@mit.edu wrote: There is no legitimate reason that non-developers would need to paste javascript: URLs into the addressbar, and the ability to do so should be

Re: [whatwg] HTML5 (including next generation additions still in development) - Mozilla Firefox (Not Responding)

2010-07-07 Thread Tab Atkins Jr.
On Wed, Jul 7, 2010 at 5:28 PM, Garrett Smith dhtmlkitc...@gmail.com wrote: This is about the  fourth time I've said it here. Can the person in charge of writing the slow and buggy ajvascript on the HTML 5 spec please remove that? The problem is that that whatwg page causes freezes and

Re: [whatwg] HTML 5 : The Youtube response

2010-06-30 Thread Tab Atkins Jr.
On Wed, Jun 30, 2010 at 2:35 AM, schalk sch...@ossreleasefeed.com wrote: Hi there, Has anyone/everyone read the blog entry on Youtube’s blog (http://apiblog.youtube.com/2010/06/flash-and-html5-tag.html) regarding their feeling about HTML5 video and why they still feel that Flash for video is

Re: [whatwg] HTML 5 : The Youtube response

2010-06-30 Thread Tab Atkins Jr.
On Wed, Jun 30, 2010 at 8:14 AM, Philip Jägenstedt phil...@opera.com wrote: On Wed, 30 Jun 2010 16:31:20 +0200, Tab Atkins Jr. jackalm...@gmail.com wrote: In any case, embedding videos via iframe sandbox=allow-scripts should work fine, once more browsers support it. ~TJ What issues would

[whatwg] Dataset contradiction - does data- generate an item in .dataset?

2010-06-30 Thread Tab Atkins Jr.
In the first paragraph of http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#embedding-custom-non-visible-data it says that a custom data attribute is an attribute in no namespace whose name starts with the string data-, has at least one character after the hyphen,

Re: [whatwg] HTML 5 : The Youtube response

2010-06-30 Thread Tab Atkins Jr.
On Wed, Jun 30, 2010 at 11:27 AM, Marques Johansson marq...@displague.com wrote: What is  the problem with #3?  My recent emails on this list concern #3. I know that anything that has been seen or heard can be recorded, replayed, and redistributed by illegitimate parties but that doesn't mean

Re: [whatwg] Technical Parity with W3C HTML Spec

2010-06-25 Thread Tab Atkins Jr.
On Fri, Jun 25, 2010 at 3:13 AM, Doug Schepers d...@schepers.cc wrote: Hi, WHATWG folks- As you are probably aware, some differences have arisen between the W3C draft of the HTML5 spec and the larger WHATWG version.  In my opinion, the specific technical details of any given feature (which,

Re: [whatwg] Technical Parity with W3C HTML Spec

2010-06-25 Thread Tab Atkins Jr.
On Fri, Jun 25, 2010 at 9:23 AM, Julian Reschke julian.resc...@gmx.de wrote: On 25.06.2010 18:11, Tab Atkins Jr. wrote: ... Alternately, we could continue work solely in the HTMLWG.  This would not be possible unless we change the way the HTMLWG works somewhat, though.  There's a *reason

Re: [whatwg] Technical Parity with W3C HTML Spec

2010-06-25 Thread Tab Atkins Jr.
On Fri, Jun 25, 2010 at 2:45 PM, Mike Shaver mike.sha...@gmail.com wrote: On Fri, Jun 25, 2010 at 9:11 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: The WHATWG has a steering council made up of browser developers. Officially, they can override Ian's decisions or make him step down as editor

Re: [whatwg] Technical Parity with W3C HTML Spec

2010-06-25 Thread Tab Atkins Jr.
On Fri, Jun 25, 2010 at 2:48 PM, Mike Shaver mike.sha...@gmail.com wrote: On Fri, Jun 25, 2010 at 1:51 PM, Ian Hickson i...@hixie.ch wrote: I value technical merit even higher than convergence. How is technical merit assessed?  Removing Theora from the specification, for example, seems like

Re: [whatwg] Technical Parity with W3C HTML Spec

2010-06-25 Thread Tab Atkins Jr.
On Fri, Jun 25, 2010 at 3:06 PM, Mike Shaver mike.sha...@gmail.com wrote: On Fri, Jun 25, 2010 at 3:00 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Bottom of the charter: http://www.whatwg.org/charter I believe the decision process is knife fight to first blood. Editors should reflect

Re: [whatwg] Technical Parity with W3C HTML Spec

2010-06-25 Thread Tab Atkins Jr.
On Fri, Jun 25, 2010 at 4:00 PM, Mike Shaver mike.sha...@gmail.com wrote: On Fri, Jun 25, 2010 at 3:30 PM, Aryeh Gregor simetrical+...@gmail.com wrote: I'm pretty sure they won't be.  Any significant implementer has always had veto power over the spec. I fear that simply refusing to

Re: [whatwg] Allowing in attribute values

2010-06-24 Thread Tab Atkins Jr.
On Thu, Jun 24, 2010 at 8:20 AM, Benjamin M. Schwartz bmsch...@fas.harvard.edu wrote: On 06/24/2010 11:04 AM, Kornel Lesinski wrote: If you mean parsing with regular expressions, then I think that's a bad practice and shouldn't be encouraged. Worldwide, regarding HTML, I'm sure there is 100

Re: [whatwg] When are sandboxing flags set?

2010-06-24 Thread Tab Atkins Jr.
On Wed, Jun 23, 2010 at 6:35 PM, Adam Barth w...@adambarth.com wrote: On Wed, Jun 23, 2010 at 6:05 PM, Ben Lerner t-be...@microsoft.com wrote: Additionally, the sandboxing flags seem to be more a feature of the iframe element than of the browsing context, because they depend on the value of

Re: [whatwg] Is there a way to stop scrolling when pressing directional arrows?

2010-06-14 Thread Tab Atkins Jr.
On Mon, Jun 14, 2010 at 3:56 PM, Simon Pieters sim...@opera.com wrote: On Tue, 15 Jun 2010 00:16:13 +0200, Kornel Lesinski kor...@geekhood.net wrote: On Mon, 14 Jun 2010 20:38:07 +0100, Carlos Andrés Solís csol...@gmail.com wrote: Hello! I've been noticing a problem in many HTML5 test apps,

[whatwg] Problems with the Atom Conversion algorithm.

2010-06-11 Thread Tab Atkins Jr.
On http://www.詹姆斯.com/blog/2010/06/html5-atom-gone-wrong, a comparison is made between an example Atom feed (presumably constructed from blog metadata) and one constructed by the HTML algorithm reading over the example blog page. Not all of these differences are valid, but some are, and should be

Re: [whatwg] Problems with the Atom Conversion algorithm.

2010-06-11 Thread Tab Atkins Jr.
On Fri, Jun 11, 2010 at 5:00 PM, Edward O'Connor hob...@gmail.com wrote: 2. The title of atom entries is constrained to contain text only, That's not quite right. atom:title is an Atom Text Construct, which, despite having the word 'text' in its name, can contain all sorts of things.

Re: [whatwg] 'Main Part of the Content' Idiom

2010-06-04 Thread Tab Atkins Jr.
On Fri, Jun 4, 2010 at 9:39 AM, Daniel Persson danielperssondel...@gmail.com wrote: I am not advocating ad-tags. The idea of globally structuring content on the web is very appealing, it would make it easier for a lot of things and a lot of people. Let's do it! ...but I can't see it

Re: [whatwg] 'Main Part of the Content' Idiom

2010-06-04 Thread Tab Atkins Jr.
On Fri, Jun 4, 2010 at 12:58 PM, Roger Hågensen resca...@emsai.net wrote: On 2010-06-04 18:39, Daniel Persson wrote: I am not advocating ad-tags. The idea of globally structuring content on the web is very appealing, it would make it easier for a lot of things and a lot of people. Let's do

Re: [whatwg] 'Main Part of the Content' Idiom

2010-06-04 Thread Tab Atkins Jr.
On Fri, Jun 4, 2010 at 1:16 PM, Roger Hågensen resca...@emsai.net wrote: On 2010-06-04 22:03, Tab Atkins Jr. wrote: On Fri, Jun 4, 2010 at 12:58 PM, Roger Hågensenresca...@emsai.net  wrote: ... As you can see the aside is outside the body, all latest browsers seem to handle this pretty

Re: [whatwg] bubbling events on labels

2010-06-04 Thread Tab Atkins Jr.
On Fri, Jun 4, 2010 at 2:58 PM, Diego Perini diego.per...@gmail.com wrote: I have different behavior in browsers with the checked state of a checkbox input element. I have filed a ticket in Webkit and I am looking after some advice/suggestion about the correct behavior expected from this

Re: [whatwg] bubbling events on labels

2010-06-04 Thread Tab Atkins Jr.
On Fri, Jun 4, 2010 at 3:24 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2010-06-04 at 15:21 -0700, Tab Atkins Jr. wrote: On Fri, Jun 4, 2010 at 2:58 PM, Diego Perini diego.per...@gmail.com wrote: I have different behavior in browsers with the checked state of a checkbox input

Re: [whatwg] Form validation against invisible controls

2010-06-03 Thread Tab Atkins Jr.
On Thu, Jun 3, 2010 at 8:16 AM, TAMURA, Kent tk...@chromium.org wrote: An element is a candidate for constraint validation if 1. it is a validatable type,    e.g. true if input type=number, false if input type=reset 2. has no disabled attribute, 3. has no readonly attribute, 4. inside

Re: [whatwg] Form validation against invisible controls

2010-06-03 Thread Tab Atkins Jr.
On Thu, Jun 3, 2010 at 8:42 AM, João Eiras jo...@opera.com wrote: On Thu, 03 Jun 2010 16:16:00 +0100, TAMURA, Kent tk...@chromium.org wrote: An element is a candidate for constraint validation if 1. it is a validatable type,    e.g. true if input type=number, false if input type=reset

<    1   2   3   4   5   6   7   8   9   10   >