#include "third_party/blink/renderer/core/editing/serializers/styled_markup_serializer.h"
#include "third_party/blink/renderer/core/dom/text.h"
#include "third_party/blink/renderer/core/editing/testing/editing_test_base.h"
namespace blink {
static size_t Mismatch(const std::string& input1, const std::string& input2) { … }
class StyledMarkupSerializerTest : public EditingTestBase { … };
template <typename Strategy>
std::string StyledMarkupSerializerTest::Serialize(
const CreateMarkupOptions& options) { … }
template <typename Strategy>
std::string StyledMarkupSerializerTest::SerializePart(
const PositionTemplate<Strategy>& start,
const PositionTemplate<Strategy>& end,
const CreateMarkupOptions& options) { … }
TEST_F(StyledMarkupSerializerTest, TextOnly) { … }
TEST_F(StyledMarkupSerializerTest, BlockFormatting) { … }
TEST_F(StyledMarkupSerializerTest, FormControlInput) { … }
TEST_F(StyledMarkupSerializerTest, FormControlInputRange) { … }
TEST_F(StyledMarkupSerializerTest, FormControlSelect) { … }
TEST_F(StyledMarkupSerializerTest, FormControlTextArea) { … }
TEST_F(StyledMarkupSerializerTest, HeadingFormatting) { … }
TEST_F(StyledMarkupSerializerTest, InlineFormatting) { … }
TEST_F(StyledMarkupSerializerTest, Mixed) { … }
TEST_F(StyledMarkupSerializerTest, ShadowTreeDistributeOrder) { … }
TEST_F(StyledMarkupSerializerTest, ShadowTreeInput) { … }
TEST_F(StyledMarkupSerializerTest, ShadowTreeNested) { … }
TEST_F(StyledMarkupSerializerTest, ShadowTreeInterchangedNewline) { … }
TEST_F(StyledMarkupSerializerTest, StyleDisplayNone) { … }
TEST_F(StyledMarkupSerializerTest, StyleDisplayNoneAndNewLines) { … }
TEST_F(StyledMarkupSerializerTest, ShadowTreeStyle) { … }
TEST_F(StyledMarkupSerializerTest, DISABLED_AcrossShadow) { … }
TEST_F(StyledMarkupSerializerTest, AcrossInvisibleElements) { … }
TEST_F(StyledMarkupSerializerTest, DisplayContentsStyle) { … }
}