Open Bug 372178 Opened 17 years ago Updated 2 years ago

font-size-adjust allows minimum font size prefs to be defeated

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

People

(Reporter: dbaron, Unassigned)

Details

The font-size-adjust property allows minimum font size prefs to be defeated.  

Steps to reproduce:
 1. set a reasonably large minimum font size in preferences
 2. load attachment 256834 [details]
 3. look at the second paragraph

Expected results:  The first "Text" in the second paragraph equals the minimum font size.

Actual results:  The first "Text" in the second paragraph is larger than the minimum font size.
Version: 1.8 Branch → Trunk
QA Contact: ian → style-system
> Actual results:  The first "Text" in the second paragraph is larger than the
> minimum font size.

I guess you've meant to say the first "Text" in the in the second paragraph is _smaller_ than the minimum font size, instead?

It would be nice if the minimum font size preference is implemented using a possibly hidden "font.minimum-size-adjust.*" preference accepting the same values as the CSS 'font-size-adjust'.  It would default to 'none' but specifying an aspect value matching the default user font would adjust the effective minimum of author specified fonts which possibly have different aspect values.
Assignee: dbaron → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.