Constructed stylesheets updated their rule lists, but adopted documents and shadow roots were not restyled when replace(), replaceSync(), or disabled-state changes modified the sheet. That left several CSSOM tests passing stale computed styles. Invalidate stylesheet owners after those updates so adopted sheets recompute promptly. Also set replace()-produced rules' parent stylesheet so non-import rules keep their stylesheet context. The imported baseURL test assumes a tuple origin, so move it to the HTTP fixture now that replaceSync() actually triggers a restyle. |
||
|---|---|---|
| .. | ||
| data | ||
| expected | ||
| input | ||