-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
fix: nested stylesheets should have absolute URLs #1533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Juice10
merged 15 commits into
rrweb-io:master
from
pendo-io:jn-correct-absolute-urls-for-nested-stylesheets
Jul 25, 2024
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
d685bc6
Replace relative URLs with absolute URLs when stringifying stylesheets
jeffdnguyen c6c0ee3
Add test to show desired behavior for imported stylesheets from seper…
jeffdnguyen f69e8f3
Add changeset
jeffdnguyen 27432e2
Rename `absoluteToStylesheet` to `absolutifyURLs` and call it once af…
jeffdnguyen 6ca68b8
Don't create the intermediary array of the spread operator
eoghanmurray ddebff5
Formalize that `stringifyRule` should expect a sheet href
eoghanmurray 04b3fc6
Ensure a <style> element can also import and gets it's url absolutized
eoghanmurray 0c0ceb9
Apply formatting changes
eoghanmurray f4bfd73
Handle case where non imported stylesheet has relative urls that need…
jeffdnguyen 72f6a68
Clarify in test files where jpegs are expected to appear in absolutif…
jeffdnguyen 772f64c
Movee absolutifyURLs call for import rules out of trycatch
jeffdnguyen 8edb9fa
Add a benchmarking test for stringifyStylesheet
eoghanmurray e4d1861
Avoid the duplication on how to fall back
eoghanmurray 74f3758
Add explanatory comment
eoghanmurray acf1cb9
Code style: more compact
eoghanmurray File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Ensure a <style> element can also import and gets it's url absolutized
- Loading branch information
commit 04b3fc69622b68478cc258985b5d66fe59abf754
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.