mirror of
https://github.com/servo/servo.git
synced 2025-09-02 02:58:22 +01:00
layout: Correctly marking box damage when text-related style changed (#38059)
This change aims to supplement the missing incremental box tree construction when text-related styles change. Since certain text style adjustments can alter visible text content and typography. Therefore, the parent nodes of such text are marked as needing to re-collect their box tree children to ensure the correct display of text. Signed-off-by: sharpshooter_pt <ibluegalaxy_taoj@163.com>
This commit is contained in:
parent
d678901122
commit
9ef4d0c9d7
4 changed files with 92 additions and 0 deletions
17
tests/wpt/meta/MANIFEST.json
vendored
17
tests/wpt/meta/MANIFEST.json
vendored
|
@ -271423,6 +271423,19 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"pre-001.html": [
|
||||
"0e3e1e38c7293303d7cf07c0e64facfa76ba966d",
|
||||
[
|
||||
null,
|
||||
[
|
||||
[
|
||||
"/css/css-text/white-space/reference/pre-001-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"pre-float-001.html": [
|
||||
"8dd08d80992e6d6310a6697f84c2533d399c8e5e",
|
||||
[
|
||||
|
@ -453875,6 +453888,10 @@
|
|||
"644dfc4b025e62babeddd3575af5ffee40c77e26",
|
||||
[]
|
||||
],
|
||||
"pre-001-ref.html": [
|
||||
"e950bbbc4960c650cd08b2532e6b0a3309ca5ffb",
|
||||
[]
|
||||
],
|
||||
"pre-float-001-ref.html": [
|
||||
"9753cb37b641f3f25d1045f3149875deffb1613c",
|
||||
[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue