@@Raketenwilli
Die HTML-Spec (f/k/a/ HTML5) legt genau fest, wie sich HTML-Parser zu verhalten haben – auch bei fehlerhaftem Sourcecode.
Ich habe „individuelle Browser“ hingeschrieben. Nicht: „ideale“.
Ich denke nicht, dass irgendein aktueller Browser individuell von der Spec abweicht. Anders gesagt: Alle aktuellen Browser sind in dieser Hinsicht ideal.
Hier geht es wohlgemerkt nicht um Unterschiede im Rendering, sondern dass alle aktuellen Browser aus demselben HTML-Quelltext – so fehlerhaft er auch sein mag – dasselbe DOM generieren.
😷 LLAP
--
“When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down ‘happy.’ They told me I didn’t understand the assignment, and I told them they didn’t understand life.” —John Lennon
“When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down ‘happy.’ They told me I didn’t understand the assignment, and I told them they didn’t understand life.” —John Lennon