Fix for non-empty a[name] tags in openJdk based javadocs.
openJdk based android javadoc contains <a name=... tags that are non-empty. Currently they are being hidden, causing badly formatted pages for some java.* classes (missing text and random whitespace blocks). This change makes the existing a[name] hiding rule apply only to empty tags. Test: make docs Bug: 31700998 Change-Id: Ifa75bbabe308d7aed0cce6165c1113e5a382a121
This commit is contained in:
@@ -4217,7 +4217,7 @@ EndColorStr='#ececec');
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* offset the <a name=""> tags to account for sticky nav */
|
/* offset the <a name=""> tags to account for sticky nav */
|
||||||
body.reference a[name] {
|
body.reference a[name]:empty {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@@ -3322,20 +3322,18 @@ table.jd-tagtable th {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* offset the <a name=""> tags to account for sticky nav */
|
/* offset the empty <a name=""> tags to account for sticky nav */
|
||||||
body.reference a[name]:not(.nav-start-marker) {
|
body.reference a[name]:not(.nav-start-marker):empty {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -56px;
|
top: -56px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-start-marker {
|
.nav-start-marker {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Quicknav */
|
/* Quicknav */
|
||||||
.btn-quicknav {
|
.btn-quicknav {
|
||||||
width:20px;
|
width:20px;
|
||||||
|
Reference in New Issue
Block a user