script: Don't dirty with ContentOrHeritage damage when changing state#40902
script: Don't dirty with ContentOrHeritage damage when changing state#40902Loirooriol merged 1 commit intoservo:mainfrom
Conversation
|
🔨 Triggering try run (#19708923336) for Linux (WPT) |
|
Test results for linux-wpt from try job (#19708923336): Flaky unexpected result (30)
Stable unexpected results that are known to be intermittent (26)
Stable unexpected results (5)
|
|
|
779b1fb to
917a65e
Compare
|
🔨 Triggering try run (#19763220592) for Linux (WPT) |
|
|
|
917a65e to
0fce6f0
Compare
|
🔨 Triggering try run (#19764038741) for Linux (WPT) |
0fce6f0 to
818c1f4
Compare
|
🔨 Triggering try run (#19764347510) for Linux (WPT) |
|
Test results for linux-wpt from try job (#19764347510): Flaky unexpected result (28)
Stable unexpected results that are known to be intermittent (30)
|
|
✨ Try run (#19764347510) succeeded. |
72a836b to
015d0b3
Compare
015d0b3 to
121b654
Compare
|
🔨 Triggering try run (#19830313896) for Linux (WPT) |
|
Test results for linux-wpt from try job (#19830313896): Flaky unexpected result (31)
Stable unexpected results that are known to be intermittent (30)
Stable unexpected results (6)
|
|
|
When for example changing the hover state of an element, we were dirtying it with ContentOrHeritage damage, which forced it to be laid out again. This was added in servo#39102 in order to fix servo#38989, but it's no longer needed. Co-authored-by: Martin Robinson <[email protected]> Signed-off-by: Oriol Brufau <[email protected]>
121b654 to
d72e23e
Compare
|
🔨 Triggering try run (#19843150064) for Linux (WPT) |
|
Test results for linux-wpt from try job (#19843150064): Flaky unexpected result (28)
Stable unexpected results that are known to be intermittent (25)
|
|
✨ Try run (#19843150064) succeeded. |
When for example changing the hover state of an element, we were dirtying it with ContentOrHeritage damage, which forced it to be laid out again.
This was added in #39102 in order to fix #38989, but for the most part it's no longer needed.
However, we will now dirty when a
<textarea>or<input>which can be selected gets or loses focus. This is to ensure that the caret or selections get correctly updated.Testing: Manually tested that #38989 is not regressing