Bug 226915

Summary: Implement spec change: HTML parser: handle </br> and </p> in SVG
Product: WebKit Reporter: Simon Pieters (:zcorpan) <zcorpan>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: cdumez, serakeri, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Simon Pieters (:zcorpan) 2021-06-11 01:37:30 PDT
See https://github.com/whatwg/html/pull/6736

Demo: <svg></p><foo>
http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=9362

Actual result:
- html html
  - html head
  - html body
    - svg svg
      - html p
      - svg foo

Expected result:
- html html
  - html head
  - html body
    - svg svg
    - html p
    - html foo

(i.e. the <p> is a sibling of <svg>, not a child, and <foo> is an HTML element, not an SVG element.)
Comment 1 Radar WebKit Bug Importer 2021-06-18 01:38:42 PDT
<rdar://problem/79495301>
Comment 2 serakeri 2022-08-01 15:56:58 PDT
This seems to have been fixed by https://commits.webkit.org/252940@main (https://bugs.webkit.org/show_bug.cgi?id=243331)
Comment 3 Chris Dumez 2022-08-01 16:03:37 PDT
Indeed, thank you.

*** This bug has been marked as a duplicate of bug 243331 ***