Re: [whatwg] HTML tags for POEM and MUSIC LYRICS

2017-11-27 Thread Tab Atkins Jr.
On Sun, Nov 26, 2017 at 8:59 AM, GevCbmlGM wrote: > Hi, > > Is there any recommend standard HTML tags for POEM and MUSIC LYRICS? > > I searched and did not see anyone talk about it. > But I see different creative way people come up for POEM / STANZA / LINE > > 1. > > >

Re: [whatwg] [csswg][css-display] Updated WD of CSS Display L3

2017-02-02 Thread Tab Atkins Jr.
On Thu, Feb 2, 2017 at 12:46 PM, Boris Zbarsky wrote: > On 2/2/17 2:28 PM, fantasai wrote: >> >> On 02/02/2017 01:18 PM, Boris Zbarsky wrote: >>> >>> OK, so if I have a flex container with two kids, a run-in and a block, >>> do I get one flex item or two flex items and why? And

Re: [whatwg] [css-display] CSS Display Review

2016-09-20 Thread Tab Atkins Jr.
On Tue, Sep 20, 2016 at 1:15 AM, Simon Pieters wrote: > On Tue, 20 Sep 2016 02:54:56 +0200, Boris Zbarsky wrote: >> On 9/20/16 1:46 AM, Mats Palmgren wrote: >>> >>> Assuming that the above are the final DOM trees, then they should >>> create exactly the same

Re: [whatwg] proposal for new inputmode: digits

2016-07-25 Thread Tab Atkins Jr.
On Mon, Jul 25, 2016 at 3:35 PM, Nils Dagsson Moskopp wrote: > Eitan Adler writes: > >> On 25 July 2016 at 14:59, Nils Dagsson Moskopp < >> n...@dieweltistgarnichtso.net> wrote: >> >>> Eitan Adler writes: >>> > See also

Re: [whatwg] : Issue reported by the web developers

2015-10-06 Thread Tab Atkins Jr.
So, here's one example of a page putting content inside of : https://developer.apple.com/library/prerelease/ios/documentation/HealthKit/Reference/HealthKit_Constants/index.html#//apple_ref/c/econst/HKBodyTemperatureSensorLocationRectum If you use Chrome with the Experimental Web Platform Features

Re: [whatwg] How to add html5 browser support

2015-09-03 Thread Tab Atkins Jr.
On Thu, Sep 3, 2015 at 10:45 AM, Brian Jones wrote: > I'm taking online class to program a browser from scratch. How do I > add Html5 support? Thank you. -Brian Jones You read the spec and then implement all of it. Mind you, it might

Re: [whatwg] Inline SVG: Embedded vs. Metadata Content Distinction (Was: Fwd: Allow Select SVG Elements In head)

2015-08-28 Thread Tab Atkins Jr.
On Sat, Aug 29, 2015 at 12:51 AM, Hugh Guiney hugh.gui...@gmail.com wrote: Bueller...? Bueller...? This request is almost 5 years old now, but it is even more relevant today, now that web developers are increasingly embracing SVG for purposes of responsive design and accommodating HiDPI

Re: [whatwg] DOM Events Proposal: EventListenerOptions 'mayCancel' for improved scroll performance

