Closed Bug 698703 Opened 15 years ago Closed 15 years ago

Source Editor should display text with the user's preferred monospace font size

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 10

People

(Reporter: cedricv, Assigned: cedricv)

Details

(Whiteboard: [sourceeditor][orion])

Attachments

(1 file, 1 obsolete file)

SourceEditor currently uses a fixed size of 10pt on all platforms. It should probably rather use the user's preferred monospace font size (Preferences -> Content -> Fonts). It also helps to integrate SourceEditor with other browser UI.
Summary: SourcEditor should respect user's preferred monospace font size → SourcEditor should display text with the user's preferred monospace font size
Summary: SourcEditor should display text with the user's preferred monospace font size → Source Editor should display text with the user's preferred monospace font size
Whiteboard: [sourceeditor][orion]
Attachment #570954 - Flags: review?(mihai.sucan)
Comment on attachment 570954 [details] [diff] [review] Use preferred monospace font size Review of attachment 570954 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for your patch. r+ with the comment below addressed. (please rebase on top of the latest fx-team. thanks!) ::: browser/devtools/sourceeditor/orion/mozilla.css @@ +1,5 @@ > /* Any copyright is dedicated to the Public Domain. > http://creativecommons.org/publicdomain/zero/1.0/ */ > > +.viewContainer, > +.rulerTooltip { .rulerTooltip is unused. The ruler copies the styling of .viewContainer, so just setting font-size: inherit for .viewContainer is sufficient.
Attachment #570954 - Flags: review?(mihai.sucan) → review+
Whiteboard: [sourceeditor][orion] → [sourceeditor][orion][land-in-fx-team]
Comment on attachment 570961 [details] [diff] [review] v2, removed .rulerTooltip that got removed in recent Orion update >+ font-size: inherit; /* inherit browser's default monospace font size */ Replace the tab with two spaces.
Whiteboard: [sourceeditor][orion][land-in-fx-team] → [sourceeditor][orion][fixed-in-fx-team]
Target Milestone: --- → Firefox 10
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [sourceeditor][orion][fixed-in-fx-team] → [sourceeditor][orion]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: