Open
Bug 1526960
Opened 5 years ago
Updated 1 year ago
Do not keep a reference to ComputedStyle in nsDisplayBackgroundColor and nsDisplayBackgroundImage
Categories
(Core :: Web Painting, enhancement, P2)
Core
Web Painting
Tracking
()
NEW
People
(Reporter: mikokm, Unassigned)
References
(Blocks 1 open bug)
Details
For nsDisplayBackgroundColor we only seem to use mBackgroundStyle->StyleBackground()->mImage.mLayers[0].mClip, which is an enum.
(In reply to Miko Mynttinen [:miko] from comment #0)
For nsDisplayBackgroundColor we only seem to use mBackgroundStyle->StyleBackground()->mImage.mLayers[0].mClip, which is an enum.
nsDisplayBackgroundColor::GetOpaqueRegion()
uses mBackgroundStyle->StyleBackground()->BottomLayer().mClip
AKA BackgroundStyle->StyleBackground()->mImage.mLayers[mImageCount - 1].mClip
at nsDisplayList.cpp:4706
Updated•5 years ago
|
Priority: P1 → P2
Reporter | ||
Updated•3 years ago
|
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•