@@ -1852,25 +1852,24 @@ function declareTests(config?: {useJit: boolean}) {
1852
1852
expect ( firstAttribute . namespaceURI ) . toEqual ( 'http://www.w3.org/1999/xlink' ) ;
1853
1853
} ) ;
1854
1854
1855
- fixmeIvy ( 'FW-811: Align HTML namespaces between Ivy and Render2' )
1856
- . it ( 'should support foreignObjects with document fragments' , ( ) => {
1857
- TestBed . configureTestingModule ( { declarations : [ MyComp ] } ) ;
1858
- const template =
1859
- '<svg><foreignObject><xhtml:div><p>Test</p></xhtml:div></foreignObject></svg>' ;
1860
- TestBed . overrideComponent ( MyComp , { set : { template} } ) ;
1861
- const fixture = TestBed . createComponent ( MyComp ) ;
1855
+ it ( 'should support foreignObjects with document fragments' , ( ) => {
1856
+ TestBed . configureTestingModule ( { declarations : [ MyComp ] } ) ;
1857
+ const template =
1858
+ '<svg><foreignObject><xhtml:div><p>Test</p></xhtml:div></foreignObject></svg>' ;
1859
+ TestBed . overrideComponent ( MyComp , { set : { template} } ) ;
1860
+ const fixture = TestBed . createComponent ( MyComp ) ;
1862
1861
1863
- const el = fixture . nativeElement ;
1864
- const svg = getDOM ( ) . childNodes ( el ) [ 0 ] ;
1865
- const foreignObject = getDOM ( ) . childNodes ( svg ) [ 0 ] ;
1866
- const p = getDOM ( ) . childNodes ( foreignObject ) [ 0 ] ;
1867
- expect ( getDOM ( ) . getProperty ( < Element > svg , 'namespaceURI' ) )
1868
- . toEqual ( 'http://www.w3.org/2000/svg' ) ;
1869
- expect ( getDOM ( ) . getProperty ( < Element > foreignObject , 'namespaceURI' ) )
1870
- . toEqual ( 'http://www.w3.org/2000/svg' ) ;
1871
- expect ( getDOM ( ) . getProperty ( < Element > p , 'namespaceURI' ) )
1872
- . toEqual ( 'http://www.w3.org/1999/xhtml' ) ;
1873
- } ) ;
1862
+ const el = fixture . nativeElement ;
1863
+ const svg = getDOM ( ) . childNodes ( el ) [ 0 ] ;
1864
+ const foreignObject = getDOM ( ) . childNodes ( svg ) [ 0 ] ;
1865
+ const p = getDOM ( ) . childNodes ( foreignObject ) [ 0 ] ;
1866
+ expect ( getDOM ( ) . getProperty ( < Element > svg , 'namespaceURI' ) )
1867
+ . toEqual ( 'http://www.w3.org/2000/svg' ) ;
1868
+ expect ( getDOM ( ) . getProperty ( < Element > foreignObject , 'namespaceURI' ) )
1869
+ . toEqual ( 'http://www.w3.org/2000/svg' ) ;
1870
+ expect ( getDOM ( ) . getProperty ( < Element > p , 'namespaceURI' ) )
1871
+ . toEqual ( 'http://www.w3.org/1999/xhtml' ) ;
1872
+ } ) ;
1874
1873
} ) ;
1875
1874
1876
1875
describe ( 'attributes' , ( ) => {
0 commit comments