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 still have not had a chance to try Nick's suggestion, but I am wondering
about a recent discovery. My Android phone updated the Wikipedia app last
night. I noticed in the What's New list that one of the new items is "We went
native! Looks gorgeous on your device, and is much faster, too." Something
changed in the styling in an effort to make the application look like native
applications. The date of the change is 25 June, which is consistent with the
breakage of my application. Does anyone know what actually changed? Are the
people who actually made that change subscribers to this mailing list? Ryan
Kaldari reported that the CSS specification for the body element did not
change, so it seems as if there is some other way to change the appearance to
make it look "native".