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

refactor: CSP-compliance part 3 #4153

Merged
merged 7 commits into from
Oct 22, 2021
Merged

refactor: CSP-compliance part 3 #4153

merged 7 commits into from
Oct 22, 2021

Conversation

vladitasev
Copy link
Contributor

@vladitasev vladitasev commented Oct 22, 2021

Make all test pages CSP-compliant

Part 1: #4144
Part 2: #4149
Part 3: #4153
Part 4: #4178

  • inline <style> tags extracted
  • inline style attributes extracted and replaced by classes (the names of the classes are automatically generated based on the name of the file - button1auto, button2auto, etc... and if an inline style is repeated, the class is reused)
  • for each test page a separate .css file is created and loaded with a <link>

@vladitasev vladitasev merged commit dba508a into master Oct 22, 2021
@vladitasev vladitasev deleted the make-test-pages-csp branch October 22, 2021 13:54
Todor-ads pushed a commit that referenced this pull request Oct 28, 2021
Todor-ads added a commit that referenced this pull request Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants