On Tue, Jul 15, 2008 at 6:55 PM, Andrew Fedoniouk <news@terrainformatica.com> wrote: > I use selector() function in cases when one element needs reference to > another. For example: > > input[type="scrollbar"] > { > -context-menu: selector( menu#for-scrollbar ); > } > > Needless to say that selectors give you > various addressing schemas: > > button[type="popup-menu"] > { > -menu: selector( head > menu:nth-child(2) ); > } > That's a nice extension of referencing elements by ID but it doesn't guarantee you get a unique element (I guess you can choose the first match though) and it doesn't address the cross-document requirements which are really the big issue. Rob -- "He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]Received on Tuesday, 15 July 2008 08:09:03 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:10 GMT