pH of 10−8MHCl is not 8 but it is less than 7 because in this case contribution of H+from water is not neglected.
Total H+=10−8 (from acid) +10−7 (from water) =10−8(1+10) =11×10−8M pH=−log[H+]=−log[11×10−8] =−[log11+log10−8] =−[1.0414−8] =6.9586≃6.96