You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the style file in question, with 27,000+ lines, and many inexplicable bugs often appear. Have you ever done any testing? How many lines of the file are the edge cases of stress? a.zip
The beautifier is outdated and since I don't use it myself I'm not interested in fixing it. If you can find a better one that's also small I would try to hook it up, otherwise maybe it's time to just remove this button.
@tophf I reckon keep the beautifier. With indent moz document on it works for my css and I can manually remove the moz document indentation myself after. It's still more useful than it is broken in my opinion
@TommyChen-orz, the CSS file you've attached has bugs in its structure e.g. family-name is declared outside of selector group right under @-moz-document which is invalid CSS, there are many selectors outside of @-moz-document which means they apply globally to all pages, there are also many @-moz-document incorrectly nested inside another @-moz-document. I guess our dumb beautifier gets conflicted feelings like Boulder. Also the built-in editor is not really suited for such big styles, better use a proper IDE + live reload.
@TommyChen-orz, the CSS file you've attached has bugs in its structure e.g. family-name is declared outside of selector group right under @-moz-document which is invalid CSS, there are many selectors outside of @-moz-document which means they apply globally to all pages, there are also many @-moz-document incorrectly nested inside another @-moz-document. I guess our dumb beautifier gets conflicted feelings like Boulder. Also the built-in editor is not really suited for such big styles, better use a proper IDE + live reload.
The global styles written are intentional, because they are used in conjunction with other browser plug-ins. Those browser plug-ins are applied to all web pages, so the styles are written outside @-moz-document. Moreover, styles written outside @-moz-document also work. It turns out that this is not a reasonable function. I thought it was the writing method allowed by stylus by default... (The thing about "If the code can run, don’t change it" happened again LOL)
Activity
TommyChen-orz commentedon Jun 15, 2026
This is the style file in question, with 27,000+ lines, and many inexplicable bugs often appear. Have you ever done any testing? How many lines of the file are the edge cases of stress?
a.zip
tophf commentedon Jun 15, 2026
The beautifier is outdated and since I don't use it myself I'm not interested in fixing it. If you can find a better one that's also small I would try to hook it up, otherwise maybe it's time to just remove this button.
joes-mama commentedon Jul 8, 2026
@tophf I reckon keep the beautifier. With indent moz document on it works for my css and I can manually remove the moz document indentation myself after. It's still more useful than it is broken in my opinion
tophf commentedon Jul 29, 2026
@TommyChen-orz, the CSS file you've attached has bugs in its structure e.g. family-name is declared outside of selector group right under
@-moz-documentwhich is invalid CSS, there are many selectors outside of@-moz-documentwhich means they apply globally to all pages, there are also many@-moz-documentincorrectly nested inside another@-moz-document. I guess our dumb beautifier gets conflicted feelings like Boulder. Also the built-in editor is not really suited for such big styles, better use a proper IDE + live reload.TommyChen-orz commentedon Jul 30, 2026
The global styles written are intentional, because they are used in conjunction with other browser plug-ins. Those browser plug-ins are applied to all web pages, so the styles are written outside @-moz-document. Moreover, styles written outside @-moz-document also work. It turns out that this is not a reasonable function. I thought it was the writing method allowed by stylus by default... (The thing about "If the code can run, don’t change it" happened again LOL)