Skip to main content
100%

Gist 155909

✓ Published0🌍 Public
XXXX
Last edited Jul 26, 2009
Created on Jul 26, 2009

A Processing.js sketch embedded in a page renders a single line of code, `int x_axis = 755;`, but the browser’s HTML parser moves the submit button outside its intended form and inserts a stray `0` into the form’s action. The example highlights a mismatch between the expected Processing canvas container and the actual DOM structure after script execution. It uses the `application/processing` script type with a `data-canvas_name` attribute, while the form submission markup relies on standard HTML `form` and `input` elements, revealing how script placement can disrupt document layout.

AI-generated description

Similar vizzes