Skip to content
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

REPLAY-1075: Resolve relative URLS to absolute in stylesheets #1792

Merged

Conversation

N-Boutaib
Copy link
Contributor

Motivation

Resolve relative urls to absolute in CSS Style Sheets in order to properly fetch resource by the player

Changes

Extracting cssRules from a style sheet and converting them to text, switch absolute urls to relative ones based on the attribute href of the style sheet.

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@N-Boutaib N-Boutaib requested review from a team as code owners October 25, 2022 13:05
@N-Boutaib N-Boutaib self-assigned this Oct 25, 2022
@N-Boutaib N-Boutaib requested a review from bcaudan October 27, 2022 13:12
@N-Boutaib N-Boutaib merged commit a7f2d32 into main Oct 28, 2022
@N-Boutaib N-Boutaib deleted the najib.boutaib/REPLAY-1075-keep-remote-css-href-attribute branch October 28, 2022 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants