TEST_F(AttrTest, SetTextContent)
{
    RawPtr<Attr> attr = createAttribute();
    // Node::setTextContent() does nothing for Attr.
    attr->setTextContent(value());
    EXPECT_EQ(emptyAtom, attr->value());
    EXPECT_EQ(emptyString(), attr->toNode()->nodeValue());
    EXPECT_EQ(String(), attr->textContent());
}