Fix for non-empty a[name] tags in openJdk based javadocs. am: a7edd92c45

am: ea14cfba0f

Change-Id: Ida650d1d4f8afc8eb05c1df4109fcb4f0ca5dbb1
This commit is contained in:
Przemyslaw Szczepaniak
2016-09-27 09:13:40 +00:00
committed by android-build-merger
2 changed files with 3 additions and 5 deletions

View File

@@ -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;

View File

@@ -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;