<!DOCTYPE html>
<script src="../resources/runner.js"></script>
<script src="./resources/utils.js"></script>
<style id=style>
</style>
<script>
const DECLARATIONS = 200;
const VALUE_LENGTH = 2000;

function makeStyle() {
  let declarations = [];

  let value = [...Array(VALUE_LENGTH).keys()].map(() => 'X').join(' ');

  for (let i = 0; i < DECLARATIONS; i++) {
    declarations.push(`background: invalid-thing-${i}(${value});`);
  }

  return `
    div {
      ${declarations.join('\n')}
    }
  `
}

let global