| Summary: | Use correct urls in PageSerializer for CSS imports | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | bfulgham, ntim, rniwa, simon.fraser, thorton, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Ahmad Saleem
2022-11-13 04:16:16 PST
In Line 255, changing from: URL importURL = document->completeURL(importRule.href()); to URL importURL = URL(document->styleSheet.baseURL(), importRule.href()); or something else. ASSERT(styleSheet->baseURL().isValid()); URL importURL = URL(styleSheet->baseURL(), importRule.href()); ^ This will compile this based on the patch but I looked into WPT whether it will have any passes but it seems there is none. :-( Do we want to merge this? It's probably still relevant but we do need to add a test case for sure. |