-
Notifications
You must be signed in to change notification settings - Fork 136
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
Maximum style length? #25
Comments
@silverwind did you tried to disable css minification in Stylish settings already? |
Yes, it's disabled and I reinstalled the style multiple times with that setting. |
As i can see - complete style injected without any problems and complete style availabe to edit and update, so, should be a problem in style itself. |
Do you know if there is there a debug console in Safari that points out CSS errors in user styles? |
|
Sorry, meant to post this better example: .topic-tag { background: #182030 !important; } |
Still trying to find the cause, but I guess it's not an issue with the extension. Maybe a unquoted data-uri or something similar is throwing off Safari's parser. |
Try latest version 1.9.8 and report back please. |
It works! I had to reinstall the style two times, but now everything is fine. |
cool, i guess problem was in minification and way to check this option status, so, enjoy 😀 I will resubmit this version ASAP to Apple |
Nice. The issue was looking like a section in the middle of the style was "invisible" to Safari, really weird. Which minfier (and options) are you using? I can recommend https://github.com/jakubpawlowicz/clean-css btw :) |
YUI Compressor |
Is it possible that there is a limit on how big a user stylesheet can be in bytes/lines? I'm observing that certain rules from http://userstyles.org/styles/37035 are not being applied with this extension, for example this rule (currently on line 1440 of the style):
When I manually move the rule to the beginning of the style, it is applied correctly. Same rules work in Stylish for Chrome and Firefox (These are the topic tags on Github repos like https://github.com/StylishThemes/GitHub-Dark).
I thought that another explanation could be that something might throwing off Safari's CSS parser,but I'm not seeing anything logged in the browser console at least.
The text was updated successfully, but these errors were encountered: