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 a7edd92c45)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user