* Helper function to create a line element for the overflow element * @param {!Window} global The window object of the iframe * @return {!Element}
(global)
| 336 | * @return {!Element} |
| 337 | */ |
| 338 | function getOverflowLine(global) { |
| 339 | const line = global.document.createElement('div'); |
| 340 | setStyles(line, { |
| 341 | background: 'rgba(0,0,0,.16)', |
| 342 | height: '1px', |
| 343 | }); |
| 344 | return line; |
| 345 | } |
| 346 | |
| 347 | /** |
| 348 | * Helper function to create a chevron element for the overflow element |
no test coverage detected