Re: [whatwg] 2D canvas feature proposal: text decoration

2013-04-18 Thread Tab Atkins Jr.
On Thu, Apr 18, 2013 at 3:40 PM, Rik Cabanier caban...@gmail.com wrote: I think that all enumerated DOMStrings in CanvasDrawingStyles should move to enums. This seems cleaner and have no compatibility issues. However, if we keep them as DOMStrings, I agree that textDecoration should be one

Re: [whatwg] Add an attribute for opting out of synchronous CSSOM access

2013-04-17 Thread Tab Atkins Jr.
On Wed, Apr 17, 2013 at 2:51 PM, David Bruant bruan...@gmail.com wrote: Le 05/04/2013 15:07, Henri Sivonen a écrit : Please add an attribute to link that: * opts an external style sheet out of synchronous CSSOM access Sorry if my suggestion is naive, but why about an attribute to opt out of

Re: [whatwg] iframe srcdoc definition not compatible with existing user-agent user interfaces

2013-04-04 Thread Tab Atkins Jr.
On Thu, Apr 4, 2013 at 2:12 PM, Boris Zbarsky bzbar...@mit.edu wrote: The way iframe srcdoc is defined, the document URI does not in any way encode the document contents. Unfortunately, that breaks user-agent and extension features like open frame in new window, show only this frame, open

Re: [whatwg] Allowing authors to obtain a vertical input type=range

2013-03-29 Thread Tab Atkins Jr.
On Fri, Mar 29, 2013 at 10:27 AM, Ian Hickson i...@hixie.ch wrote: Why wouldn't this be a CSS issue? That's the layer of the Web platform where we put presentationa-specific things. You can't detect the size of something from within CSS, because then you can change the size. But in this

Re: [whatwg] Why are we merging Document and HTMLDocument again?

