Create an instrumentation test checking that WebView looks ok when attached to a Presentation |
||||
Issue descriptionCurrently, when attaching a WebView to a Presentation http://developer.android.com/reference/android/app/Presentation.html that WebView uses the display metrics of the primary/default display to draw its content. This means if the Presentation targets a display of different size/DPI the output will look ugly. The test we need to introduce for this would create a virtual display with significantly different display metrics compared to the primary display, create a Presentation for the virtual display, attach a WebView to the Presentation, and then draw some fixed-size content in the WebView and read the output of the virtual display to ensure the content has correct size.
,
Jul 13 2016
Aaand, if possible, create one WebView inside a Presentation and one "normal" WebView in the same test (to ensure we are not incorrectly changing some global state for all WebViews in the same app).
,
Jun 15 2017
I haven't looked at this for almost a year, and probably won't anytime soon. Putting this in the list of available WebView bugs.
,
Jun 15 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 15 2018
It sounds like WebView wouldn't currently pass this test? Presentation support could be a minor project.
,
Jun 15 2018
IIRC Tima/Bo fixed the implementation for this a while back. |
||||
►
Sign in to add a comment |
||||
Comment 1 by gsennton@chromium.org
, Jul 13 2016