1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:57:42 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators
Andreas Kling 8c88ee1165 LibWeb: Only invalidate stacking context tree for opacity/z-index change
I came across some websites that change an elements CSS "opacity" in
their :hover selectors. That caused us to relayout on hover, which we'd
like to avoid.

With this patch, we now check if a property only affects the stacking
context tree, and if nothing layout-affecting has changed, we only
invalidate the stacking context tree, causing it to be rebuilt on next
paint or hit test.

This makes :hover { opacity: ... } rules much faster. :^)
2022-03-21 13:03:33 +01:00
..
IPCCompiler IPCCompiler: Don't loop endlessly on nameless parameters 2022-01-29 12:44:15 +01:00
LibEDID Meta+LibEDID: Download and generate the PNP ID database 2022-01-23 22:45:21 +00:00
LibTimeZone Everywhere: Deduplicate day/month name constants 2022-03-18 23:48:50 +00:00
LibUnicode LibUnicode: Use BCP 47 data to filter valid calendar names 2022-02-16 07:23:07 -05:00
LibWeb LibWeb: Only invalidate stacking context tree for opacity/z-index change 2022-03-21 13:03:33 +01:00
StateMachineGenerator AK: Standardize the behaviour of GenericLexer::consume_until overloads 2022-01-25 13:41:09 +03:30
CMakeLists.txt Meta+LibEDID: Download and generate the PNP ID database 2022-01-23 22:45:21 +00:00