On Friday, 27 June 2014 16:35:17 Nick White wrote:
On Fri, Jun 27, 2014 at 01:02:43PM -0600, Jeffrey Barish wrote:
I am viewing Wikipedia pages using webkit in an
application that I wrote.
I attach my style sheet by specifying user_stylesheet_uri. I know that
webkit is reading my css because I could set the background color until 2
days ago and because I can still set the text color. I am guessing that
a css upstream
Actually, I'd guess that your application is adding some CSS
somewhere, one way or another (webkit is a complex beast). I
recommend you enable the webkit inspector to investigate which rules
are being applied, and how. The inspector only takes a few lines of
code to add to your application.
I finally had a chance to try Nick's suggestion. Using inspector, I was able
to fix the problem. I believe that there is a new layer. The body element had
the background color that I set, but the new layer was on top and it had a
white background. I changed the background color of that layer to solve the
problem. I was also able to make many other adjustments to improve the
appearance thanks to the information I found in inspector -- and I barely
tapped its capabilities.
Thanks to all for the support and especially to Nick for telling me about