W3C home > Mailing lists > Public > public-pointer-events@w3.org > January to March 2014

RE: Touch-action to SVG elements

From: Jacob Rossi <Jacob.Rossi@microsoft.com>
Date: Wed, 26 Mar 2014 20:15:56 +0000
To: Arthur Barstow <art.barstow@nokia.com>, "Cathy.Chan@nokia.com" <Cathy.Chan@nokia.com>, "rbyers@google.com" <rbyers@google.com>
CC: "public-pointer-events@w3.org" <public-pointer-events@w3.org>, "gnanasekar.s@samsung.com" <gnanasekar.s@samsung.com>
Message-ID: <22d8499609ef4c69bcf3e79dfe5b268e@BY2PR03MB457.namprd03.prod.outlook.com>
I agree "except" is clearer.  I pushed an update to fix this and the out of date note that Rick pointed out:

https://dvcs.w3.org/hg/pointerevents/raw-file/tip/pointerEvents.html#the-touch-action-css-property 

"Applies to: all elements except: non-replaced inline elements, table rows, row groups, table columns, and column groups"

"Note: The touch-action property applies only to elements that support both the CSS width and height properties (see [CSS21] ). This restriction is designed to facilitate user agent optimizations for low-latency touch actions. For elements not supported by default, such as <span> which is a non-replaced inline element (see [HTML5]), authors can set the display CSS property to a value, such as block, that supports width and height. Future specifications could extend this API to all elements.."

-Jacob


-----Original Message-----
From: Arthur Barstow [mailto:art.barstow@nokia.com] 
Sent: Wednesday, March 26, 2014 11:19 AM
To: Cathy.Chan@nokia.com; Jacob Rossi; rbyers@google.com
Cc: public-pointer-events@w3.org; gnanasekar.s@samsung.com
Subject: Re: Touch-action to SVG elements

On 3/26/14 1:47 PM, ext Cathy.Chan@nokia.com wrote:
>
> Maybe it's just me, but as a non-native speaker, I had to think twice 
> to parse the word "but". I'd suggest using ", except" instead.
>

I don't have a strong preference either way but agree "except" (or
"except:") is a bit clearer.


On 3/25/14 3:17 PM, ext Rick Byers wrote:

> "The touch-action property is restricted to block-level elements and 
> SVG elements to facilitate low-latency touch actions. Future 
> specifications could extend this API to all elements. Authors can use 
> the display CSS property to make other elements generate a block box 
> for use with touch-action."

Good catch. (Although rather than repeat the list, perhaps a new link to 
the normative text above could be used.)

-AB

> *From:*ext Jacob Rossi [mailto:Jacob.Rossi@microsoft.com]
> *Sent:* Tuesday, March 25, 2014 2:59 PM
> *To:* Rick Byers
> *Cc:* public-pointer-events@w3.org; gnanasekar.s@samsung.com; Douglas 
> Schepers
> *Subject:* RE: Touch-action to SVG elements
>
> Spec has been updated:
>
> https://dvcs.w3.org/hg/pointerevents/raw-file/tip/pointerEvents.html#the-touch-action-css-property
>
> -Jacob
>
>
Received on Wednesday, 26 March 2014 20:16:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:20:26 UTC