Closed
Bug 193098
Opened 22 years ago
Closed 21 years ago
font size changes with change of doctype
Categories
(Core :: Layout: Text and Fonts, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: michal-mozbug, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b; MultiZilla v1.1.33 (b)) Gecko/20030210
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b; MultiZilla v1.1.33 (b)) Gecko/20030210
Font sizes changed when we switch doctype of page from HTML 4.0 to HTML 4.01.
Demonstration
HTML 4.0:
http://michal.krause.cz/temp/mozilla/index1.html
Screenshot:
http://michal.krause.cz/temp/mozilla/mozilla1.png
HTML 4.01
http://michal.krause.cz/temp/mozilla/index2.html
Screenshot:
http://michal.krause.cz/temp/mozilla/mozilla2.png
(demonstration files will be removed when this bug will be closed)
Reproducible: Always
Steps to Reproduce:
Most likely this is because of some quirk. See
http://mozilla.org/docs/web-developer/quirks/ . The testcase is huge and I
don't have much interest in simplifying it to figure out which one, although I'd
guess it might have something to do with inheritance into tables.
Comment 2•22 years ago
|
||
Reporter: see if adding the styles described in
http://devedge.netscape.com/viewsource/2002/table-inherit/ to both testcases
makes them act consistently. If not, a reduced testcase (or two) would be
really helpful in figuring out what's going on.
Comment 3•22 years ago
|
||
David: IMHO is problem, that pages looks same in my 2003021208/trunk/W2K, but on
Linux is font-size different.
We will try to reduce testcase.
| Reporter | ||
Comment 4•22 years ago
|
||
It seems that problem doesn't directly depend on external styles. I reduced test
cases to simple plain HTML and there is still difference in rendering of them.
New test cases:
HTML 4.0
http://michal.krause.cz/temp/mozilla/simple1.html
HTML 4.01
http://michal.krause.cz/temp/mozilla/simple2.html
Screenshot
http://michal.krause.cz/temp/mozilla/mozilla_simple.png
Comment 5•22 years ago
|
||
Same with 20003021208/trunk/W2K.
I don't see any difference in font size between those two pages in the
screenshot, only in margins (a known quirk -- the top margin of the H3 is
becoming zero in quirks mode).
| Reporter | ||
Comment 7•22 years ago
|
||
You are right. So this means HTML 4.0 is rendered in quirks mode and 4.01 in
almost standard mode and this is probable cause of the original problem. But
it's strange that win build renders both complicated test cases with no visible
differences. We'll try to simplify original test cases.
Updated•22 years ago
|
Priority: -- → P3
Comment 8•21 years ago
|
||
URLs are 404. Michal Krause, do you have testcases that demonstrates the
problem (in Mozilla 1.7 or later)? If so, please attach them to the bug.
| Reporter | ||
Comment 9•21 years ago
|
||
It seems that problem is not reproducible in Mozilla 1.7.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•