The default bug view has changed. See this FAQ.

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

RESOLVED INVALID

Status

()

Core
Layout: Form Controls
RESOLVED INVALID
10 years ago
10 years ago

People

(Reporter: romaxa, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
Created attachment 254385 [details]
Screenshot for google.fi

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.
(Reporter)

Comment 2

10 years ago
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...
(Reporter)

Comment 3

10 years ago
Found it here, nsThebesDeviceContext::GetSystemFont
(Reporter)

Comment 4

10 years ago
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
Last Resolved: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.