SVGのlineのx1,y1,x2,y2は、cssのselectorでは指定できない。 従って、el.setAttributeを使うしか無い。 el.x1.baseVal.value=...は、el.setAttribute("x1",...)より早い可能性がある。