diff options
author | Martin Robinson <mrobinson@igalia.com> | 2025-05-12 19:03:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-12 17:03:50 +0000 |
commit | 8808f9a4688cd63ad772f9658d581dc364ece0c8 (patch) | |
tree | a860ce1d00307562758286a4a3635499d91c4cca /tests/wpt/css-tests/css-ui-3_dev/html/support/nav-left-012-frame.html | |
parent | 51fa6cdcb674c68984c5636b5e9baf6f408b55c9 (diff) | |
download | servo-main.tar.gz servo-main.zip |
This change adds the simplest kind of incremental layout. When Servo
detects that all style changes only require a repaint, only run stacking
context tree and WebRender display list generation. This means that
these kind of restyles do not need a re-layout. Instead, the existing
box and fragment trees will be used and the styles of damaged nodes will
be updated in their box and fragment tree nodes.
This requires a new style repair DOM traversal for nodes that have had
their style damaged. In addition, careful accounting of all the places
where we store style must happen in order ot update those styles.
Testing: This is covered by existing WPT tests as it should not change
observable behavior.
We have created a test case which shows a 50% speedup when run
in Servo, even though there still a long way to go to match the speed
of other browsers:
https://gist.github.com/mrobinson/44ec87d028c0198917a7715a06dd98a0
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'tests/wpt/css-tests/css-ui-3_dev/html/support/nav-left-012-frame.html')
0 files changed, 0 insertions, 0 deletions