you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 6 months ago (1 child)

So you're going to make it illegal to call getBoundingClientRect and then pass that information to fetch through any mechanism?

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 6 months ago*

    Essentially yes. Basically, think of two JS sandboxes that can manipulate the same DOM. One can make requests, but cannot retrieve local layout data. The other can get layout data, but not make requests. Both can set layout data.

    Web developers can use the former 99% of the time, and the latter for more precise work.

  • source
  • parent