UserChrome-Tweaks icon indicating copy to clipboard operation
UserChrome-Tweaks copied to clipboard

Add an @-moz-document block to all styles

Open Timvde opened this issue 6 years ago • 3 comments

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

Timvde avatar Jan 26 '19 18:01 Timvde

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

Madis0 avatar Jan 28 '19 10:01 Madis0

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?

Timvde avatar Jan 30 '19 19:01 Timvde

What's the advantage of changing the comment section?

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

Madis0 avatar Jan 30 '19 19:01 Madis0