Another plane could have just been slow getting off the runway--even the majority of the plane could have been off, but it's not until the entire aircraft is across the lines marking the runway boundary (which extend a fair amount onto a taxiway surface) that the runway is officially clear. The lines marking the boundary of the runway are two solid lines, then two dashed lines, with the dashed line on the runway side.