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

OffscreenCanvas size should be reflected in placeholder canvas size

Project Member Reported by, Aug 11 2017

Issue description

The width and height attributes of a placeholder canvas should reflect the width and height of the associated OffscreenCanvas, and they should become unwriteable after transferControlToOffscreen() is called.

Note: This behavior needs to be clarified in the spec.
Project Member

Comment 1 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 2 by, Aug 28 2017

Status: Fixed (was: Assigned)

Sign in to add a comment