#include "third_party/blink/renderer/core/dom/first_letter_pseudo_element.h"
#include "third_party/blink/renderer/core/css/css_style_declaration.h"
#include "third_party/blink/renderer/core/dom/text.h"
#include "third_party/blink/renderer/core/layout/layout_text_fragment.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
namespace blink {
class FirstLetterPseudoElementTest : public PageTestBase { … };
TEST_F(FirstLetterPseudoElementTest, DoesNotBreakEmoji) { … }
TEST_F(FirstLetterPseudoElementTest, AppendDataToSpace) { … }
TEST_F(FirstLetterPseudoElementTest, EmptySpanOnly) { … }
TEST_F(FirstLetterPseudoElementTest, InitialLetter) { … }
TEST_F(FirstLetterPseudoElementTest, UnicodePairBreaking) { … }
struct FirstLetterLayoutTextTestCase { … };
FirstLetterLayoutTextTestCase first_letter_layout_text_cases[] = …;
class FirstLetterTextTest : public FirstLetterPseudoElementTest,
public ::testing::WithParamInterface<
struct FirstLetterLayoutTextTestCase> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(FirstLetterTextTest, All) { … }
}