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

The white-space attr will be removed after saving in Safari #1462

Open
tianzhich opened this issue May 23, 2024 · 3 comments
Open

The white-space attr will be removed after saving in Safari #1462

tianzhich opened this issue May 23, 2024 · 3 comments

Comments

@tianzhich
Copy link

Describe the bug
Some websites saved in Safari may have styling issues because the white-space attribute in the saved stylesheet is removed. This problem does not occur in Chrome but does in Safari. For example, it happens on this website.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the website in Safari
  2. Click on SingleFile icon and save the page
  3. Open the page
  4. See error

Expected behavior
The page should display correctly without style issues caused by missing white-space.

Screenshots
Saved in Chrome:
image

Saved in Safari:
image

Environment

  • OS: [MacOS 14.1 (23B74)]
  • Browser
    • Chrome 124.0.6367.208 (Official Build) (arm64)
    • Safari 17.1 (19616.2.9.11.7)
@gildas-lormeau
Copy link
Owner

Thank you for the report. Unfortunately, I cannot reproduce it. Here is a screenshot of the saved page displayed in Safari below. I've also attached the saved page in the zip file.

image

Big O Insights - DeriveIt (27_05_2024 15_26_23).html.zip

@tianzhich
Copy link
Author

This is so strange, what are your Safari version and MacOS version?

@gildas-lormeau
Copy link
Owner

I'm using Safari 17.4.1 on macOS 14.4.1.

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

No branches or pull requests

2 participants