- From: Philippe Le Hegaret <plh@w3.org>
- Date: Wed, 27 Oct 1999 11:41:33 +0200
- To: Lee Hyoung Moon <darkness@www.paichai.ac.kr>
- CC: www-dom@w3.org
Lee Hyoung Moon wrote: > > Please tell me... > I don't understand this sentence. > " binding-specific casting methods ". > > An instance of the LinkStyle interface can be > obtained using binding-specific casting methods on an instance of a linking > node (HTMLLinkElement [p.76] , HTMLStyleElement [p.78] or > ProcessingInstruction [p.64] in DOM Level 2). If your DOM implementation supports "StyleSheets", the following operation are allowed : Java: ((LinkStyle) processingInstruction).sheet Ecmascript: processingInstruction.sheet The main reason to not have a ProcessingInstructionStyle (inherits from LinkStyle and ProcessingInstruction) was to avoid diamond inheritance. Regards, Philippe. --------- Philippe Le Hegaret - http://www.w3.org/People/LeHegaret/ World Wide Web Consortium (W3C), DOM Activity Lead
Received on Wednesday, 27 October 1999 05:42:11 UTC