2 <html><title>foo</title></html> should have title direction "ltr". PASS
3 <html><title dir=rtl>foo</title></html> should have title direction "rtl". PASS
4 <html dir=rtl><title>foo</title></html> should have title direction "rtl". PASS
5 <html dir=rtl><title dir=ltr>foo</title></html> should have title direction "ltr". PASS
6
2<html><title>foo</title></html> should have title direction "ltr". FAIL (got: "undefined")
3<html><title dir=rtl>foo</title></html> should have title direction "rtl". FAIL (got: "undefined")
4<html dir=rtl><title>foo</title></html> should have title direction "rtl". FAIL (got: "undefined")
5<html dir=rtl><title dir=ltr>foo</title></html> should have title direction "ltr". FAIL (got: "undefined")