forked from openkylin/platform_build
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:
parent
fc61720cd5
commit
a7edd92c45
|
@ -4217,7 +4217,7 @@ EndColorStr='#ececec');
|
|||
}
|
||||
|
||||
/* offset the <a name=""> tags to account for sticky nav */
|
||||
body.reference a[name] {
|
||||
body.reference a[name]:empty {
|
||||
visibility: hidden;
|
||||
display: block;
|
||||
position: relative;
|
||||
|
|
|
@ -3322,20 +3322,18 @@ table.jd-tagtable th {
|
|||
display: none;
|
||||
}
|
||||
|
||||
/* offset the <a name=""> tags to account for sticky nav */
|
||||
body.reference a[name]:not(.nav-start-marker) {
|
||||
/* offset the empty <a name=""> tags to account for sticky nav */
|
||||
body.reference a[name]:not(.nav-start-marker):empty {
|
||||
visibility: hidden;
|
||||
display: block;
|
||||
position: relative;
|
||||
top: -56px;
|
||||
|
||||
}
|
||||
|
||||
.nav-start-marker {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
|
||||
/* Quicknav */
|
||||
.btn-quicknav {
|
||||
width:20px;
|
||||
|
|
Loading…
Reference in New Issue