Closed
Bug 176340
Opened 23 years ago
Closed 23 years ago
font sizes are not the same
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: ezh, Unassigned)
References
()
Details
1. Load this page.
2. Look at the text after the codepage table.
3. the bold "�עמדמ רנטפעא" must be the same size as the second "�עמדמ רנטפעא".
In moz they are different.
moz 2002101708
Comment 1•23 years ago
|
||
From the page:
<font SIZE="5"><b>Этого шрифта</b></font> должен быть таким же как у
<font CLASS=large><b>Этого шрифта</b></font>
From the CSS:
.large {font-size: large;}
HTML 4:
size = cdata [CN]
Deprecated. This attribute sets the size of the font. Possible values:
* An integer between 1 and 7. This sets the font to some fixed size,
whose rendering depends on the user agent. Not all user agents may render all
seven sizes.
CSS1:
<absolute-size>
An <absolute-size> keyword is an index to a table of font sizes computed and
kept by the UA. Possible values are: [ xx-small | x-small | small | medium |
large | x-large | xx-large ]. On a computer screen a scaling factor of 1.5 is
suggested between adjacent indexes; if the 'medium' font is 10pt, the 'large'
font could be 15pt. Different media may need different scaling factors. Also,
the UA should take the quality and availability of fonts into account when
computing the table. The table may be different from one font family to another.
There's nothing saying that xx-small=1, ..., large=5, x-large=6, xx-large=7,
although that is what you would like, right?
I believe the scaling model is different in CSS, though.
![]() |
||
Comment 2•23 years ago
|
||
Actually, you should look at CSS2.1, not CSS1. This has a nice table at
http://www.w3.org/TR/CSS21/fonts.html#propdef-font-size that says that <font
size="5"> corresponds to "font-size: x-large".
Eugene, if you know the author of that page please let him know that his
testcase is completely bogus.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Updated•23 years ago
|
QA Contact: gerardok → madhur
You need to log in
before you can comment on or make changes to this bug.
Description
•