extensions/html-language-features/server/src/utils/positions.ts/beforeOrSame
export function beforeOrSame(p1: Position, p2: Position) {
	return p1.line < p2.line || p1.line === p2.line && p1.character <= p2.character;
}