22 references to Body
System.Windows.Forms.Tests (22)
System\Windows\Forms\HtmlDocumentTests.cs (11)
367
HtmlElement element = document.
Body
;
368
Assert.NotSame(element, document.
Body
);
384
HtmlElement element = document.
Body
;
385
Assert.NotSame(element, document.
Body
);
401
HtmlElement element = document.
Body
;
404
Assert.Null(document.
Body
);
1394
Assert.Equal("InnerText", window.Document.
Body
.InnerText);
1551
Assert.Null(element.Document.
Body
);
1912
Assert.Equal(expectedInnerHtml, document.
Body
?.InnerHtml);
1929
Assert.Equal(expectedInnerHtml, document.
Body
?.InnerHtml);
1946
Assert.Null(newDocument.
Body
);
System\Windows\Forms\HtmlElementTests.cs (11)
68
Assert.Equal(document.
Body
.InnerHtml, result.
Body
.InnerHtml);
314
HtmlElement element = document.
Body
;
509
HtmlElement element = document.
Body
.Parent;
630
HtmlElement element = document.
Body
.Parent;
645
HtmlElement element = document.
Body
;
921
HtmlElement element = document.
Body
.Parent;
1027
HtmlElement element = document.
Body
.Parent;
1243
HtmlElement element = document.
Body
;
1848
HtmlElement element = document.
Body
;
1864
HtmlElement element = document.
Body
;