Closed
Bug 315732
Opened 20 years ago
Closed 20 years ago
Small-caps causes bold uppercase letters
Categories
(Core Graveyard :: GFX: Win32, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: mozilla, Unassigned)
References
(
URL
)
Details
Attachments
(2 files)
20051107 trunk
The following text displays with an initial capital that is bold while the rest of the text is normal:
<h1 style="font-variant:small-caps">Heading</h1>
Small-caps should not cause a capitalized letter to appear bold.
From the CSS 1 specification (5.2.4), and the CSS 2.1 specification (15.5):
"In a small-caps font the lower case letters look similar to the uppercase ones, but in a smaller size and with slightly different proportions."
Assignee: dbaron → win32
Component: Style System (CSS) → GFX: Win32
Comment 1•20 years ago
|
||
By definition, all H1 text is bold. Are you sure that this just isn't due to you using a different font that makes it seem more apparent?
URL: data:text/html,<h1 style="font-varian...
Comment 2•20 years ago
|
||
And for what it's worth, I see no obvious difference between the font-weight of the letters in your example, using today's trunk build on Windows and the testcase in the URL field.
Comment 3•20 years ago
|
||
All the letters should be bold. It's just that the small-caps ones are a smaller size and so you don't notice that they are bold. (This isn't a problem if you have a font installed that actually has a small-caps variant.)
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 4•20 years ago
|
||
That is not what is happening. Look at the test case.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
| Reporter | ||
Comment 5•20 years ago
|
||
| Reporter | ||
Comment 6•20 years ago
|
||
If it is only because everything is bold, then Gecko is still breaking the specs anyway. They state that the small-caps and capital letter should appear the same except for proportion.
| Reporter | ||
Comment 7•20 years ago
|
||
Still happens with a <p> tag also.
Comment 8•20 years ago
|
||
That's due to the characteristics of the font, it's not a Mozilla rendering issue. Try it out in Word or any other app if you don't believe me.
URL: data:text/html,<h1 style="font-varian... → data:text/html,<p style="font-family:...
Status: REOPENED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → INVALID
Comment 9•20 years ago
|
||
Also, the spec doesn't say "that the small-caps and capital letter should appear
the same except for proportion", it says "the lower case letters look similar to the uppercase ones, but in a smaller size and with slightly different proportions".
Updated•17 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•