aredridel / html5

Event-driven HTML5 Parser in Javascript
http://dinhe.net/~aredridel/projects/js/html5/
MIT License
590 stars 168 forks source link

Parser changes to match coming update to the spec for the new ruby model #99

Open darobin opened 10 years ago

darobin commented 10 years ago

As per http://darobin.github.io/html-ruby/. This change is being landed in the W3C specification (within the days to come), apply with caution.

aredridel commented 10 years ago

Are there any test cases easily added for this?

aredridel commented 10 years ago

And can you match the indentation style?

darobin commented 10 years ago

Test cases are in here: https://github.com/w3c/web-platform-tests/pull/463 I assumed that you used the same test suite (though I confess I didn't look at your test system and basically ran those through a quick throwaway script).

Concerning indent style, I thought I'd matched — I'll double check.

aredridel commented 10 years ago

Yeah, I've been using a portion of that suite, originally imported from html5lib's tree. I'm in the process of making it more maintainable / easier to update, but it's a static copy at the moment.