New issue
Advanced search Search tips
Starred by 1 user

Issue metadata

Status: Fixed
Closed: Aug 2017
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature

issue 563816

Sign in to add a comment

Resizing an OffscreenCanvas must propagate completely to the placeholder canvas

Project Member Reported by, Aug 11 2017

Issue description

When an OffscreenCanvas created with transferControlToOffscreen() is resized and committed, it changes the intrinsic size of the placeholder canvas, which should affect the layout of the canvas element (if size is set to 'auto')

Currently, the layout does not change

Test URL:

Comment 1 by, Aug 11 2017

Labels: -Type-Bug Type-Feature
Project Member

Comment 2 by, Aug 21 2017

The following revision refers to this bug:

commit 08a150acae681dfa3abe9908919cdeea3b2416ce
Author: Justin Novosad <>
Date: Mon Aug 21 23:39:08 2017

Fix OffscreenCanvas resizing behavior

This change ensures that the width and height attributes of
a placeholder canvas reflect the size of frames committed
on the OffscreenCanvas. Also, an exception is thrown if
an attempt is made to set a size attribute on a placeholder

BUG= 754733 ,  754736

Change-Id: I6ec4296df5f8d47e22753e40e91eee616a3f9399
Reviewed-by: Justin Novosad <>
Reviewed-by: Xida Chen <>
Commit-Queue: Justin Novosad <>
Cr-Commit-Position: refs/heads/master@{#496120}

Comment 3 by, Aug 28 2017

Status: Fixed (was: Assigned)

Sign in to add a comment