ericabouaf / wireit

A javascript wiring library to create web wirable interfaces for dataflow applications, visual programming languages or graphical modeling.
http://neyric.github.io/wireit/docs/
Other
520 stars 90 forks source link

Adding a DOCTYPE causes problems with WireIt.Layer #5

Open ericabouaf opened 15 years ago

ericabouaf commented 15 years ago

Adding a DOCTYPE stops the layer from rendering properly - it ends up at the top of the screen. To see this problem, add any DOCTYPE to the "Spring model layout" example, which currently has this at the top of the document:

<?xml version="1.0" encoding="UTF-8"?>

If you replace that with, for example: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

The problem appears.

J.