-
Bug
-
Resolution: Fixed
-
P3
-
1.3.1, 1.4.0
-
mantis
-
generic, x86
-
other, linux_redhat_7.2, windows_2000
Name: boT120536 Date: 02/20/2001
java version "1.3.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-beta-b15)
Java HotSpot(TM) Client VM (build 1.3.1beta-b15, mixed mode)
Java Source Code (Empty.java):
public class Empty { }
Steps to Reproduce:
javadoc Empty
The generated stylesheet.css file contains the lines:
.FrameTitleFont { font-size: normal; font-family: normal }
.FrameHeadingFont { font-size: normal; font-family: normal }
.FrameItemFont { font-size: normal; font-family: normal }
These lines generate the following errors when run through the W3C CSS
validator (http://jigsaw.w3.org/css-validator/):
Line: 14 Context : .FrameTitleFont Invalid number : font-size
normal is not a font-size value : normal
Line: 15 Context : .FrameHeadingFont Invalid number : font-size
normal is not a font-size value : normal
Line: 16 Context : .FrameItemFont Invalid number : font-size
normal is not a font-size value : normal
(Review ID: 117336)
======================================================================
Another submitter:
http://java.sun.com/j2se/1.3/docs/api/stylesheet.css references
font-family: normal in several styles. This is not correct per
w3c spec since normal is not a keyword.
I recently added fonts to my system including one named
"normal" which this stylesheet causes to be used in the javadoc
left-hand frames. It is a large and whimsically styled font family
which is quite annoying in this context.
Perhaps this should have been
font-style: normal
instead. But in any case please leave off the
font-family specification to allow it to default instead of
specifying "normal".
###@###.###
java version "1.3.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-beta-b15)
Java HotSpot(TM) Client VM (build 1.3.1beta-b15, mixed mode)
Java Source Code (Empty.java):
public class Empty { }
Steps to Reproduce:
javadoc Empty
The generated stylesheet.css file contains the lines:
.FrameTitleFont { font-size: normal; font-family: normal }
.FrameHeadingFont { font-size: normal; font-family: normal }
.FrameItemFont { font-size: normal; font-family: normal }
These lines generate the following errors when run through the W3C CSS
validator (http://jigsaw.w3.org/css-validator/):
Line: 14 Context : .FrameTitleFont Invalid number : font-size
normal is not a font-size value : normal
Line: 15 Context : .FrameHeadingFont Invalid number : font-size
normal is not a font-size value : normal
Line: 16 Context : .FrameItemFont Invalid number : font-size
normal is not a font-size value : normal
(Review ID: 117336)
======================================================================
Another submitter:
http://java.sun.com/j2se/1.3/docs/api/stylesheet.css references
font-family: normal in several styles. This is not correct per
w3c spec since normal is not a keyword.
I recently added fonts to my system including one named
"normal" which this stylesheet causes to be used in the javadoc
left-hand frames. It is a large and whimsically styled font family
which is quite annoying in this context.
Perhaps this should have been
font-style: normal
instead. But in any case please leave off the
font-family specification to allow it to default instead of
specifying "normal".
###@###.###
- duplicates
-
JDK-4737182 stddoclet: Creates invalid stylesheet.css file (10pts, san-serif)
-
- Closed
-
-
JDK-4826032 Possible typos in standard Javadoc stylesheet
-
- Closed
-