Closed
Bug 284326
Opened 20 years ago
Closed 11 years ago
create pref for changing printed tab width
Categories
(Core :: Layout: Text and Fonts, enhancement)
Core
Layout: Text and Fonts
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bfults, Unassigned)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.5.6 (KHTML, like Gecko) Safari/125.12
Build Identifier:
Printed tabs ('\t') in Gecko are printed as 8 characters wide. For many this is a silly amount of spacing,
and in the spirit of tabs, there should be a user-configurable preference to set the desired width of
printed tabs.
Furthermore, I think that once such a preference has been created, it should default to 4, as 8 is just
overkill.
Reproducible: Always
Steps to Reproduce:What do other browsers do?
| Reporter | ||
Comment 2•20 years ago
|
||
Other browsers currently behave the same way that Gecko does. Lets make it better first and offer it up as part of a "Flexible Text Display Preferences" feature.
Comment 3•19 years ago
|
||
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
Comment 4•17 years ago
|
||
This would indeed be helpful, especially for browsing source code or patches.
Comment 5•13 years ago
|
||
This can currently be changed with CSS:
pre, textarea { -moz-tab-size: 4; }
(or use this style: http://userstyles.org/styles/48300/tabsizer )
Of course, a preference in about:config would be nice. Better yet would be if the default value were simply lowered.
Comment 6•13 years ago
|
||
The CSS2 spec says that tab stops should be at 8-character positions: http://www.w3.org/TR/CSS2/text.html#white-space-model CSS3 Text (WD) says that the initial value for tab-size should be 8 spaces: http://www.w3.org/TR/css3-text/#tab-size Given this, I don't think simply changing the default in Firefox (thus deviating from the published spec, and breaking interoperability with other browsers) is a good idea.
(-moz-)tab-size is already implemented.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•