W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2012

Re: Suggestion: "shown" and "shownText"

From: Ms2ger <ms2ger@gmail.com>
Date: Tue, 18 Sep 2012 12:21:43 +0200
Message-ID: <50584B37.8050004@gmail.com>
To: Simon Stewart <shs@rocketpoweredjetpants.com>
CC: www-dom@w3.org
Hi Simon,

On 09/11/2012 04:25 PM, Simon Stewart wrote:
> Hi,
> As part of the work we're doing on the WebDriver spec, we're attempting to
> identify properties or algorithms that may be better placed in other specs.
> We think that there are two obvious candidates for inclusion into future
> revisions of the DOM spec: "shown" and "shownText".
> The "shown" property describes whether a particular element could be made
> visible to a user. The algorithm we use to determine this is described in:
> http://www.w3.org/TR/webdriver/#determining-visibility
> The "shownText" property returns the user visible text that corresponds to
> what a user would see. The algorithm we use for this is described in:
> http://www.w3.org/TR/webdriver/#rendering-text

Both of those look rather dependent on styling. As DOM is 
CSS-independent, we are unlikely to specify these features in this 
specification. A better place for such properties would probably be 
CSSOM or CSSOM View (discussed on www-style@w3.org).

Received on Tuesday, 18 September 2012 10:22:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:19 UTC