* Return if present or just the document element. * @param {!Document} doc * @return {!Element}
(doc)
| 205 | * @return {!Element} |
| 206 | */ |
| 207 | function getHeadOrFallback(doc) { |
| 208 | return doc.head || doc.documentElement; |
| 209 | } |
| 210 | |
| 211 | /** |
| 212 | * Returns info about an ancestor that can perform A2A navigations |
no outgoing calls
no test coverage detected