-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Investigate switching from AGENT to AUTHOR stylesheet registration #78
Comments
It should actually be
The given form appears backwards compatible, also. |
Now that Firefox 20 has been released and the necessary Mozilla feature has been in place for two public versions, do you think you could make a release using the new feature? I think it will enable creating styles customizing existing sites (and other content) much easier. |
Stylish for Firefox currently uses the AGENT sheet type. This has the benefit of being able to style things that other types can't, like scrollbars. As you mention, the downside is that you need !important otherwise you'll get beat by author sheets. Stylish used to use USER sheet type. This is arguably the correct type, as in it's what something like Stylish should do according to the spec. This can't style scrollbars, and also has the disadvantage of needing !important. You're proposing the AUTHOR sheet type. This also can't style scrollbars, but would not require !important in all cases (depending on the specificity). It would also match the behaviour on Chrome and Opera. There's some discussion of all this in http://forum.userstyles.org/discussion/36136/my-style-works-perfectly-in-chrome-but-not-in-firefox . One of the proposals is to switch the type depending on the content of the CSS. I'm not sure if this would be good or be adding a magical complication to everything. |
More discussion at https://bugzilla.mozilla.org/show_bug.cgi?id=541506 |
Do you think adding a setting to use AUTHOR instead AGENT (default) per style (for example, a check-box in the "Editing" window) would be acceptable? |
Users can include |
Added in https://bugzilla.mozilla.org/show_bug.cgi?id=676054
The text was updated successfully, but these errors were encountered: