gitweb.js: make findStyleRule work with nested style sheets
commitbafda6c561662d07d7a54e0bbda272cf8b6acb8a
authorKyle J. McKay <mackyle@gmail.com>
Tue, 14 Apr 2015 04:35:06 +0000 (13 21:35 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 14 Apr 2015 04:35:06 +0000 (13 21:35 -0700)
treeb1f9b62047d6a88c2f2fdf3c6d10d7ff7e8d0ebe
parent8b4534989b5720e0f5dc4eb84a7bfe7554192b80
gitweb.js: make findStyleRule work with nested style sheets

If the user agent in question actually represents @import rules
in the DOM, then we need to recursively traverse the tree while
looking for a match in case the rule we're looking for isn't in
one of the the top-level style sheets.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
gitweb/static/js/blame_incremental.js