New issue
Advanced search Search tips

Issue 920221 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jan 10
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Examine Layout Performance

Project Member Reported by dtapu...@chromium.org, Jan 9

Issue description

Example:
https://github.com/dvoytenko/revamp/blob/master/examples/perf2.html

Are there multiple layouts?
Why toggling src more expensive than display:none?


 
Status: WontFix (was: Assigned)
Turns out setting removing an img src causes a shadow root to be added to the layout tree.

Workaround proposed to Dima to use a transparent image as the src instead of removing it altogether.

Attached proposed workaround file.
perf2.html
3.3 KB View Download

Sign in to add a comment