Closed Bug 132953 Opened 23 years ago Closed 23 years ago

[RR][ABS POS]monospace font size gets reset when background color changes

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
trivial

Tracking

()

RESOLVED DUPLICATE of bug 88154

People

(Reporter: lordhadez, Assigned: dbaron)

References

()

Details

Attachments

(2 files)

I'm writing a set of JavaScripts that I call "JavaScript User Interfaces" (jsui.sf.net) which allow dynamic changing of their themes. The bug I'm seeing is inside CSS-P layers which, upon theme change, change their background color. Immediately inside the <BODY> tag i call "jsui.init()" which has this line inside it: "document.body.style.fontSize='16px';". When the page loads the font sizes of all the layers are the correct size, but when all the layers update their backgrounds to reflect the new theme the font displays in a smaller font size. Steps to reproduce: 1) Visit http://jsui.sf.net/ 2) Click the top left DHTML "button", entitled "Main Menu (regular)" 3) Select "Alternate Themes" from the menu that is popped up 4) Click on any of the 4 themes loaded 5) Watch as all the monospace text in any CSS-P layer shrinks. (ie: button text, tooltip text, popup menu text) -Faithful
seeing this on Linux too... A smaller testcase would be really nice... Reporter, do you think you can try to remove as much as possible from the testcase?
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
Text outside the layer also becomes unselectable.
Apparently it isn't the layer background changing that causes the fontsize to shrink, but the document background changing. Same bug though. -Faithful PS sorry for the 3 consecutive updates/emails
Thanks for the testcase! David, is this another [RR] bug?
Yep. It also happens on theme changes.
Assignee: jst → dbaron
Component: DOM Style → Style System
Summary: monospace font size gets reset when background color changes → [RR]monospace font size gets reset when background color changes
Summary: [RR]monospace font size gets reset when background color changes → [RR][ABS POS]monospace font size gets reset when background color changes
I have a fix for this. *** This bug has been marked as a duplicate of 88154 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: