Closed Bug 369684 Opened 17 years ago Closed 17 years ago

layout.css.dpi=200 not affected properly on form control elements.

Categories

(Core :: Layout: Form Controls, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: romaxa, Unassigned)

References

()

Details

Attachments

(1 file)

Open seamonkey, with new "Fixed Units" -> about:config -> layout.css.dpi=200

Load google.fi or next URL
data:text/html,<input  value="Simple Button" type=submit><input type=submit style="width:120; height:30;font-size:16;" value="styled button">

See screenshot in attachment.
CSS.DPI property does not applied properly for form elements without style.
You mean the font?  That's a system font -- it's measured in device pixels, and hence unaffected by the DPI setting.
Hmmm... yep... On X server with real dpi = 200 it works ok...

But is it possible somehow override it? I want to do full emulation of DPI change...
Found it here, nsThebesDeviceContext::GetSystemFont
hmm.. ok if  we will suppose to fix Bug 4821, by using DPI scaling... then we should somehow use override Real system font DPI..., but now it probably invalid. or wontfix ;)
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: