Closed
Bug 511999
Opened 16 years ago
Closed 14 years ago
Background color does not adjust to varying font sizes in a contentEditable region
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: timmc, Unassigned)
Details
(Whiteboard: [CLOSEME 2011-1-30])
Attachments
(1 file)
|
543 bytes,
text/html
|
Details |
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Zune 3.0; MS-RTC LM 8; InfoPath.3)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
When a contentEdtiable region has varying font sizes, the background only applies to the smallest of the two fonts. The larger characters do not have full backgrounds.
Reproducible: Always
Steps to Reproduce:
1. Make a page with a contentEditable region
2. Enter markup with a constant background color but with varying font sizes (e.g. 12pt and 48pt)
Actual Results:
The background only covers up to the smaller of the fonts
Expected Results:
The background covers the text according to the text size.
Comment 2•15 years ago
|
||
This is not an issue with contentEditable.
If you remove contentEditable from your example, the red background still covers only the smaller font size. This is consistent with latest versions of Safari, Chrome, Opera, and also IE8 if you include a doctype.
Comment 3•14 years ago
|
||
Reporter, are you still seeing this issue with Firefox 3.6.13 or later in safe mode? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles
You can also try to reproduce in Firefox 4 Beta 8 or later, there are many improvements in the new version, http://www.mozilla.com/en-US/firefox/all-beta.html
Whiteboard: [CLOSEME 2011-1-30]
Comment 4•14 years ago
|
||
No reply, INCOMPLETE. Please retest with Firefox 3.6.13 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
Comment 5•14 years ago
|
||
Comment on attachment 395967 [details]
HTML file the demonstrates an inconsistent background
This is still a problem with 3.6.13 and 4.0b9.
Opera and Webkit also show the problem rendering.
IE behaves the way I would expect the rendering to work.
You need to log in
before you can comment on or make changes to this bug.
Description
•