Re: Suggestion: "shown" and "shownText"

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

HTH
Ms2ger

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