That seems rather simple minded. What happens if there are multiple classes or if some other type of css rule affects the element? If I do implement this feature it will popup a list of all rules that affect the element and allow you to choose which one to go to. However, I dont know how simple it will be to implement. Finding which rules affect an element is trivial, finding the position of those rules in the stylesheet is not, since the css parser calibre uses does not preserve that information, but let's see if I can hack something together.
|