2015-07-08 Thread Tab Atkins Jr.
On Wed, Jul 8, 2015 at 12:12 PM, Rick Byers rby...@chromium.org wrote: [Cross-posted to www-...@w3.org - please let me know if there's a better way to account for the DOM spec duality] In Chromium we've long worked hard at maximizing scroll performance, with scroll-blocking DOM events (wheel

Re: [whatwg] A mask= advisory flag for link rel=icon

2015-06-26 Thread Tab Atkins Jr.
On Fri, Jun 26, 2015 at 10:17 AM, Timothy Hatcher timo...@apple.com wrote: On Jun 24, 2015, at 2:39 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Sounds acceptable to me. What's the grammar of color=''? Just hex, or full CSS color? (Either is fine with me.) We support full CSS colors

Re: [whatwg] A mask= advisory flag for link rel=icon

2015-06-26 Thread Tab Atkins Jr.
On Jun 26, 2015 14:30, Edward O'Connor eocon...@apple.com wrote: Hi Tab, You wrote: Sounds acceptable to me. What's the grammar of color=''? Just hex, or full CSS color? (Either is fine with me.) We support full CSS colors. Though, we ignore the alpha component. Cool. When are we

Re: [whatwg] A mask= advisory flag for link rel=icon

2015-06-24 Thread Tab Atkins Jr.
On Wed, Jun 24, 2015 at 2:36 PM, Maciej Stachowiak m...@apple.com wrote: To close the loop on this, we will change to link rel=mask-icon href=whatever.svg color=#aabbcc. We like the idea of determining the color from the SVG, but we won't be able to implement in time for this cycle, and

Re: [whatwg] IPv4 parsing

2015-06-24 Thread Tab Atkins Jr.
On Wed, Jun 24, 2015 at 7:21 AM, Anne van Kesteren ann...@annevk.nl wrote: On Wed, Jun 24, 2015 at 3:46 AM, timeless timel...@gmail.com wrote: You have http://0.0.0.66/ that's not a match for your example... I'm not sure what you mean here. You swap between 0.0.0.66 and 66.0.0.0 in your OP.

Re: [whatwg] IPv4 parsing

2015-06-24 Thread Tab Atkins Jr.
On Wed, Jun 24, 2015 at 9:23 AM, Anne van Kesteren ann...@annevk.nl wrote: On Wed, Jun 24, 2015 at 9:06 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: You swap between 0.0.0.66 and 66.0.0.0 in your OP. Actually, the input URL in that case is different. 0x42.0. != 0x42. Well *that's* confusing

Re: [whatwg] support for named colors in input type=color (was Re: Icon mask and theme color)

2015-06-22 Thread Tab Atkins Jr.
On Thu, Jun 18, 2015 at 10:35 AM, Edward O'Connor eocon...@apple.com wrote: On the other hand, link rel=mask-icon color=darkslategray seems like it should Just Work™. I guess we could add support for named colors to input type=color too. Offhand I think that's a good idea. Probably won't

Re: [whatwg] Shared workers with worker parents

2015-06-22 Thread Tab Atkins Jr.
On Fri, Jun 19, 2015 at 3:55 PM, James Burke jrbu...@gmail.com wrote: For some of the apps that run on Firefox OS, we want to use a Service Worker to handle a background sync message, but allow that Service Worker to contact a Shared Worker to do the work. This allows the app's open browser

Re: [whatwg] A mask= advisory flag for link rel=icon

2015-06-17 Thread Tab Atkins Jr.
On Tue, Jun 16, 2015 at 9:49 PM, Anne van Kesteren ann...@annevk.nl wrote: On Tue, Jun 16, 2015 at 10:42 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Before we start bikeshedding, can you commit to actually changing your implementation? Safari has already shipped with the exact proposal

Re: [whatwg] Icon mask and theme color

2015-06-17 Thread Tab Atkins Jr.
On Tue, Jun 16, 2015 at 11:51 PM, Smylers smyl...@stripey.com wrote: Maciej Stachowiak writes: We do have a requirement to have the mask icons render with a single color. I don’t think the approach suggested here is very good. Color averaging would not be very predictable in its results and

Re: [whatwg] Icon mask and theme color

2015-06-17 Thread Tab Atkins Jr.
On Wed, Jun 17, 2015 at 5:16 PM, Karl Dubost k...@la-grange.net wrote: Tab, (summary: let's put the information inside the SVG file, more below) Le 18 juin 2015 à 08:41, Tab Atkins Jr. jackalm...@gmail.com a écrit : better than color averaging. Averaging seems like it would rarely produce

Re: [whatwg] A mask= advisory flag for link rel=icon

2015-06-16 Thread Tab Atkins Jr.
On Tue, Jun 16, 2015 at 2:36 PM, Elliott Sprehn espr...@chromium.org wrote: On Tue, Jun 16, 2015 at 2:33 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, Jun 16, 2015 at 2:25 PM, Elliott Sprehn espr...@chromium.org wrote: On Tue, Jun 16, 2015 at 2:22 PM, Tab Atkins Jr. jackalm

Re: [whatwg] Icon mask and theme color

2015-06-16 Thread Tab Atkins Jr.
On Mon, Jun 15, 2015 at 12:00 PM, Maciej Stachowiak m...@apple.com wrote: For similar reasons, it seemed better to reuse the existing theme-color meta (which gives license to darken or lighten the color as needed). Agreed; along with Ted's observation that theme-color hits at least the 80/20

Re: [whatwg] A mask= advisory flag for link rel=icon

2015-06-16 Thread Tab Atkins Jr.
On Tue, Jun 16, 2015 at 2:07 PM, Elliott Sprehn espr...@chromium.org wrote: sizes is a generic feature that's available for all image resources. No it's not; img sizes and link sizes are completely unrelated. ~TJ

Re: [whatwg] A mask= advisory flag for link rel=icon

2015-06-16 Thread Tab Atkins Jr.
On Tue, Jun 16, 2015 at 1:51 PM, Edward O'Connor eocon...@apple.com wrote: Hi Elliott, You wrote: I'm fine with either interpretation, mask-icon or icon mask like alternate stylesheet. I don't think adding a mask attribute to the HTMLLinkElement for this makes sense. Could you elaborate?

Re: [whatwg] A mask= advisory flag for link rel=icon

2015-06-16 Thread Tab Atkins Jr.
On Tue, Jun 16, 2015 at 2:25 PM, Elliott Sprehn espr...@chromium.org wrote: On Tue, Jun 16, 2015 at 2:22 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, Jun 16, 2015 at 2:07 PM, Elliott Sprehn espr...@chromium.org wrote: sizes is a generic feature that's available for all image

Re: [whatwg] A mask= advisory flag for link rel=icon

2015-06-16 Thread Tab Atkins Jr.
On Mon, Jun 15, 2015 at 10:37 AM, Edward O'Connor eocon...@apple.com wrote: Authors would provide a mask icon like so: link rel=icon href=mask.svg mask [...] P.S. OK, bikeshedding. What should we call the attribute? The ideal name says something about the icon and not about how a UA might

Re: [whatwg] Case-sensitivity of CSS type selectors in HTML

2015-05-08 Thread Tab Atkins Jr.
On Thu, May 7, 2015 at 10:42 PM, Anne van Kesteren ann...@annevk.nl wrote: On Thu, May 7, 2015 at 11:23 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Well, beyond the existing conflicts of style, script, and a. (font too, but that's dropped from SVG2, so who cares.) textArea is out too

Re: [whatwg] Case-sensitivity of CSS type selectors in HTML

2015-05-08 Thread Tab Atkins Jr.
On Fri, May 8, 2015 at 10:13 AM, Anne van Kesteren ann...@annevk.nl wrote: On Fri, May 8, 2015 at 7:09 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: I don't think ascii case-insensitivity is a mistake here. (ASCII) case-insensitivity is a mistake. JavaScript doesn't have it and wherever we

Re: [whatwg] Case-sensitivity of CSS type selectors in HTML

2015-05-08 Thread Tab Atkins Jr.
On Fri, May 8, 2015 at 9:09 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 5/8/15 11:56 AM, Roger Hågensen wrote: One way to cheapen the computational cost is to have partial case insensitive matching. If you're walking the string at all, you have already lost in terms of performance for this

Re: [whatwg] Case-sensitivity of CSS type selectors in HTML

2015-05-07 Thread Tab Atkins Jr.
On Thu, May 7, 2015 at 2:11 PM, Elliott Sprehn espr...@chromium.org wrote: On Thu, May 7, 2015 at 2:09 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 5/7/15 5:07 PM, Tab Atkins Jr. wrote: I believe the SVGWG is fine with a parsing-based approach, exactly like what HTML does. An SVG element

Re: [whatwg] Case-sensitivity of CSS type selectors in HTML

2015-05-07 Thread Tab Atkins Jr.
On Thu, May 7, 2015 at 8:26 AM, Boris Zbarsky bzbar...@mit.edu wrote: Note that at least for textArea this matters, in that you could suddenly have selectors that are not meant to match it start matching it. That's not part of SVG1.1 or SVG2; it's not supported on most (all?) major browsers

Re: [whatwg] Case-sensitivity of CSS type selectors in HTML

2015-05-07 Thread Tab Atkins Jr.
On Thu, May 7, 2015 at 4:16 AM, Rune Lillesveen r...@opera.com wrote: Currently, the HTML spec says that type selectors matches case sensitively for non-html elements like svg elements in html documents [1]. So according to the spec, and the implementation in Gecko, the rules below matches

Re: [whatwg] EventSource and data URLs

2015-04-27 Thread Tab Atkins Jr.
On Mon, Apr 27, 2015 at 7:00 AM, Anne van Kesteren ann...@annevk.nl wrote: Currently Chrome supports data URLs inside EventSource whereas in Firefox EventSource is restricted to http/https URLs: https://bugzilla.mozilla.org/show_bug.cgi?id=1156137 What's the convergence we want here? It's

Re: [whatwg] EventSource and data URLs

2015-04-27 Thread Tab Atkins Jr.
On Mon, Apr 27, 2015 at 3:58 PM, Jonas Sicking jo...@sicking.cc wrote: On Mon, Apr 27, 2015 at 2:20 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Mon, Apr 27, 2015 at 7:00 AM, Anne van Kesteren ann...@annevk.nl wrote: Currently Chrome supports data URLs inside EventSource whereas

Re: [whatwg] Canvas image to blob/dataurl within Worker

2015-04-15 Thread Tab Atkins Jr.
On Tue, Apr 14, 2015 at 10:53 PM, Robert O'Callahan rob...@ocallahan.org wrote: I guess there are really two different sets of use-cases: 1) Use-cases where the ImageBitmap is sized to fill a particular area of the screen. 2) Use-cases where the ImageBitmap is sized subject to some other

Re: [whatwg] Responsive image maps

2015-03-25 Thread Tab Atkins Jr.
On Wed, Mar 25, 2015 at 10:03 AM, Andrea Rendine master.skywalker...@gmail.com wrote: Instead, we start by figuring out what problems need solving. Which is what has been done for this subject, I guess. PROBLEM: image maps, intended as shaped link areas related to specific regions of an image

Re: [whatwg] Responsive image maps

2015-03-20 Thread Tab Atkins Jr.
On Fri, Mar 20, 2015 at 1:30 PM, Andrea Rendine master.skywalker...@gmail.com wrote: SVG can be resized. Everything inside it cannot, as far as it is not defined by relative units. If you use percentage coordinates, or use px coordinates plus a viewBox attribute on the svg, the stuff inside

Re: [whatwg] Responsive image maps

2015-03-20 Thread Tab Atkins Jr.
On Fri, Mar 20, 2015 at 12:22 PM, Martin Janecke whatwg@prlbr.com wrote: However, since image maps have been an integral part of HTML since version 3.2 and not been deprecated in favor of a better alternative yet, it might still be a straightforward solution to enhance them. Responsive

Re: [whatwg] Responsive image maps

2015-03-20 Thread Tab Atkins Jr.
On Fri, Mar 20, 2015 at 1:00 PM, Andrea Rendine master.skywalker...@gmail.com wrote: About SVG, I made a couple of tests and they are far from being comprehensive, but this is the fact. SVG image maps need to define 2 elements for each area, i.e. the element itself and its associated

Re: [whatwg] Effect of image-orientation on naturalWidth/Height

2015-03-13 Thread Tab Atkins Jr.
On Tue, Mar 10, 2015 at 1:29 AM, Anne van Kesteren ann...@annevk.nl wrote: On Tue, Mar 10, 2015 at 12:01 AM, Seth Fowler s...@mozilla.com wrote: I wanted to get the opinion of this list on how image-orientation and the img element’s naturalWidth and naturalHeight properties should interact.

Re: [whatwg] Effect of image-orientation on naturalWidth/Height

2015-03-13 Thread Tab Atkins Jr.
On Fri, Mar 13, 2015 at 12:21 PM, Seth Fowler s...@mozilla.com wrote: On Mar 13, 2015, at 11:56 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: If it happens at the markup level, it should *definitely* affect the naturalWidth/Height properties. I don't think that's in question at all

Re: [whatwg] Effect of image-orientation on naturalWidth/Height

2015-03-09 Thread Tab Atkins Jr.
On Mon, Mar 9, 2015 at 4:01 PM, Seth Fowler s...@mozilla.com wrote: Hi all! I wanted to get the opinion of this list on how image-orientation and the img element’s naturalWidth and naturalHeight properties should interact. The css-images level 3 spec says: The intrinsic height and width

Re: [whatwg] scrap the srcset attribute

2015-03-02 Thread Tab Atkins Jr.
On Mon, Mar 2, 2015 at 1:08 PM, Michael A. Peters mpet...@domblogger.net wrote: On 03/02/2015 09:47 AM, Tab Atkins Jr. wrote: This is much easier to write and to maintain Is it really? With a simple key=value pair, I can: $src = trim($node-getAttribute('src'); Then I can check

Re: [whatwg] scrap the srcset attribute

2015-03-02 Thread Tab Atkins Jr.
On Mon, Mar 2, 2015 at 8:46 AM, Michael A. Peters mpet...@domblogger.net wrote: Dear WHATWG, Scrap the srcset attribute. Traditionally in HTML, and in every instance of XML I have personally worked with, an element's attribute is a key=value pair. Okay the type attribute for source node in

Re: [whatwg] resize events on elements

2015-02-23 Thread Tab Atkins Jr.
On Mon, Feb 23, 2015 at 8:16 PM, Ryosuke Niwa rn...@apple.com wrote: On Feb 23, 2015, at 5:40 PM, Dean Jackson d...@apple.com wrote: At the recent Houdini meeting there was a vague agreement between the browser engines on adding a way for elements to be notified when their size changes.

Re: [whatwg] HTML tags.Panorama, Photo Sphere, Surround shots

2014-11-17 Thread Tab Atkins Jr.
On Sun, Nov 16, 2014 at 4:38 PM, Biju bijumaill...@gmail.com wrote: New cameras/phone cameras comes with Panorama, Photo Sphere, Surround shot options. But there is no standard way to display the image on a webpage. Can WHATWG standardize it and provide HTML tags. Photo Sphere

Re: [whatwg] [hidden] attribute should not allow overrides via css

2014-11-05 Thread Tab Atkins Jr.
On Wed, Nov 5, 2014 at 5:07 PM, Bruno Racineux br...@hexanet.net wrote: Those two lines from spec [1] are in conflict: Because this attribute is typically implemented using CSS, it's also possible to override it using CSS if something is marked hidden, it is hidden from all presentations

Re: [whatwg] HTML has no definition / automated test suite

2014-11-01 Thread Tab Atkins Jr.
On Sat, Nov 1, 2014 at 7:18 AM, Stefan Reich stefan.reich.maker.of@googlemail.com wrote: Hi WhatWG and friends! I am currently making an AI to create HTML. In the process, I discovered a logical problem: HTML is not clearly defined. Not as far as I know anyway. A proper definition of

Re: [whatwg] Notifications: making requestPermission() return a promise

2014-10-08 Thread Tab Atkins Jr.
On Oct 7, 2014 11:32 PM, Anne van Kesteren ann...@annevk.nl wrote: On Tue, Oct 7, 2014 at 8:33 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Sun, Oct 5, 2014 at 7:41 AM, Anne van Kesteren ann...@annevk.nl wrote: On Thu, Oct 2, 2014 at 10:13 PM, Domenic Denicola dome

Re: [whatwg] Notifications: making requestPermission() return a promise

2014-10-08 Thread Tab Atkins Jr.
On Wed, Oct 8, 2014 at 1:07 AM, Anne van Kesteren ann...@annevk.nl wrote: On Wed, Oct 8, 2014 at 9:51 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: The question is whether it's not natural to assume that *if the promise fulfills*, that means they got permission. This allows them to do things

Re: [whatwg] Notifications: making requestPermission() return a promise

2014-10-08 Thread Tab Atkins Jr.
On Wed, Oct 8, 2014 at 1:31 AM, Tobie Langel tobie.lan...@gmail.com wrote: On Wed, Oct 8, 2014 at 9:51 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: The question is whether it's not natural to assume that *if the promise fulfills*, that means they got permission. This allows them to do things

Re: [whatwg] Notifications: making requestPermission() return a promise

2014-10-08 Thread Tab Atkins Jr.
On Wed, Oct 8, 2014 at 9:16 AM, Anne van Kesteren ann...@annevk.nl wrote: On Wed, Oct 8, 2014 at 6:07 PM, Domenic Denicola dome...@domenicdenicola.com wrote: What I find interesting here is the claim that people find try/catch annoying or distasteful. I don't think you should need try/catch

Re: [whatwg] Notifications: making requestPermission() return a promise

2014-10-08 Thread Tab Atkins Jr.
On Wed, Oct 8, 2014 at 10:39 AM, Anne van Kesteren ann...@annevk.nl wrote: On Wed, Oct 8, 2014 at 7:03 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: You keep ignoring the past turns out we like using async errors for 'soft failures' of this kind, and have done it lots of times, and nobody

Re: [whatwg] Notifications: making requestPermission() return a promise

2014-10-07 Thread Tab Atkins Jr.
On Sun, Oct 5, 2014 at 7:41 AM, Anne van Kesteren ann...@annevk.nl wrote: On Thu, Oct 2, 2014 at 10:13 PM, Domenic Denicola dome...@domenicdenicola.com wrote: So we should make a choice, as to whether we want developers to assume they will always get permission (in which case it should reject

Re: [whatwg] Notifications: making requestPermission() return a promise

2014-10-01 Thread Tab Atkins Jr.
On Wed, Oct 1, 2014 at 9:06 AM, Anne van Kesteren ann...@annevk.nl wrote: On Wed, Oct 1, 2014 at 2:56 PM, Peter Beverloo bever...@google.com wrote: One argument I came across for overloading requestPermission is the following: Promise.all([ Notification.requestPermission(),

Re: [whatwg] Notifications: making requestPermission() return a promise

2014-10-01 Thread Tab Atkins Jr.
On Wed, Oct 1, 2014 at 9:18 AM, Anne van Kesteren ann...@annevk.nl wrote: On Wed, Oct 1, 2014 at 3:14 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Wait, what? Anytime you request something, not getting it is exceptional. Not sure how you can make an argument otherwise. I would not expect

Re: [whatwg] Notifications: making requestPermission() return a promise

2014-10-01 Thread Tab Atkins Jr.
On Wed, Oct 1, 2014 at 9:34 AM, Anne van Kesteren ann...@annevk.nl wrote: On Wed, Oct 1, 2014 at 3:21 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: And I wouldn't expect someone loading a FontFace synchronously to use try/catch to deal with loading errors, either, because that's super

Re: [whatwg] Notifications: making requestPermission() return a promise

2014-10-01 Thread Tab Atkins Jr.
On Wed, Oct 1, 2014 at 11:44 AM, Domenic Denicola dome...@domenicdenicola.com wrote: From: whatwg [mailto:whatwg-boun...@lists.whatwg.org] On Behalf Of Tab Atkins Jr. This is actually kinda terrible. Promises make it *really easy* to deal with rejections *later*, letting you execute

Re: [whatwg] Notifications: making requestPermission() return a promise

2014-10-01 Thread Tab Atkins Jr.
and only at the end saying Oh, did something along the line fail? Let me take care of that..» Yeah, you're right. try/catch is just more annoying to use than a .catch() at the end of a promise chain. ^_^ On Wed, Oct 1, 2014 at 11:34 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: I think we

Re: [whatwg] Notifications: making requestPermission() return a promise

2014-10-01 Thread Tab Atkins Jr.
On Wed, Oct 1, 2014 at 1:02 PM, Tobie Langel tobie.lan...@gmail.com wrote: On Wed, Oct 1, 2014 at 5:59 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: I've never heard this opinion explicitly expressed, and it has never shown up in any API reviews of promise-using specs. It's directly contrary

Re: [whatwg] ARIA semantics of implied rows

2014-09-26 Thread Tab Atkins Jr.
On Fri, Sep 26, 2014 at 11:39 AM, Daniel Trebbien dtrebb...@gmail.com wrote: On Fri, Sep 26, 2014 at 2:09 PM, Anne van Kesteren ann...@annevk.nl wrote: On Fri, Sep 26, 2014 at 7:59 PM, Daniel Trebbien dtrebb...@gmail.com wrote: One issue is that the ARIA semantics for implied rows are not

Re: [whatwg] Notifications and service workers

2014-09-25 Thread Tab Atkins Jr.
On Thu, Sep 25, 2014 at 4:24 PM, Jonas Sicking jo...@sicking.cc wrote: * Alternatively, maybe we could simply get rid of the close event entirely. Does it have a use-case? Yeah: * User gets new chat message * Push message * Notification * User reads chat message but doesn't need to

Re: [whatwg] Notifications and service workers

2014-09-23 Thread Tab Atkins Jr.
On Tue, Sep 23, 2014 at 5:21 PM, Jonas Sicking jo...@sicking.cc wrote: After having talked to our web developers, and having talked to Olli, I've come to the following conclusions: * We should consider the case of persistent notifications separate from notifications that automatically close

Re: [whatwg] CanvasRenderingContext2D and CSS Image filters

2014-09-18 Thread Tab Atkins Jr.
On Thu, Sep 18, 2014 at 11:15 AM, Vivek Galatage viv...@chromium.org wrote: Hi all, I just wrote a test case which involves applying a CSS image filter (--webkit-filter or filter) using a grayscale filter. http://jsfiddle.net/whyn9075/ With this image element, I used a canvas rendering

Re: [whatwg] Canonical Image and Color

2014-08-26 Thread Tab Atkins Jr.
On Tue, Aug 26, 2014 at 4:21 PM, Anne van Kesteren ann...@annevk.nl wrote: On Mon, Aug 25, 2014 at 8:59 PM, Mike tomshin...@yandex-team.ru wrote: 2) There is already a couple of standards or quasi-standads: - favicons (most promising seems to be the increasing of their size and svg

Re: [whatwg] Canonical Image and Color

2014-08-25 Thread Tab Atkins Jr.
On Tue, Aug 26, 2014 at 4:59 AM, Mike tomshin...@yandex-team.ru wrote: Hey Folks, Let’s get back to this subject as it seems there is still no solution. Recently we - Yandex.Browser - discussed with Opera if there could be a standard for page icons (let’s call it so) on NewTabPage that

Re: [whatwg] `brand-color` meta extension

2014-08-20 Thread Tab Atkins Jr.
On Wed, Aug 20, 2014 at 12:39 PM, Mark Callow callow.m...@artspark.co.jp wrote: On 2014/06/26 12:58, Marcos Caceres wrote: I would be in favor of this. It would be good to support the legacy content as its use on the Web is significant. Search I did back in Oct 2013 found these proprietary

Re: [whatwg] Proposal: Wake Lock API

2014-08-19 Thread Tab Atkins Jr.
On Tue, Aug 19, 2014 at 5:35 AM, Mounir Lamouri mou...@lamouri.fr wrote: On Tue, 19 Aug 2014, at 04:54, Jonas Sicking wrote: Note that in the API that I'm proposing, there is no way to accidentally rely on GC behavior. If a WakeLock object is GCed before it has been release()ed, then the lock

Re: [whatwg] Proposal: Wake Lock API

2014-08-19 Thread Tab Atkins Jr.
On Tue, Aug 19, 2014 at 11:07 AM, Jonas Sicking jo...@sicking.cc wrote: On Tue, Aug 19, 2014 at 5:35 AM, Mounir Lamouri mou...@lamouri.fr wrote: How would you handle feature detection with this design? This is a good question. I don't have a better solution than adding separate

Re: [whatwg] Proposal: Wake Lock API

2014-08-19 Thread Tab Atkins Jr.
On Tue, Aug 19, 2014 at 1:29 PM, Marcos Caceres w...@marcosc.com wrote: On August 19, 2014 at 2:08:04 PM, Jonas Sicking (jo...@sicking.cc) wrote: How would you handle feature detection with this design? This is a good question. I don't have a better solution than adding separate

Re: [whatwg] Proposal: Wake Lock API

2014-08-19 Thread Tab Atkins Jr.
On Tue, Aug 19, 2014 at 1:44 PM, Marcos Caceres w...@marcosc.com wrote: On August 19, 2014 at 4:39:03 PM, Tab Atkins Jr. (jackalm...@gmail.com) wrote: Why is isHeld still used here? You don't need it to avoid squashing someone else's lock with this design, and several people have pointed out

Re: [whatwg] Proposal: Wake Lock API

2014-08-18 Thread Tab Atkins Jr.
On Sat, Aug 16, 2014 at 9:19 AM, Nils Dagsson Moskopp n...@dieweltistgarnichtso.net wrote: Jonas Sicking jo...@sicking.cc writes: On Fri, Aug 15, 2014 at 6:14 AM, Mounir Lamouri mou...@lamouri.fr wrote: On Thu, 14 Aug 2014, at 11:00, Jonas Sicking wrote: I am however more worried about that

Re: [whatwg] Preventing wake lock leaks with DOM nodes

2014-08-18 Thread Tab Atkins Jr.
On Mon, Aug 18, 2014 at 4:21 PM, Kornel Lesiński kor...@geekhood.net wrote: My biggest concern with the WakeLock API is that it's easy to forget (or fail) to release the lock. It's not a problem with the API per se, but a programming problem in general: resource management in non-trivial

Re: [whatwg] Preventing wake lock leaks with DOM nodes

2014-08-18 Thread Tab Atkins Jr.
On Mon, Aug 18, 2014 at 5:10 PM, Domenic Denicola dome...@domenicdenicola.com wrote: In general I feel this thread has taken a turn for the complex. Why don't we just do what other platforms do, and provide a simple global request/release mechanism (or toggleable Boolean property!), which

Re: [whatwg] Question on server side api

2014-08-04 Thread Tab Atkins Jr.
On Aug 4, 2014 7:08 PM, L2L 2L emanuelal...@hotmail.com wrote: ... Here's a question that will get a huh? Do the browser have an api that is use This is a stupid question Do the browser have an api that I can use to preform --I'm still a novice-- simple server side action? No.

Re: [whatwg] Better DOM hooks for polyfilling CSS properties?

2014-07-10 Thread Tab Atkins Jr.
[This discussion belongs on the www-st...@w3.org list, not whatwg. I'll give a perfunctory answer here, but will not follow up. Please start a thread on www-style if you wish to discuss this further.] On Jul 10, 2014 2:39 PM, Brian Blakely anewpage.me...@gmail.com wrote: Problem === It's

Re: [whatwg] Questions about the Fetch API

2014-07-09 Thread Tab Atkins Jr.
On Tue, Jul 8, 2014 at 11:35 AM, Juan Ignacio Dopazo jdop...@yahoo-inc.com wrote: - And more importantly, why does fetch() return a PromiseResponse instead of a Response? Because you aren't allowed to do network fetches sync. (And if you have an async action, returning a Promise for its

Re: [whatwg] brand-color meta extension

2014-06-30 Thread Tab Atkins Jr.
On Mon, Jun 30, 2014 at 9:23 AM, Tao Bai michael...@google.com wrote: Shall we enforce brand-color in head elements? it could make the brand-color loaded ASAP, just like the favicon. Not needed, imo. If you put it in the head (or at least, early in the body), it'll get read early; if you put

Re: [whatwg] SVG cloning elements from HTML5

2014-06-27 Thread Tab Atkins Jr.
On Fri, Jun 27, 2014 at 2:11 PM, David Carlisle dav...@nag.co.uk wrote: Who do you mean by we in the above (css wg, svg wg, whatwg here) not that it matters really but if I need to go and ask the Math WG to coordinate with someone I want to be able to say who that is:-) Me, mostly, but CSSWG

Re: [whatwg] SVG cloning elements from HTML5

2014-06-26 Thread Tab Atkins Jr.
On Thu, Jun 26, 2014 at 9:11 AM, Ian Hickson i...@hixie.ch wrote: On Tue, 24 Jun 2014, Robert O'Callahan wrote: !DOCTYPE HTML svg span id=s/span div id=i/div the elements s and i are put in the HTML namespace already. As siblings of the svg element, though, not descendants. This was

Re: [whatwg] SVG cloning elements from HTML5

2014-06-26 Thread Tab Atkins Jr.
On Thu, Jun 26, 2014 at 9:44 AM, Anne van Kesteren ann...@annevk.nl wrote: On Thu, Jun 26, 2014 at 6:35 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: (The current proposal would place all the direct HTML children of SVG elements on top of each other, similar to abspos, but grandchildren would

Re: [whatwg] `brand-color` meta extension

2014-06-26 Thread Tab Atkins Jr.
On Thu, Jun 26, 2014 at 10:35 AM, Marcos Caceres w...@marcosc.com wrote: Folks at Mozilla and Google would like to standardize the `brand-color` meta extension. The `brand-color` keyword has been added to the MetaExtensions WHATWG wiki and a rough spec is below (prepared by some folks at

Re: [whatwg] `brand-color` meta extension

2014-06-26 Thread Tab Atkins Jr.
On Thu, Jun 26, 2014 at 10:57 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: This feature has been developed in the past under multiple proprietary names, such as mapplication-navbutton-color for Internet Explorer and apple-mobile-web-app-status-bar-style for Mobile Safari. Authors MUST

Re: [whatwg] SVG cloning elements from HTML5

2014-06-26 Thread Tab Atkins Jr.
On Thu, Jun 26, 2014 at 10:40 AM, Chris Lilley ch...@w3.org wrote: Better integration of HTML and SVG (and blocking any further element copying beyond the four existing elements) is really important. Much more important than maintaining rendering of someone's tried this and it didn't do

Re: [whatwg] Proposal: defining script as link rel=script href=actualwaytoscript

2014-06-26 Thread Tab Atkins Jr.
On Thu, Jun 26, 2014 at 12:09 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 6/26/14, 2:57 PM, Тимофей Маринин wrote: Do you mean if style src were supported? No, I mean what I said. But looks like style doesn't autoclose head, in fact; I thought it did. style is explicitly one of the five

Re: [whatwg] brand-color meta extension

2014-06-26 Thread Tab Atkins Jr.
On Thu, Jun 26, 2014 at 1:24 PM, Mathias Bynens mathi...@opera.com wrote: Interesting to see this would be only the second HTML attribute value to get parsed as a simple color (http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#simple-color) rather than a

Re: [whatwg] brand-color meta extension

2014-06-26 Thread Tab Atkins Jr.
On Thu, Jun 26, 2014 at 1:33 PM, Mathias Bynens mathi...@opera.com wrote: On 26 Jun 2014, at 22:24, Mathias Bynens mathi...@opera.com wrote: Interesting to see this would be only the second HTML attribute value to get parsed as a simple color

Re: [whatwg] SVG cloning elements from HTML5

2014-06-24 Thread Tab Atkins Jr.
[plain-text email, please. HTML emails rarely survive plain-text-ification unscathed.] On Mon, Jun 23, 2014 at 11:35 PM, Gavin Kistner phr...@me.com wrote: On 24 Jun 2014, at 05:25, Robert O'Callahan rob...@ocallahan.org wrote: On Thu, Jun 19, 2014 at 4:33 AM, Tab Atkins Jr. jackalm

Re: [whatwg] SVG cloning elements from HTML5

2014-06-23 Thread Tab Atkins Jr.
On Mon, Jun 23, 2014 at 9:35 PM, Dirk Schulze dschu...@adobe.com wrote: On Jun 24, 2014, at 5:25 AM, Robert O'Callahan rob...@ocallahan.org wrote: On Thu, Jun 19, 2014 at 4:33 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: Yes, increasing the set of name-alikes between html and svg

Re: [whatwg] SVG cloning elements from HTML5

2014-06-18 Thread Tab Atkins Jr.
On Jun 18, 2014 6:00 AM, Robert O'Callahan rob...@ocallahan.org wrote: I just discovered https://svgwg.org/svg2-draft/embedded.html This looks very problematic. It ties SVG and HTML5 together in uncomfortable ways. For example, SVGIframeElement as specced has two width attributes. It's

Re: [whatwg] Proposal: Inline pronounce element

2014-06-03 Thread Tab Atkins Jr.
On Tue, Jun 3, 2014 at 3:26 AM, Daniel Morris daniel+wha...@honestempire.com wrote: Hello, With existing assistive technology such as screen readers, and more recently the pervasiveness of new technologies such as Siri and Google Now to name two examples, I have been thinking about the

Re: [whatwg] hidden attribute useless with display: flex?

2014-04-30 Thread Tab Atkins Jr.
On Wed, Apr 30, 2014 at 7:32 AM, Glenn Maynard gl...@zewt.org wrote: It's too bad that display-box also has multiple uses--it doesn't only display or hide the content, it has a third contents mode. That means the same problem would happen as soon as you set display-box: contents on

Re: [whatwg] hidden attribute useless with display: flex?

2014-04-30 Thread Tab Atkins Jr.
On Wed, Apr 30, 2014 at 2:32 PM, Ian Hickson i...@hixie.ch wrote: On Wed, 30 Apr 2014, Anne van Kesteren wrote: We could change the specification to use display-box instead. That might work. Would that break sites that are intentionally replacing the styling for hidden= from 'display:none'

Re: [whatwg] summary/details - proposal

2014-04-08 Thread Tab Atkins Jr.
On Tue, Apr 8, 2014 at 5:25 AM, Steve Faulkner faulkner.st...@gmail.com wrote: avoiding unnecessary recourse to web component use is a reasonable and expected goal - built in vs bolt on accessibility is better. Having to use a web component to overcome the inability to make a html control

Re: [whatwg] new constructor method for Path2D

2014-03-10 Thread Tab Atkins Jr.
On Mon, Mar 10, 2014 at 11:38 AM, Justin Novosad ju...@google.com wrote: On Mon, Mar 10, 2014 at 2:14 PM, Rik Cabanier caban...@gmail.com wrote: On Mon, Mar 10, 2014 at 11:07 AM, Joe Gregorio jcgrego...@google.com wrote: What part is slow, the decoding and re-encoding, or is just always the

Re: [whatwg] Proposal: requestBackgroundProcessing()

2014-02-20 Thread Tab Atkins Jr.
On Thu, Feb 20, 2014 at 7:25 AM, Ashley Gullen ash...@scirra.com wrote: We're building a browser-based P2P multiplayer engine on top of WebRTC DataChannels. You can try out our work-in-progress here: http://www.scirra.com/labs/multiplayer/test1/ The first player in to a room is assigned the

Re: [whatwg] Proposal: requestBackgroundProcessing()

2014-02-20 Thread Tab Atkins Jr.
On Thu, Feb 20, 2014 at 8:23 AM, Ashley Gullen ash...@scirra.com wrote: Isn't setTimeout also clamped to 1s in the background? This alone would add so much latency as to effectively hang the game anyway. Ah, I wasn't sure if anyone actually did that; I just tested in Chrome, though, and it

Re: [whatwg] HTML spec incorrectly suggests that br can have its rendering changed with CSS

2014-01-29 Thread Tab Atkins Jr.
On Wed, Jan 22, 2014 at 1:51 PM, Daniel Holbert dholb...@mozilla.com wrote: Hi folks, Boris Zbarsky and I ran across a not reflecting reality issue in the WHATWG HTML spec. The spec currently defines the rendering of the br element as follows: # br { content: '\A'; white-space: pre; }

Re: [whatwg] HTML spec incorrectly suggests that br can have its rendering changed with CSS

2014-01-28 Thread Tab Atkins Jr.
On Tue, Jan 28, 2014 at 1:04 AM, Elliott Sprehn espr...@gmail.com wrote: On Thu, Jan 23, 2014 at 10:54 AM, Daniel Holbert dholb...@mozilla.comwrote: On 01/23/2014 03:16 AM, Stewart Brodie wrote: [2] I only noticed one rendering difference -- IE11 honors border on br, unlike the other

Re: [whatwg] 'hidden' as resources control (Was: Simplified picture element draft)

2014-01-23 Thread Tab Atkins Jr.
On Thu, Jan 23, 2014 at 6:13 PM, Bruno Racineux br...@hexanet.net wrote: On 1/22/14 6:07 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 1/22/14 8:14 PM, Bruno Racineux wrote: Meanwhile, is there a way in which all vendors can prevent their pre-loaders from preloading (and loading at all for that

Re: [whatwg] Simplified picture element draft

2014-01-08 Thread Tab Atkins Jr.
On Wed, Jan 8, 2014 at 9:18 AM, Maciej Stachowiak m...@apple.com wrote: On Dec 31, 2013, at 7:17 AM, Yoav Weiss y...@yoav.ws wrote: On Mon, Nov 25, 2013 at 5:33 PM, Adam Barth w...@adambarth.com wrote: Is there an editor's draft or some other relatively self-contained write-up that I could

Re: [whatwg] Simplified picture element draft

2014-01-08 Thread Tab Atkins Jr.
On Wed, Jan 8, 2014 at 9:47 AM, Yoav Weiss y...@yoav.ws wrote: On Wed, Jan 8, 2014 at 6:18 PM, Maciej Stachowiak m...@apple.com wrote: - It seems this draft allows arbitrary media queries, with only a subset expected to give best performance (by correctly informing the preload scanner). In my

  1   2   3   4   5   6   7   8   9   10   >