Y
Hacker News
new
|
ask
|
show
|
jobs
by
bijection
337 days ago
I was just starting a comment on this but you beat me to it! I believe
contain: strict;
on the parent element would have been sufficient here.
1 comments
webstrand
337 days ago
I tested `contain: strict` on their color changing SVG and didn't see any difference. Profiler says it's still doing layout.
link
DrammBA
336 days ago
You tried the fix for height recalculation on the SVG that is changing fill and stroke and it didn't fix the issue? I wonder why
link
jonny_eh
336 days ago
A lot of armchair suggestions here, but no benchmarks provided. Thanks for actually testing!
link