New issue
Advanced search Search tips

Issue 625092 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Feature

Blocking:
issue 310763



Sign in to add a comment

Create an instrumentation test checking that WebView looks ok when attached to a Presentation

Project Member Reported by gsennton@chromium.org, Jul 1 2016

Issue description

Currently, 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. 
 
Note: we might want to add tests including special content in their WebView (such as selection handles).
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).
Labels: OS-Android
Owner: ----
Status: Available (was: Assigned)
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.
Project Member

Comment 4 by sheriffbot@chromium.org, Jun 15 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
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
Labels: -Type-Bug Type-Feature
Status: Available (was: Untriaged)
It sounds like WebView wouldn't currently pass this test? Presentation support could be a minor project.
IIRC Tima/Bo fixed the implementation for this a while back.

Sign in to add a comment