New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 732934 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

LayoutBox::GetBackgroundPaintedExtent calls BackgroundImageGeometry::Calculate but just needs the dest rect

Project Member Reported by schenney@chromium.org, Jun 13 2017

Issue description

In LayoutBox::GetBackgroundPaintedExtent a BackgroundImageGeometry object is created and then BackgroundImageGeometry::Calculate is called, that does a while lot of work related to tile sizes and phases etc. But all that LayoutBox needs is the destination rect size, which does not depend on all of those calculations, probably.

Investigate if that is true and hence can be optimized.
 
Cc: trchen@chromium.org
Also try to address the TODO in BackgroundImageGeometry::FixedAttachmentPositioningArea, where this issue is preventing the use of GeometryMapper.

Sign in to add a comment