W3C home > Mailing lists > Public > www-style@w3.org > April 2007

Re: Select a parrent node with s CSS selector?

From: Bruce Lawson <bruce@brucelawson.co.uk>
Date: Mon, 23 Apr 2007 19:17:15 +0100
To: "Andrew Fedoniouk" <news@terrainformatica.com>, "Ilia Goranov" <css-babailiica@babailiica.com>,<www-style@w3.org>
Message-ID: <E1Hg36F-0002NR-7q@maggie.w3.org>

>So to find style of p.description CSS engine will need to scan
>1) all parents ( for body>div.content )
>2) *and* all it is children ( for a:link )
>  ...
>Your proposal changes the compelxity to O( n * n * m * d )  that is 
>highly non-desirable as you may expect.

Whilst I agree that it's far more complex to implement, does it mean 
that it's unimplementable and therefore beyond consideration?


Bruce Lawson

travellers tales, music, middle-aged grumblings at www.brucelawson.co.uk
Received on Monday, 23 April 2007 19:26:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:28 UTC