Bug 226915 - Implement spec change: HTML parser: handle </br> and </p> in SVG
Summary: Implement spec change: HTML parser: handle </br> and </p> in SVG
Status: RESOLVED DUPLICATE of bug 243331
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-06-11 01:37 PDT by Simon Pieters (:zcorpan)
Modified: 2022-08-01 16:03 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***