Android WebView Page Content CSS styles broken
Reported by
surya.go...@photoninfotech.net,
Feb 8 2018
|
|
Issue descriptionApp 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.
,
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?
,
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.
,
Mar 19 2018
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 |
|
Comment 1 by boliu@chromium.org
, Feb 8 2018Status: WontFix (was: Unconfirmed)