cicatriz/htmltutor — Issue #7: Automatically generate assignments/constraints from a web page
Author: cicatriz
Created: 2012-01-03 20:01:37+00:00
State: open

The rough idea is to generate all possible constraints given the html. This can be tricky.

Consider:
```Hello, world```

- Write "Hello, world"
- Bold "world"

But this allows Hello, world, so it should have a third "Don't bold 'Hello, ' " (which might not actually be shown but should have some associated hint/warning)

Consider:
```

asdf

qwerty

```

Does this generate
- Make text "asdf" have margin 40px
- Make text "qwerty" have margin 20px
or
- Make a block with margin 20px containing "asdf" and "qwerty"
- Make text "asdf" with a margin 20px

(A difficult problem for assessment as well)