2013-03-05 Thread Tab Atkins Jr.
On Tue, Mar 5, 2013 at 12:42 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 3/5/13 3:30 PM, Ian Hickson wrote: I'd be fine with having a Document descendant that is used for Documents that have global scopes / browsing contexts / the works, and one that is used for Documents that don't (e.g.

Re: [whatwg] Why do we have input type='month' and input type='week'?

2013-02-12 Thread Tab Atkins Jr.
On Tue, Feb 12, 2013 at 9:20 AM, Mounir Lamouri mou...@lamouri.fr wrote: On 01/02/13 15:39, Glenn Maynard wrote: FYI, I would find this annoying. CC expiry entry forms are typically select boxes containing 01-12. The text lines up with what's on my credit card, so I don't have to translate

Re: [whatwg] Why do we have input type='month' and input type='week'?

2013-02-12 Thread Tab Atkins Jr.
On Tue, Feb 12, 2013 at 9:39 AM, Jukka K. Korpela jkorp...@cs.tut.fi wrote: 2013-02-12 19:26, Tab Atkins Jr. wrote: The fact that authors today have a random assortment of displays for the exact same feature (credit card expirys) is something that would be great to fix, not bemoan as a loss

Re: [whatwg] Canonical Image and Color

2013-02-11 Thread Tab Atkins Jr.
On Mon, Feb 11, 2013 at 2:33 PM, Brian Blakely anewpage.me...@gmail.com wrote: * Proposal Meta elements for defining a canonical image and color to be associated with the page(s) in which they are included. This is intended for use by user agents and third-party applications (such as social

Re: [whatwg] Canonical Image and Color

2013-02-11 Thread Tab Atkins Jr.
On Mon, Feb 11, 2013 at 4:17 PM, Brian Blakely anewpage.me...@gmail.com wrote: Sure thing. Let me go through the use cases that I see as applicable today, derived from instances where an existing vendor or service currently utilizes a non-standard implementation. * Social network sharing

Re: [whatwg] remove resetClip from the Canvas 2D spec

2013-01-29 Thread Tab Atkins Jr.
On Tue, Jan 29, 2013 at 5:00 PM, Rik Cabanier caban...@gmail.com wrote: All, we were looking at how resetClip [1] could be implemented in WebKit. Looking over the Core Graphics implementation, this feature can't be implemented without significant overhead. I also found an email from 2007

Re: [whatwg] proposal: Add support for masking to canvas

2013-01-29 Thread Tab Atkins Jr.
On Tue, Jan 29, 2013 at 7:30 PM, Rik Cabanier caban...@gmail.com wrote: Do you believe it's OK to have 12 arguments or would a dictionary be better? No, it's not okay. ^_^ Particularly when some of the parameters are boolean - boolean positional arguments are the devil. Go with a dict. ~TJ

Re: [whatwg] remove resetClip from the Canvas 2D spec

2013-01-29 Thread Tab Atkins Jr.
On Tue, Jan 29, 2013 at 6:10 PM, Rik Cabanier caban...@gmail.com wrote: It restores the graphics state back to the state at 'save' time and this includes the clip area. 'Clip' is a nested operation so every clip will be the intersection of the existing clip area and the new one. PDF also has

Re: [whatwg] proposal: Add support for masking to canvas

2013-01-29 Thread Tab Atkins Jr.
On Tue, Jan 29, 2013 at 8:37 PM, Rik Cabanier caban...@gmail.com wrote: So the API could be as follows: enum CanvasMaskType { luminosity, alpha}; dictionary maskOptions { CanvasImageSource image; unrestricted double? sx; unrestricted double? sy; unrestricted double? sw; unrestricted

Re: [whatwg] scoped style sheets and @-rules

2013-01-21 Thread Tab Atkins Jr.
On Mon, Jan 21, 2013 at 6:39 AM, L. David Baron dba...@dbaron.org wrote: I thought I'd brought this issue up before, but I can't seem to find a record of it. http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#attr-style-scoped currently says that, inside scoped style

Re: [whatwg] Forms-related feedback

2013-01-16 Thread Tab Atkins Jr.
On Wed, Jan 16, 2013 at 1:03 AM, Bronislav Klučka bronislav.klu...@bauglir.com wrote: On 16.1.2013 8:23, Jukka K. Korpela wrote: Since the use cases are rare, is it better to force browser vendors to develop code to implement it, in their own ways, than to let various software developers set

Re: [whatwg] Styling details

2013-01-04 Thread Tab Atkins Jr.
On Jan 2, 2013 8:25 AM, fantasai fantasai.li...@inkedblade.net wrote: On 04/08/2011 05:05 AM, Lachlan Hunt wrote: One option is to define that the list-style-type 'disclosure-*' as magic values that mean to render a UA specific/platform dependent widget. But that differs from all other

Re: [whatwg] menu and friends

2013-01-04 Thread Tab Atkins Jr.
On Sat, Dec 29, 2012 at 10:17 AM, David Young dyo...@pobox.com wrote: On Sat, Dec 29, 2012 at 01:23:20AM +, Ian Hickson wrote: On Sun, 23 Oct 2011, Eric Sh. wrote: I was trying out the HTML5 context menu in firefox and I saw that there is no way(in the specs) to create an empty menu

Re: [whatwg] Sortable Tables

2012-12-27 Thread Tab Atkins Jr.
On Dec 27, 2012 6:04 PM, Ian Hickson i...@hixie.ch wrote: 2. What values should the sort property allow. One idea is that it takes a JS function similar to what JavaScript's sort function takes. If you leave it out then it just does alphanumeric sort. I was going to have a comparator

Re: [whatwg] Feature Request: Media Elements as Targets for Links

2012-12-17 Thread Tab Atkins Jr.
On Mon, Dec 17, 2012 at 4:37 PM, Ian Hickson i...@hixie.ch wrote: On Sat, 24 Nov 2012, Nils Dagsson Moskopp wrote: Use Case Description: Linking to specific fragments of media is possible via media fragment URIs [1]. However, it is not possible to apply a link to embedded media

Re: [whatwg] Magical alignment and moving anchor targets

2012-12-11 Thread Tab Atkins Jr.
On Tue, Dec 11, 2012 at 10:45 AM, Matt Falkenhagen fal...@chromium.org wrote: The spec seems unclear on whether a magically aligned element[1] should follow its anchor when its anchor moves, e.g., by dynamic style changes or something like CSS animations. I think we want the element to follow

Re: [whatwg] Cycles in anchored positioning

2012-12-10 Thread Tab Atkins Jr.
On Fri, Dec 7, 2012 at 3:58 PM, Matt Falkenhagen fal...@chromium.org wrote: How are cycles with magically aligned[1] elements resolved? For example, if a and b are dialogs and you do: a.show(b); b.show(a); I think an anchoring cycle can also occur if an element |a| is anchored to a

Re: [whatwg] URL: URLQuery

2012-11-30 Thread Tab Atkins Jr.
On Fri, Nov 30, 2012 at 9:17 AM, Anne van Kesteren ann...@annevk.nl wrote: On Sat, Oct 13, 2012 at 12:24 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: If we do stick with the method-based map, I strongly feel we should match the JS Map API, and have a has() method as well. *Ideally

[whatwg] Make DOMStringMap constructable, and el.dataset writeable?

2012-11-30 Thread Tab Atkins Jr.
Currently, el.dataset is readonly. A friend of mine passed along a use-case for making it writeable. She's making a game, where the game initialization script expects certain types of elements, and for the initial state data of the elements to be present in data attributes on them. She'd like

Re: [whatwg] URL: URLQuery

2012-11-30 Thread Tab Atkins Jr.
On Fri, Nov 30, 2012 at 9:47 AM, Anne van Kesteren ann...@annevk.nl wrote: On Fri, Nov 30, 2012 at 6:42 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Only feedback left is the return types of set(), append(), and delete(). In Maps, set() returns the map, so you can chain more easily. TC39

Re: [whatwg] URL: URLQuery

2012-11-30 Thread Tab Atkins Jr.
On Fri, Nov 30, 2012 at 10:02 AM, Alexandre Morgaut alexandre.morg...@4d.com wrote: Only feedback left is the return types of set(), append(), and delete(). Maybe remove() would be better than delete() as delete is a reserved JS keyword ;-) Nope, it's contextually reserved. You can use in

Re: [whatwg] Make DOMStringMap constructable, and el.dataset writeable?

2012-11-30 Thread Tab Atkins Jr.
On Fri, Nov 30, 2012 at 4:01 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 30 Nov 2012, Tab Atkins Jr. wrote: She's making a game, where the game initialization script expects certain types of elements, and for the initial state data of the elements to be present in data attributes on them

Re: [whatwg] Make DOMStringMap constructable, and el.dataset writeable?

2012-11-30 Thread Tab Atkins Jr.
On Fri, Nov 30, 2012 at 1:31 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 11/30/12 2:23 PM, Tab Atkins Jr. wrote: It would be somewhat cleaner if she could simply construct a DOMStringMap and assign it, like so: for(var i = 0; i cards.length; i++) { cards[i].dataset = new DOMStringMap

Re: [whatwg] Menus and Toolbars

2012-11-28 Thread Tab Atkins Jr.
On Tue, Nov 27, 2012 at 4:12 PM, Ian Hickson i...@hixie.ch wrote: To move forward on this, here are some proposals: #1: Drop menu and all related features. I don't think we should do this, but if we can't get agreement on what to implement, this is the only option left, so it's on the table.

Re: [whatwg] Enabling LCD Text and antialiasing in canvas

2012-11-26 Thread Tab Atkins Jr.
On Sat, Nov 24, 2012 at 7:10 PM, Adam Barth w...@adambarth.com wrote: 2) Remarkably, the current best candidate is a rendering pipeline that attempts to use the DOM in immediate mode. The application performs some application-specific processing to determine which portions of the model can

Re: [whatwg] [URL] DOM API Feedback

2012-11-19 Thread Tab Atkins Jr.
On Mon, Nov 19, 2012 at 8:19 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 11/19/12 11:16 AM, Tab Atkins Jr. wrote: Subclasses aren't anything new - we're just referring to the standard prototype-based subclassing. OK. That's different from ES6 classes/subclasses, so it might be good to get

Re: [whatwg] [URL] DOM API Feedback

2012-11-19 Thread Tab Atkins Jr.
On Mon, Nov 19, 2012 at 8:22 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 11/19/12 11:20 AM, Tab Atkins Jr. wrote: To a first approximation, they shouldn't be. ES6 classes desugar into functions and prototypes. Hmm. They didn't completely at some point, but maybe something got changed

Re: [whatwg] [URL] DOM API Feedback

2012-11-19 Thread Tab Atkins Jr.
On Mon, Nov 19, 2012 at 5:38 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 11/19/12 2:36 AM, David Bruant wrote: I suppose the same goes for ES6 Map. As Tab suggested, a Map subclass could certainly work How close are subclasses to not being vaporware (both in spec and implementation terms)?

Re: [whatwg] [URL] DOM API Feedback

2012-11-18 Thread Tab Atkins Jr.
On Sun, Nov 18, 2012 at 3:17 PM, Anne van Kesteren ann...@annevk.nl wrote: On Sun, Nov 18, 2012 at 11:34 PM, David Bruant bruan...@gmail.com wrote: I feel the URLQuery object could be a regular object. Or maybe an ES6 Map. If not an ES6 Map, maybe its API could be mapped exactly to ES6 Map. It

Re: [whatwg] Canvas in Workers

2012-11-16 Thread Tab Atkins Jr.
On Fri, Nov 16, 2012 at 1:03 PM, Oliver Hunt oli...@apple.com wrote: postMessage already has an ownership transfer list, we could always extend the set of transferable types to include a canvas like thing (the context or some such). Transferring contexts is tolerable for 2d, but a

Re: [whatwg] Including

2012-11-13 Thread Tab Atkins Jr.
On Mon, Nov 12, 2012 at 10:41 PM, Mark Nottingham m...@mnot.net wrote: I've maintained a little library for a while that does inclusion: https://github.com/mnot/hinclude http://mnot.github.com/hinclude/ It's used in a few different places, and is now part of Symfony http://symfony.com,

Re: [whatwg] hidden= should be display:none !important in the UA stylesheet

2012-11-13 Thread Tab Atkins Jr.
On Tue, Nov 13, 2012 at 1:49 PM, Edward O'Connor eocon...@apple.com wrote: Hi, I don't recall if this was in person or in email, but I think Tab made a compelling argument in favor of changing the implementation of hidden= to be [hidden] { display: none !important; } in the UA

Re: [whatwg] Sortable Tables

2012-11-08 Thread Tab Atkins Jr.
On Thu, Nov 8, 2012 at 8:59 AM, Ojan Vafai o...@chromium.org wrote: On Thu, Nov 8, 2012 at 4:17 AM, Alex Russell slightly...@google.com wrote: I'm much more inclined to solve this from the data axis. Asking the table itself to do the sorting is weird. Instead, you most often want to have some

Re: [whatwg] checksum attribute in a href tag

2012-10-19 Thread Tab Atkins Jr.
On Fri, Oct 19, 2012 at 11:46 AM, A. Rauschenbach rauschenb...@annuo.de wrote: Am 2012-10-19 18:49, schrieb Ian Hickson: What is the attack scenario you are trying to avoid? Without a discussion of what problem you're trying to solve, it's unclear how to evaluate the proposal. The idea of a

Re: [whatwg] Should scrollbars move focus?

2012-10-19 Thread Tab Atkins Jr.
On Fri, Oct 19, 2012 at 3:34 PM, Elliott Sprehn espr...@gmail.com wrote: I was working on a bug [1][2] recently where authors had complained about WebKit's behavior where clicking a scrollbar unfocuses the activeElement. What's particularly quirky is that the window scrollbar never moves focus

Re: [whatwg] Separating intrinsic sizing out from the iframe seamless attribute

2012-10-18 Thread Tab Atkins Jr.
On Thu, Oct 18, 2012 at 4:14 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 18 Jul 2012, Jonathan Watt wrote: The use cases are simple. I want to be able to embed SVG as-a-document (not as-an-image) and have it size to its intrinsic size, without messing up the style of the SVG. That's not a

Re: [whatwg] HTML 5 should include a way to create custom page header footer for printing.

2012-10-15 Thread Tab Atkins Jr.
On Sun, Oct 14, 2012 at 12:10 AM, Mircea LUTIC mircea_lu...@yahoo.com wrote: HTML 5 should include a way to create custom page header footer for printing. These should allow to include images I think it should be something like html head titleimg src=logo.svg/My company softwarebr/The

Re: [whatwg] URL: URLQuery

2012-10-13 Thread Tab Atkins Jr.
On Sat, Oct 13, 2012 at 1:39 PM, Mike Dierken m...@dierken.com wrote: Since a URL query string is not a strict map with only one value for a key, would the get/set operations allow for an array as well as an atomic value? Yes. Regardless of the getters vs get() discussion, I think there was

Re: [whatwg] Issues with microdata and proposals for improvements

2012-10-12 Thread Tab Atkins Jr.
On Fri, Oct 12, 2012 at 7:28 AM, pghj pghjvanblokl...@gmail.com wrote: == Incompatible property names when using itemrefs == Consider the following piece of HTML: div itemscope itemtype=http://schema.org/Book; itemref=a ... /div div itemscope itemtype=http://schema.org/LiteraryEvent;

Re: [whatwg] URL: URLQuery

2012-10-12 Thread Tab Atkins Jr.
On Fri, Oct 12, 2012 at 9:10 AM, Anne van Kesteren ann...@annevk.nl wrote: I didn't really get around to working on URLs this week like I planned, but I managed to draft the query API that was discussed in the last thread: http://url.spec.whatwg.org/#urlutils get() returns the first value.

Re: [whatwg] Features for responsive Web design

2012-10-09 Thread Tab Atkins Jr.
On Tue, Oct 9, 2012 at 11:48 AM, Ian Hickson i...@hixie.ch wrote: On Tue, 9 Oct 2012, Mark Callow wrote: On 2012/10/06 7:09, Ian Hickson wrote: I agree, when there's 3x displays, this could get to the point where we need to solve it. :-) With the current displays, it's just not that big a

Re: [whatwg] [canvas] Path object

2012-10-02 Thread Tab Atkins Jr.
On Sat, Sep 22, 2012 at 9:17 PM, Elliott Sprehn espr...@gmail.com wrote: I was looking at the canvas Path API and had some concerns. In particular it's inconsistent with the rest of canvas: We already have CanvasGradient and CanvasPattern in the global namespace, so this should probably be

Re: [whatwg] [canvas] Path object

2012-10-02 Thread Tab Atkins Jr.
On Tue, Oct 2, 2012 at 4:58 PM, Elliott Sprehn espr...@gmail.com wrote: What of the fact that this breaks existing pages with input id=Path that access it as just Path? Historically this has been a non-starter for new APIs. It would have been useful to bring this up as a problem in your

Re: [whatwg] [canvas] Path object

2012-10-02 Thread Tab Atkins Jr.
On Tue, Oct 2, 2012 at 6:22 PM, Charles Pritchard ch...@jumis.com wrote: I wanted vendors to solidify consensus on a version close to what currently exists, with minor changes for accessibility. The WHATWG and W3C have chosen instead to make broad changes, as proposed in version 5/the

Re: [whatwg] [canvas] Path object

2012-10-02 Thread Tab Atkins Jr.
On Tue, Oct 2, 2012 at 6:34 PM, Charles Pritchard ch...@jumis.com wrote: On Oct 2, 2012, at 6:25 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, Oct 2, 2012 at 6:22 PM, Charles Pritchard ch...@jumis.com wrote: I wanted vendors to solidify consensus on a version close to what currently

Re: [whatwg] New URL Standard

2012-09-24 Thread Tab Atkins Jr.
On Mon, Sep 24, 2012 at 2:34 AM, Anne van Kesteren ann...@annevk.nl wrote: I have been thinking about introducing a .query attribute that would return a special interface for this purpose, but what the right API should be seems somewhat tricky. Adam and Erik came up with a solution that

Re: [whatwg] Rename the 7-arg arcTo() to ellipseTo()?

2012-09-24 Thread Tab Atkins Jr.
On Mon, Sep 24, 2012 at 6:59 AM, Rick Waldron waldron.r...@gmail.com wrote: Has there been any discussion about moving newly emerging APIs to a single options object formal parameter? This discussion is in the context of the SVG path API, which is an attribute microsyntax. So, that's not

Re: [whatwg] Rename the 7-arg arcTo() to ellipseTo()?

2012-09-24 Thread Tab Atkins Jr.
On Mon, Sep 24, 2012 at 11:51 AM, Ian Hickson i...@hixie.ch wrote: On Sun, 23 Sep 2012, Tab Atkins Jr. wrote: On Sun, Sep 23, 2012 at 3:57 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 21 Sep 2012, Tab Atkins Jr. wrote: So, can we rename the 7-arg arcTo to ellipseTo? That seems to support

Re: [whatwg] Rename the 7-arg arcTo() to ellipseTo()?

2012-09-24 Thread Tab Atkins Jr.
On Mon, Sep 24, 2012 at 1:14 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 24 Sep 2012, Tab Atkins Jr. wrote: Omitting two numbers, one of which is zero, is easily no more a win than the cost of having two different nearly-identical commands. Just consider C/c and S/s; is it really worth

Re: [whatwg] Rename the 7-arg arcTo() to ellipseTo()?

2012-09-24 Thread Tab Atkins Jr.
On Mon, Sep 24, 2012 at 3:50 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 24 Sep 2012, Tab Atkins Jr. wrote: You are looking at the simplest possible use-case for A/a, nearly the only case that can be done without trig, where you're starting and stopping the arc at a quarter-turn. Try

Re: [whatwg] Rename the 7-arg arcTo() to ellipseTo()?

2012-09-24 Thread Tab Atkins Jr.
On Mon, Sep 24, 2012 at 4:32 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 24 Sep 2012, Tab Atkins Jr. wrote: Returning to the original subject, we don't *want* optional arguments here. Well, the canvas API has optional arguments, so there's no way to be consistent with canvas

Re: [whatwg] Rename the 7-arg arcTo() to ellipseTo()?

2012-09-23 Thread Tab Atkins Jr.
On Sun, Sep 23, 2012 at 3:57 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 21 Sep 2012, Tab Atkins Jr. wrote: So, can we rename the 7-arg arcTo to ellipseTo? That seems to support your always [require] all the arguments recommendation. ^_^ Just have one arcTo command, that takes all

Re: [whatwg] [canvas] matrix based changes on bitmaps

2012-09-21 Thread Tab Atkins Jr.
On Fri, Sep 21, 2012 at 8:34 AM, Tyler Larson tallty...@gmail.com wrote: On Sep 21, 2012, at 9:49 AM, Rik Cabanier caban...@gmail.com wrote: Support CSS Filters will satisfy this use case. There are a number of built-in filters (such as sepia and constrast) and even support for vertex and

Re: [whatwg] Rename the 7-arg arcTo() to ellipseTo()?

2012-09-21 Thread Tab Atkins Jr.
On Thu, Sep 20, 2012 at 4:58 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 17 Sep 2012, Tab Atkins Jr. wrote: Heya, we at the SVGWG just resolved today to add equivalents for the CanvasPathMethods interface arc/ellipse/arcTo commands to the path element's syntax. Ideally, we'd be able to use

[whatwg] Rename the 7-arg arcTo() to ellipseTo()?

2012-09-17 Thread Tab Atkins Jr.
Heya, we at the SVGWG just resolved today to add equivalents for the CanvasPathMethods interface arc/ellipse/arcTo commands to the path element's syntax. Ideally, we'd be able to use the same names as Path, for minimal confusion - path d='M0 0 arc 30 30 10 0 90 0' producing a line from (0,0) to

Re: [whatwg] Problem in the Section 4 Elements of HTML = 4.4 Sections = 4.4.2 The Section element

2012-09-13 Thread Tab Atkins Jr.
On Thu, Sep 13, 2012 at 11:09 AM, Jukka K. Korpela jkorp...@cs.tut.fi wrote: And I suppose by weird formation you mean the example that starts with !DOCTYPE Html Html Head Title Graduation Ceremony Summer 2022/Title /Head Body H1 can anybody tell me if this is known/on

Re: [whatwg] Including HTML more directly into SVG

2012-09-13 Thread Tab Atkins Jr.
On Tue, Sep 11, 2012 at 12:37 PM, Elliott Sprehn espr...@gmail.com wrote: On Sep 11, 2012 11:35 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, Sep 11, 2012 at 11:29 AM, Elliott Sprehn espr...@gmail.com wrote: On Tue, Sep 11, 2012 at 9:09 AM, Tab Atkins Jr. jackalm...@gmail.com wrote

Re: [whatwg] Including HTML more directly into SVG

2012-09-11 Thread Tab Atkins Jr.
On Tue, Sep 11, 2012 at 1:23 AM, Elliott Sprehn espr...@gmail.com wrote: On Tue, Sep 11, 2012 at 1:15 AM, Elliott Sprehn espr...@gmail.com wrote: On Mon, Sep 10, 2012 at 4:59 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: ... Another solution could be SVG inventing their own elements

Re: [whatwg] Including HTML more directly into SVG

2012-09-11 Thread Tab Atkins Jr.
On Tue, Sep 11, 2012 at 11:29 AM, Elliott Sprehn espr...@gmail.com wrote: On Tue, Sep 11, 2012 at 9:09 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: ... The paragraph and span concept in SVG wouldn't be the same thing so it's not an antipattern. You would have to specify some kind of x/y

[whatwg] Including HTML more directly into SVG

2012-09-10 Thread Tab Atkins Jr.
This is a continuation of a discussion started in the #whatwg IRC room, so I'll start somewhat abruptly. 1. Check out http://www.xanthir.com/etc/railroad-diagrams/example.html. See all those boxes full of text in the diagrams? Looks simple, right? Just a box filled with text, with a border and

Re: [whatwg] srcset isn't future-friendly to screen size differences

2012-09-07 Thread Tab Atkins Jr.
On Fri, Sep 7, 2012 at 9:21 AM, Hans Muller hmul...@adobe.com wrote: On 9/6/12 6:36 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Consider the following example: img srcset=800.jpg 1x, 1600.jpg 2x style=width: 100%; height: auto; For a screen that's somewhere near 800px wide, this works just

Re: [whatwg] Should editable elements have placeholder attribute?

2012-09-06 Thread Tab Atkins Jr.
On Thu, Sep 6, 2012 at 3:56 AM, Aryeh Gregor a...@aryeh.name wrote: It should never be possible to make a contenteditable element contain nothing, once it has something in it, because then it would collapse to zero height and you wouldn't be able to click on it. (IIRC, some browsers have

[whatwg] srcset isn't future-friendly to screen size differences

2012-09-06 Thread Tab Atkins Jr.
This email is an extension of the thread started at http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-August/036953.html by John Mellor, distilling the core problem he has into a more easily-understood and digested form. The srcset attribute, as currently written, is not friendly to large

Re: [whatwg] Hardware accelerated canvas

2012-09-04 Thread Tab Atkins Jr.
On Tue, Sep 4, 2012 at 10:07 AM, David Geary david.mark.ge...@gmail.com wrote: On Tue, Sep 4, 2012 at 10:53 AM, Boris Zbarsky bzbar...@mit.edu wrote: Ms2ger points out (without endorsing) that there's an: 8) Have every author who wants their canvas to stick around call toDataURL() and stick

Re: [whatwg] input type=barcode?

2012-08-30 Thread Tab Atkins Jr.
On Thu, Aug 30, 2012 at 8:07 AM, Mounir Lamouri mou...@lamouri.fr wrote: On 08/27/2012 07:01 PM, Andy Davies wrote: On 27 August 2012 20:25, Tab Atkins Jr. jackalm...@gmail.com wrote: On Mon, Aug 27, 2012 at 10:56 AM, Ian Hickson i...@hixie.ch wrote: True, so this is perhaps closer to an IME

Re: [whatwg] input type=barcode?

2012-08-30 Thread Tab Atkins Jr.
On Thu, Aug 30, 2012 at 11:59 AM, Mounir Lamouri mou...@lamouri.fr wrote: On 08/30/2012 12:12 PM, Tab Atkins Jr. wrote: It shouldn't be a new input type, because it's not a *type* of value. Barcodes are simple a wrapper for a value, to make it more easily machine-readable. Scanning a barcode

Re: [whatwg] Support for link rel=stylesheet crossorigin

2012-08-28 Thread Tab Atkins Jr.
On Tue, Aug 28, 2012 at 11:04 AM, Boris Zbarsky bzbar...@mit.edu wrote: I just added support for link rel=stylesheet crossorigin in Gecko.[1] Such links are subject to CORS checks if the load is cross-site, and the sheet load will fail if the CORS check fails. If the CORS check succeeds,

Re: [whatwg] input type=barcode?

2012-08-27 Thread Tab Atkins Jr.
On Mon, Aug 27, 2012 at 10:56 AM, Ian Hickson i...@hixie.ch wrote: On Wed, 3 Aug 2011, Tab Atkins Jr. wrote: On Wed, Aug 3, 2011 at 8:50 AM, Randy ra...@prowebdesign.nl wrote: On top of that, the vast majority of these readers just translate it back to text. It's just another input device

Re: [whatwg] Serialization of expandos on String / Boolean / Number objects

2012-08-23 Thread Tab Atkins Jr.
On Thu, Aug 23, 2012 at 12:13 PM, Dumez, Christophe christophe.du...@intel.com wrote: Hi, The latest specification of the structured clone algorithm [1] does not indicate that we are supposed to serialize expandos on objects such as String, Boolean or Number. For example: var str = new

Re: [whatwg] img srcset / css image-set issues

2012-08-22 Thread Tab Atkins Jr.
On Wed, Aug 22, 2012 at 4:22 AM, John Mellor joh...@chromium.org wrote: On Wednesday, August 22, 2012, Tab Atkins Jr. wrote: I doubt this is actually what you want, though - you're probably not actually trying to cater to devices with an 8:1 pixel ratio! (Those may not ever exist, even

Re: [whatwg] Sychronous operations in onclose handlers

2012-08-22 Thread Tab Atkins Jr.
On Wed, Aug 22, 2012 at 8:50 AM, Mark Watson wats...@netflix.com wrote: Hi everyone, I heard that there was some discussion of banning the use of synchronous operations within document onclose handlers. Whilst it is obviously bad to hold up the closing of a document - especially

Re: [whatwg] img srcset / css image-set issues

2012-08-21 Thread Tab Atkins Jr.
On Tue, Aug 21, 2012 at 12:20 PM, John Mellor joh...@google.com wrote: CSS image-set and HTML img srcset are getting their first implementations but both APIs have serious shortcomings. We should fix them before it's too late: 1. Neither is of any use for flexibly-sized images. 2. srcset

Re: [whatwg] img srcset / css image-set issues

2012-08-21 Thread Tab Atkins Jr.
On Tue, Aug 21, 2012 at 12:31 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, Aug 21, 2012 at 12:20 PM, John Mellor joh...@chromium.org wrote: CSS image-set and HTML img srcset are getting their first implementations but both APIs have serious shortcomings. We should fix them before it's

[whatwg] Consider making @srcset do fallback?

2012-08-21 Thread Tab Atkins Jr.
Currently, the CSS image-set() function (sister spec to img srcset) is specified to do fallback to the less-desirable options if the first choice doesn't load or can't be decoded. I specified it this way because it seemed reasonable, and it's how the similar image() function works (which is

Re: [whatwg] img srcset / css image-set issues

2012-08-21 Thread Tab Atkins Jr.
On Tue, Aug 21, 2012 at 4:28 PM, John Mellor joh...@chromium.org wrote: On Tue, Aug 21, 2012 at 8:31 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, Aug 21, 2012 at 12:20 PM, John Mellor joh...@google.com wrote: 1. Neither is of any use for flexibly-sized images. This is what Media

Re: [whatwg] [selectors4] drag-and-drop pseudo-classes

2012-08-15 Thread Tab Atkins Jr.
On Wed, Aug 15, 2012 at 9:12 AM, Henri Sivonen hsivo...@iki.fi wrote: On Aug 14, 2012 10:54 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, Aug 14, 2012 at 12:13 PM, Ryosuke Niwa rn...@webkit.org wrote: Yeah, and that's not compatible with how drag and drop are implemented on the Web

Re: [whatwg] [selectors4] drag-and-drop pseudo-classes

2012-08-14 Thread Tab Atkins Jr.
On Mon, Aug 13, 2012 at 11:55 PM, Ryosuke Niwa rn...@webkit.org wrote: On Mon, Aug 13, 2012 at 9:19 PM, fantasai fantasai.li...@inkedblade.netwrote: The CSSWG discussed drag-and-drop pseudo-classes today. The current proposal is to have three pseudo-classes: * One for the element

Re: [whatwg] [selectors4] drag-and-drop pseudo-classes

2012-08-14 Thread Tab Atkins Jr.
On Tue, Aug 14, 2012 at 3:03 AM, Sebastian Zartner sebastianzart...@gmail.com wrote: * One for all elements representing possible drop targets that could receive the item. * One for all elements representing drop targets that do not accept this type of item. This sounds like

Re: [whatwg] [selectors4] drag-and-drop pseudo-classes

2012-08-14 Thread Tab Atkins Jr.
On Tue, Aug 14, 2012 at 12:13 PM, Ryosuke Niwa rn...@webkit.org wrote: I'm asking how we're supposed to implement this pseudo-classes given that the only way to know whether an element can receive the item is by firing dragenter and/or dragover events. e.g. No, we can know it declaratively via

Re: [whatwg] Wasn't there going to be a strict spec?

2012-08-10 Thread Tab Atkins Jr.
On Fri, Aug 10, 2012 at 12:45 PM, Erik Reppen erik.rep...@gmail.com wrote: My understanding of the general philosophy of HTML5 on the matter of malformed HTML is that it's better to define specific rules concerning breakage rather than overly strict rules about how to do it right in the first

Re: [whatwg] Wasn't there going to be a strict spec?

2012-08-10 Thread Tab Atkins Jr.
On Fri, Aug 10, 2012 at 3:29 PM, Erik Reppen erik.rep...@gmail.com wrote: This confuses me. Why does it matter that other documents wouldn't work if you changed the parsing rules they were defined with to stricter versions? As far as backwards compatibility, if a strict-defined set of HTML

Re: [whatwg] Wasn't there going to be a strict spec?

2012-08-10 Thread Tab Atkins Jr.
On Fri, Aug 10, 2012 at 5:02 PM, Erik Reppen erik.rep...@gmail.com wrote: Browser vendor politics I can understand but if we're going to talk about what history shows about people like myself suggesting features we can't actually support I'd like to see some studies that contradict the

Re: [whatwg] Features for responsive Web design

2012-08-09 Thread Tab Atkins Jr.
On Thu, Aug 9, 2012 at 1:16 AM, Andy Davies dajdav...@gmail.com wrote: Would also like to see if there's a way of using srcset to hint to the UA that it can skip the image under low throughput conditions e.g. GPRS. Same would apply to image-set in CSS The image-set() function already includes

Re: [whatwg] Security restriction allows content thievery

2012-07-15 Thread Tab Atkins Jr.
On Sun, Jul 15, 2012 at 3:22 PM, Robert Eisele rob...@xarg.org wrote: Browsers are very restrictive when one tries to access the contents of different domains (including the scheme), embedded via framesets. This is normally a good practice, but I'd suggest to weaken this restriction for the

Re: [whatwg] Interaction between img srcset and CSS image-resolution

2012-07-09 Thread Tab Atkins Jr.
On Mon, Jun 4, 2012 at 1:25 AM, Simon Pieters sim...@opera.com wrote: How do img srcset and CSS image-resolution interact? What happens with e.g. img srcset=foo.jpg 2x style=image-resolution:2dppx? I think that the @srcset resolution should be treated as an intrinsic resolution. In your

Re: [whatwg] isPointInPath v. set of pixels in canvas hit regions

2012-07-06 Thread Tab Atkins Jr.
On Thu, Jul 5, 2012 at 1:05 PM, Edward O'Connor eocon...@apple.com wrote: As things currently stand in the spec, implementations basically need to keep N+1 bitmaps per canvas, where N is the number of hit regions. I doubt any implementors would be enthusiastic to implement hit regions like

Re: [whatwg] suggestin a minor addion to the DOM

2012-06-28 Thread Tab Atkins Jr.
On Thu, Jun 28, 2012 at 11:38 AM, Chaals McCathieNevile w...@chaals.com wrote: On Thu, 28 Jun 2012 03:03:48 +0200, Bjoern Hoehrmann derhoe...@gmx.net wrote: * Andri Sævar Sigríksson wrote: suggestion Boolean value implemented as Window.nobackspace  or  Navigator.nobackspace if set to

Re: [whatwg] Proposal for HTML5: Virtual Tours

2012-06-25 Thread Tab Atkins Jr.
On Mon, Jun 25, 2012 at 9:14 AM, Jesús Ruiz García jesusruiz2...@gmail.com wrote: Hello again to all the group whatwg. I have a second proposal, which like the first, I do not know if it can be useful for inclusion in HTML5. This time, I want to speak to you of the virtual tours, used by

Re: [whatwg] Proposal for HTML5: Motion sensing input device (Kinect, SoftKinetic, Asus Xtion)

2012-06-25 Thread Tab Atkins Jr.
On Mon, Jun 25, 2012 at 9:10 AM, Jesús Ruiz García jesusruiz2...@gmail.com wrote: I start indicating that this message can be considered useless. I apologize for this. A few weeks ago I was in the chat #WHATWG, and asked how to send an email to the list on a proposal to HTML5 (JavaScript).

Re: [whatwg] Spec for downloading stylesheets

2012-06-16 Thread Tab Atkins Jr.
On Sat, Jun 16, 2012 at 1:23 AM, Andy Davies dajdav...@gmail.com wrote: I'm under the impression that a UA has to download all stylesheets regardless of whether they will be used e.g. print, mediaquery may never match etc. I've had a crawl through the specs but can't find the behaviour

Re: [whatwg] responsive images

2012-05-22 Thread Tab Atkins Jr.
On Tue, May 22, 2012 at 3:53 AM, Paul Court p...@pmcnetworks.co.uk wrote: As a HTML author and programmer, I just cannot see myself implementing the current srcset proposal on sites. As a programmer, it has very much got what we would call a bad code smell. img src=face-600-...@1.jpeg alt=

Re: [whatwg] responsive images

2012-05-22 Thread Tab Atkins Jr.
On Tue, May 22, 2012 at 3:08 PM, Kornel Lesiński kor...@geekhood.net wrote: On 22 maj 2012, at 15:57, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, May 22, 2012 at 7:26 AM, Kornel Lesiński kor...@geekhood.net wrote: I think that 3x device is very very unlikely to ever happen, since 2x

Re: [whatwg] Correcting some misconceptions about Responsive Images

2012-05-21 Thread Tab Atkins Jr.
On Mon, May 21, 2012 at 4:03 PM, brenton strine brenton.str...@gmail.com wrote: However, it still looks like the most upsetting implication of his timeline, namely that the WHATWG is prioritizing implementors over authors, remains unclarified. Is it a misconception to say that the levels of

Re: [whatwg] Correcting some misconceptions about Responsive Images

2012-05-21 Thread Tab Atkins Jr.
I don't wish to get into he said/she said discussions, but your email contains some incorrect characterizations. The mailing list contains all the relevant history of the discussion for anyone wishing to verify it for themselves. On Mon, May 21, 2012 at 5:05 PM, Mathew Marquis

Re: [whatwg] Correcting some misconceptions about Responsive Images

2012-05-21 Thread Tab Atkins Jr.
On Mon, May 21, 2012 at 5:38 PM, Mathew Marquis m...@matmarquis.com wrote: I don’t think this is the case. The public has largely resigned this to “`srcset` is happening because the WHATWG said so,” for certain, and that doesn’t seem entirely false—but I don’t think “hopeless acceptance” is

Re: [whatwg] Features for responsive Web design

2012-05-19 Thread Tab Atkins Jr.
On Sat, May 19, 2012 at 2:46 AM, Matthew Wilcox m...@matthewwilcox.com wrote: On 19 May 2012 00:37, Kornel Lesiński kor...@geekhood.net wrote: On Fri, 18 May 2012 23:11:45 +0100, Matthew Wilcox m...@matthewwilcox.com wrote: picture in its current form is unable to support bandwidth-based

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