Timvde / UserChrome-Tweaks

A community maintained repository of userChrome.css tweaks for Firefox
GNU General Public License v3.0
1.25k stars 122 forks source link

Add an @-moz-document block to all styles #126

Open Timvde opened 5 years ago

Timvde commented 5 years ago

This makes the styles compatible with extension ssuch as reStyle and theoretically slightly improves performance, since styles are more narrowly applied.

Madis0 commented 5 years ago

I don't know how official that syntax is, but let's use the comment section as suggested by the reStyle author, also let's apply the namespace too - #127

Timvde commented 5 years ago

I'm first merging in some other styles, then fix everything in one go. That's probably less work than updating all the branches at once.

The namespace should be irrelevant when using @-moz-document blocks, and I'm not sure how multiple namespaces would interfere. What's the advantage of changing the comment section?

Madis0 commented 5 years ago

What's the advantage of changing the comment section?

reStyle compatibility, it would show them in a nice manager UI.