(node)
| 6045 | cur = container.firstChild |
| 6046 | |
| 6047 | function rm(node) { |
| 6048 | var next = node.nextSibling |
| 6049 | // Works around a throw-scroll bug in OS X Webkit |
| 6050 | if (webkit && mac && cm.display.currentWheelTarget == node) { |
| 6051 | node.style.display = "none" |
| 6052 | } else { |
| 6053 | node.parentNode.removeChild(node) |
| 6054 | } |
| 6055 | return next |
| 6056 | } |
| 6057 | |
| 6058 | var view = display.view, |
| 6059 | lineN = display.viewFrom |