Bodil Stokke
bf3f5a4e2a
Add missing attributes to video element.
...
Closes #32 .
2019-03-16 21:39:45 +00:00
Bodil Stokke
f628e63e63
Revert accidental de-Booling and add missing <input> attrs.
2019-03-16 20:59:14 +00:00
Bodil Stokke
dbb4ba8738
2018 edition.
2019-03-15 23:37:20 +00:00
Bodil Stokke
eb1174ae97
Stop rustc complaining about non-camel case types.
2019-01-17 12:56:41 +00:00
lunchhunter
c2584878a5
Fix `data-` prefix duplication
...
The `data-` prefix is being duplicated, such that `data-foo="bar"` is
being rendered as `data-data-foo="bar"`.
This change removes the prefix at the `Element` level, and leaves its
addition at the `Display` level, causing it to be rendered correctly.
2018-12-04 16:23:03 -08:00
Richard Dodd (dodj)
d87c9f81b1
Change `nav` to contain flow content -
...
I'm pretty sure you should be able to do
```html
<nav>
<ol>
<li>Test</li>
</ol>
</nav>
```
2018-11-29 20:10:40 +00:00
Bodil Stokke
270e3b52e1
Implement IntoIterator for all marker traits.
...
Further closes #12 .
2018-11-29 16:37:07 +00:00
Jonathan Kingston
b74e8e5bc1
Handle bool attributes. Fixes #13
2018-11-24 13:21:41 +00:00
Bodil Stokke
2c53d5d2ca
Implement Metadata + HTTPEquiv types for meta elements.
2018-11-17 21:49:38 +00:00
Bodil Stokke
001a7ba016
Parameterise nodes etc on output type, so we can type event handlers based on it.
...
With this, Node<String> only accepts event handlers implemented
for String, etc. No danger of trying to stringify functions and vice versa.
2018-11-16 23:33:11 +00:00
Bodil Stokke
cc8e7219a2
Reorganise, docs, HTML escaping.
2018-11-14 18:25:05 +00:00
Bodil Stokke
7d1e95f262
Completely transitioned to LALRPOP and new declare macro.
2018-11-14 16:22:07 +00:00
Bodil Stokke
cb7e148310
A mess of LALRPOP.
2018-11-14 00:30:59 +00:00
Bodil Stokke
0db3bfb8bc
All HTML elements added, I think.
2018-11-13 00:48:29 +00:00
Bodil Stokke
16f0be33a4
I'm halfway through the HTML spec.
2018-11-12 23:20:15 +00:00
Bodil Stokke
73344d0dbf
Build a virtual DOM structure.
2018-11-12 16:29:48 +00:00
Bodil Stokke
2806bde178
Such work.
2018-10-28 00:48:34 +01:00
Bodil Stokke
f7ce896ca3
Autobox everything.
2018-10-27 17:28:57 +01:00
Bodil Stokke
dee331c5eb
Cleanup, reorg, data attributes.
2018-10-27 17:00:43 +01:00
Bodil Stokke
4f8b4e2b20
The nastiest element declaration macro.
2018-10-27 03:11:00 +01:00