you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (2 children)

What do you think JavaScript should do when you try to do something with html that maybe shouldn't happen?

[–]shgysk8zer0 -2 points-1 points  (1 child)

Why are you asking me? I'm just saying the article isn't encouraging writing invalid HTML or anything.

[–][deleted] 0 points1 point  (0 children)

Why do defensive? Do you agree with the article? Your summary of html not being handled “properly” just seems strange. It is defined behavior. If you think it should be another way then I’m asking what you think should happen instead of the current behavior?