From: Waldbaer <wal...@us...> - 2008-11-21 10:26:47
|
Hi, I plan to rewrtie the adding of Locators to CSSOM objects and LexicalValues. At the moment the following objects get a Locator: * CSSCharsetRuleImpl * CSSImportRuleImpl * CSSFontFaceRuleImpl * CSSMediaRuleImpl * CSSPageRuleImpl * CSSStyleRuleImpl * CSSUnknownRuleImpl * Property * LexicalUnitImpl Which location in the source code should the Locator point to? Should it always point to the first character? Example: @import "../../dojo/resources/dojo.css"; ^ Locator for CSSImportRuleImpl #testLayout { ^ Locator for CSSStyleRuleImpl height: 100%; ^ Locator for Property 'height' ^ Locator for LexicalUnitImpl '100%' border: 1px solid black; ^ Locator for Property 'border' ^ Locator for LexicalUnitImpl '1px' ^ Locator for LexicalUnitImpl 'solid' ^ Locator for LexicalUnitImpl 'black' } -- Waldbaer |