mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
![]() 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. :^) |
||
---|---|---|
.. | ||
WrapperGenerator | ||
CMakeLists.txt | ||
Generate_CSS_MediaFeatureID_cpp.cpp | ||
Generate_CSS_MediaFeatureID_h.cpp | ||
Generate_CSS_PropertyID_cpp.cpp | ||
Generate_CSS_PropertyID_h.cpp | ||
Generate_CSS_ValueID_cpp.cpp | ||
Generate_CSS_ValueID_h.cpp | ||
GeneratorUtil.h |