LibWeb: Note what's causing a style invalidation to happen

You can now build with STYLE_INVALIDATION_DEBUG and get a debug stream
of reasons why style invalidations are happening and where.

I've rewritten this code many times, so instead of throwing it away once
again, I figured we should at least have it behind a flag.
This commit is contained in:
Andreas Kling
2024-09-04 10:01:08 +02:00
committed by Andreas Kling
parent 1f5c49f40d
commit ddbfac38b0
20 changed files with 92 additions and 38 deletions

View File

@@ -52,6 +52,7 @@ set(RESOURCE_DEBUG ON)
set(RSA_PARSE_DEBUG ON)
set(SHARED_QUEUE_DEBUG ON)
set(SPAM_DEBUG ON)
set(STYLE_INVALIDATION_DEBUG ON)
set(SYNTAX_HIGHLIGHTING_DEBUG ON)
set(TEXTEDITOR_DEBUG ON)
set(TIFF_DEBUG ON)