<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>238461</bug_id>
          
          <creation_ts>2022-03-28 10:56:23 -0700</creation_ts>
          <short_desc>HTML+CSS inside SVG foreignObject doesn&apos;t render</short_desc>
          <delta_ts>2022-03-28 11:33:54 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>Safari 15</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>23113</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jakub T. Jankiewicz">jcubic</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1855682</commentid>
    <comment_count>0</comment_count>
    <who name="Jakub T. Jankiewicz">jcubic</who>
    <bug_when>2022-03-28 10:56:23 -0700</bug_when>
    <thetext>This is similar to https://bugs.webkit.org/show_bug.cgi?id=23113

I have a demo application inside of SVG foreign object (the position of the terminal is wrong, but this is the linked issue).
https://terminal.jcubic.pl/laptop/

The demo (with the latest fixes) doesn&apos;t render at all on CodePen
https://codepen.io/jcubic/pen/rNYybjr?editors=0011
Even in Full Mode (works fine in Firefox and Chrome)

My other demo works fine in Full Mode:
https://codepen.io/jcubic/full/BwBYOZ

This is Demo of my Web-Based Terminal: https://codepen.io/jcubic/full/BwBYOZ
When I tested it in BrowserStack Safari 15.3 CodePen Editor mode doesn&apos;t render at all.
It displays a white screen, with no error.

But the issue is about my app inside SVG foreign Object:
https://codepen.io/jcubic/full/BwBYOZ

The code use some CSS variables but the output is all black. And in dev tools changing inline color
doesn&apos;t make any effect.

I think that there are multiple errors with HTML+CSS inside SVG foreign object. Right now it&apos;s not usable at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1855685</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-03-28 11:00:16 -0700</bug_when>
    <thetext>Almost certainly the same issue. There&apos;s work happening (LBSE) to address this.

*** This bug has been marked as a duplicate of bug 23113 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1855694</commentid>
    <comment_count>2</comment_count>
    <who name="Jakub T. Jankiewicz">jcubic</who>
    <bug_when>2022-03-28 11:33:54 -0700</bug_when>
    <thetext>When It will be fixed I will revisit this one. Since there are two issues on top of each other.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>