[BRLTTY] Computing CSS properties

Shérab Sebastien.Hinderer at ens-lyon.org
Thu Apr 5 16:28:44 EDT 2012


Hi,

Jason White (2011/12/11 09:19 +1100):
> Shérab <Sebastien.Hinderer at ens-lyon.org> wrote:
>  
> > Does somebody know a way, preferably using text-mode only, to compute
> > the value of a CSS property at some point in an HTML document ?
> 
> The only solution I am aware of is to read the style sheets and determine
> which rule matches the element in the document. You could use, for example,
> grep to locate only code that deals with the property of interest.

Well, this becomes really cumbersomeand I'd say impossible with a big
web page including several stylesheets like it's the case e.g. on sites
built using a CMS.

Sherab.


More information about the BRLTTY mailing list