Unclosed span tag causes duplicate nodes in IE (7, 8, 9)
-
2012년 2월 21일 화요일 오전 11:32If some page contains unclosed span html elements, it causes that IE duplicates almost all following elements. I originally found it on marriott.com page (on find hotels result page), but I created simple page, that helps to identify that issue. You can find it there: http://dl.dropbox.com/u/5442628/1.htm, when open it with any other browser it shows 1 node, but IE shows thousand of nodes with id "byeWorld".
- 편집됨 Yurii R 2012년 2월 21일 화요일 오전 11:33
모든 응답
-
2012년 2월 21일 화요일 오후 7:42
Hi,
thats why we tell posters to validate their markup and correct their errors and warnings.... Yahoo, Google site builder, Eric Myer, Max Designs all recommend that deviners should always validate their markup.
html5 is the first spec to specify how browsers should correct errors.
each browser vendor has their own interpretation of how they correct errors in markup ..... what a mess.
The problem is html is a markup language, not a programming language.... it is not compilied before it goes down the wire... but the same problems exist in programming languages... there are plenty of variants of C
junk in >> junk out
Rob^_^
- 답변으로 제안됨 doctoroftypeMVP 2012년 2월 21일 화요일 오후 7:43
- 답변으로 표시됨 Allen Li - MSFTModerator 2012년 3월 1일 목요일 오전 7:28

