12-long-comment-end.json 719 B

1234567891011121314151617181920
  1. {
  2. "name": "Long comment ending",
  3. "options": {
  4. "handler": {},
  5. "parser": {}
  6. },
  7. "html": "<meta id='before'><!-- text ---><meta id='after'>",
  8. "expected": [
  9. { "event": "opentagname", "data": [ "meta" ] },
  10. { "event": "attribute", "data": [ "id", "before" ] },
  11. { "event": "opentag", "data": [ "meta", {"id": "before"} ] },
  12. { "event": "closetag", "data": [ "meta" ] },
  13. { "event": "comment", "data": [ " text -" ] },
  14. { "event": "commentend", "data": [] },
  15. { "event": "opentagname", "data": [ "meta" ] },
  16. { "event": "attribute", "data": [ "id", "after" ] },
  17. { "event": "opentag", "data": [ "meta", {"id": "after"} ] },
  18. { "event": "closetag", "data": [ "meta" ] }
  19. ]
  20. }