Closed Bug 132381 Opened 23 years ago Closed 23 years ago

Text zoom doesn't work when font properties fully specified (e.g., 'font' shorthand property)

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: SC_LE, Assigned: dbaron)

References

()

Details

Attachments

(1 file)

Mozilla 0.9.9 {Build ID: 2002031104} on Windows98, seems to be platform independent If CSS' line-height is specified via the 'font' shorthand property, font: 110%/120% Arial; (font-size/line-height font-family) the text zoom doesn't work for that element. For other elements it works and font sizes set via prefs work.
This happens because setting "font" sets "font-size-adjust". For some reason, any value other than "inherit" for font-size-adjust disables text zoom on an element.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Hardware: PC → All
Um, ignore that. Just setting font-size-adjust is no good. This actually happens any time all the font properties are fully specified (and yes, my build has the patch for bug 131454 in it).
Assignee: attinasi → dbaron
Component: Layout → Style System
QA Contact: petersen → ian
Summary: Text zoom doesn't work when line-height: specified in font shorthand property (font:) → Text zoom doesn't work when font properties fully specified
Target Milestone: --- → mozilla1.0
bzbarsky: Why don't you let some terms in the summary a usual user would search for?
Summary: Text zoom doesn't work when font properties fully specified → Text zoom doesn't work when font properties fully specified (e.g., 'font' shorthand property)
Attached patch patchSplinter Review
My fix for bug 131454 wasn't quite enough. I need to do the same thing for percent.
Comment on attachment 78303 [details] [diff] [review] patch r= or sr=waterson, whichever helps.
Attachment #78303 - Flags: superreview+
*** Bug 136389 has been marked as a duplicate of this bug. ***
Comment on attachment 78303 [details] [diff] [review] patch r=hyatt
Attachment #78303 - Flags: review+
Checked in to trunk, 2002-04-10 20:29 PDT.
Fix checked in to MOZILLA_1_0_0_BRANCH 2002-04-13 08:40 PDT.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Was the fix also checked into the trunk or will someone make a different patch for the trunk or ...?
Oops... Fixed with {Build ID: 2002041217} on Win98
VERIFIED FIXED on trunk using http://www.ohrbelag.de/mozilla-bug-02.html
Status: RESOLVED → VERIFIED
adding fixed1.0.0 keyword (branch resolution). This bug has comments saying it was fixed on the 1.0 branch and a bonsai checkin comment that agrees. To verify the bug has been fixed on the 1.0 branch please replace the fixed1.0.0 keyword with verified1.0.0.
Keywords: fixed1.0.0
using http://www.ohrbelag.de/mozilla-bug-02.html testcase, verifeid fixed in buildID: 2002-05-22-1.0.0 branch on win2000 changing keyword fixed1.0.0 to verified1.0.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: