It is not a string search in the css file. Instead the css file is fully parsed and multiple selectors are split to create individual versions and the parser is used to find the line of the source code where that selector is defined.
But I could change the "match a selector" code to either be a full match or to match the first part of a combinator selector - just not later targets in that combinator as that would require a full parsing of the xhtml as well as specificity calculations.
Would that help?
Quote:
Originally Posted by Turtle91
I was thinking something along the lines of a standard "find:ack" with all css stylesheets selected. That only finds the letter combination of “ack” so somehow adding the element type might help?? eg. div. or p.
Of course, that is just my uninformed thought…
|