Repository navigation
Commit 30cbeb6
committed
test(css): insert the cascade probe's root once both sheets are adopted
Reinserting the root before each read reloaded replaced elements between the
reads, so Firefox laid the document out at different heights for one sheet.
Building the tree detached and inserting it after the adoptions styles the
root afresh, which is what WebKit needed, and leaves the reads one layout.1 parent c37200b commit 30cbeb6
1 file changed
Lines changed: 5 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2199 | 2199 | | |
2200 | 2200 | | |
2201 | 2201 | | |
2202 | | - | |
2203 | 2202 | | |
2204 | 2203 | | |
2205 | 2204 | | |
| 2205 | + | |
2206 | 2206 | | |
2207 | 2207 | | |
2208 | 2208 | | |
| |||
2306 | 2306 | | |
2307 | 2307 | | |
2308 | 2308 | | |
2309 | | - | |
2310 | | - | |
2311 | | - | |
2312 | | - | |
2313 | | - | |
2314 | | - | |
2315 | | - | |
2316 | | - | |
2317 | | - | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
2318 | 2313 | | |
2319 | 2314 | | |
2320 | 2315 | | |
2321 | 2316 | | |
2322 | | - | |
2323 | 2317 | | |
2324 | 2318 | | |
2325 | 2319 | | |
| |||
0 commit comments