New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 810337 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Android WebView Page Content CSS styles broken

Reported by surya.go...@photoninfotech.net, Feb 8 2018

Issue description

App was working fine in previous version of Chrome i.e before 63. After 63 release, some Table styles were broken and in 64 release the entire content styles are not applied and looks like and zoom out content.
Our App went production on Dec 2017, Now these issues are occuring and reported by many users. Kindly resolve as soon as possible.

Device name: Nexus 5X
Android version: 8.0
WebView version (from system settings -> Apps -> Android System WebView):
Application: MSD Manual
Application version: 1.4.2

URLs (if applicable): https://play.google.com/store/apps/details?id=com.msd.professional&hl=en



Steps to reproduce:
(1) Install the application with Chrome 64 
(2) Open the app, Go to Resources -> Tables -> Open any table
(3) See the table page, the styles are not properly applied.
(4) Home -> Medical topics -> Select any topic -> Topic will be opened up.
(5) See the Topic Content, Content are like zoomed out position and styles are broken

Expected result: Style should apply to Tables and Medical Topic Content.


Actual result: Styles are not applied to Tables and Medical Topic Content.


 
Screenshot_20180208-165545.png
252 KB View Download
Screenshot_20180208-165938.png
198 KB View Download

Comment 1 by boliu@chromium.org, Feb 8 2018

Cc: mkwst@chromium.org
Status: WontFix (was: Unconfirmed)
If you open up devtools, you'll see lots of resource errors. Among them:
[Deprecation] CSS cannot be loaded from `file:` URLs unless they end in a `.css` file extension.

This is part of tightening security for file origins. Update your app please.

Comment 2 by torne@chromium.org, Feb 8 2018

Hrm. We intentionally made the requirement that html files have a valid extension a quirk and disabled it for webview with the intention of re-enabling it for apps that target future OS versions. Did the same thing not happen for CSS?

Comment 3 by torne@chromium.org, Feb 8 2018

You should still fix your app regardless - use the right file extensions. file:// URLs don't have MIME types and so the extension is the only way to know the type.
Thanks boliu and torne. We have fixed in our development environment, but still there is one functionality is not working as expected. 
The same works once when we disable the Chrome app.

Issue - Opened table is closed, when the device orientation changes in latest Chrome App (Webview)

APK - https://drive.google.com/file/d/1VVhd0a4WlRgt5bhEySay1j7JrY-kEHda/view

Steps:
1. Install the apk and open
2. Home -> Resources -> Tables
3. Open any table 
4. Now change the orientation of device

Actual -> Table is closed and needs to be reopened.
Expected -> Table should re-align in Opened mode.

Sign in to add a comment