Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4bce2866 authored by Przemyslaw Szczepaniak's avatar Przemyslaw Szczepaniak
Browse files

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
(cherry picked from commit a7edd92c)
parent b0553ca6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -3209,7 +3209,7 @@ table.jd-tagtable th {
}

/* 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;
+6 −6
Original line number Diff line number Diff line
@@ -3822,8 +3822,8 @@ td.gsc-search-button {
  display: none;
}

/* offset the <a name=""> tags to account for sticky nav */
body.reference a[name] {
/* offset the empty <a name=""> tags to account for sticky nav */
body.reference a[name]:empty {
  visibility: hidden;
  display: block;
  position: relative;
+2 −3
Original line number Diff line number Diff line
@@ -3822,15 +3822,14 @@ td.gsc-search-button {
  display: none;
}

/* offset the <a name=""> tags to account for sticky nav */
body.reference a[name] {
/* offset the empty <a name=""> tags to account for sticky nav */
body.reference a[name]:empty {
  visibility: hidden;
  display: block;
  position: relative;
  top: -56px;
}


/* Quicknav */
.btn-quicknav {
  width:20px;