View Single Post
Old 08-05-2009, 06:11 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,317
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Actually thinking about it a little...

WebKit already computes the styles for you, you can get the computed values using a javascript to python bridge. Then just set a high specificty CSS selector for that element that overrides the computed values where they differ from the defaults
kovidgoyal is online now   Reply With Quote