diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2016-01-27 14:19:55 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2016-01-27 15:20:30 +0000 |
commit | 3894e33506789b6edc4ef36239fc45d03e5db4e9 (patch) | |
tree | 452125c058ea6efbe6fcdd017d7c09d4af3ad040 /src/events/dispatch.h | |
parent | 6d600214268e64e6bc83df61d8abfdf8963acdad (diff) | |
download | libdom-3894e33506789b6edc4ef36239fc45d03e5db4e9.tar.gz libdom-3894e33506789b6edc4ef36239fc45d03e5db4e9.tar.bz2 |
Split detection of HTML TAG type out into helper.
This moves the massive dom_string comparison ladder out
into a separate function, and switches on the result.
Using a switch here has highlighted multiple issues:
- Various html element specialisations were missed out.
- Both TD elements were in the ladder twice.
Diffstat (limited to 'src/events/dispatch.h')
0 files changed, 0 insertions, 0 deletions