New issue
Advanced search Search tips

Issue 779140 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

[LayoutTests] testRunner.setBackingScaleFactor require repaint to take effect

Project Member Reported by schenney@chromium.org, Oct 27 2017

Issue description

Chrome Version: trunk
OS: At least Windows

What steps will reproduce the problem?
(1) Try to use testRunner.setBackingScaleFactor and immediately end the test
(2) Note that the pixel result does not reflect the backing scale

What is the expected result?
testRunner.setBackingScaleFactor works without forcing a repaint

What happens instead?
Convoluted code is required to force a repaint. See LayoutTests/editing/caret/caret-painting-low-dpi.html

Other tests use setTimeout(0) and others seem to get it wrong entirely.

We need an easy to define and standard way to get this right.

 

Sign in to add a comment