Unless your application is based on the Android Wikipedia app, this shouldn't make any
difference. The change to the app was not that it was styled to "look native",
the change is that the app was completely rewritten as a native Android application.
Like Nick said, the WebKit inspector is your best bet on solving the rendering issue as it
will show exactly what CSS rules are being applied from where.
Ryan Kaldari
On Jun 30, 2014, at 9:23 AM, Jeffrey Barish <jeff_barish(a)earthlink.net> wrote:
On Friday, 27 June 2014 16:35:17 Nick White wrote:
Hi Jeff,
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.
Nick
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".
Jeff
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l