chromium/third_party/blink/renderer/core/css/properties/css_parsing_utils_test.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/css/properties/css_parsing_utils.h"

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_context.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_token_stream.h"
#include "third_party/blink/renderer/core/css/parser/css_tokenizer.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/execution_context/security_context.h"
#include "third_party/blink/renderer/core/html/html_html_element.h"
#include "third_party/blink/renderer/core/testing/dummy_page_holder.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"

namespace blink {
namespace {

AtDelimiter;
AtIdent;
ConsumeAngle;
ConsumeIfDelimiter;
ConsumeIfIdent;

CSSParserContext* MakeContext(CSSParserMode mode = kHTMLStandardMode) {}

TEST(CSSParsingUtilsTest, BasicShapeUseCount) {}

TEST(CSSParsingUtilsTest, Revert) {}

double ConsumeAngleValue(String target) {}

double ConsumeAngleValue(String target, double min, double max) {}

TEST(CSSParsingUtilsTest, ConsumeAngles) {}

TEST(CSSParsingUtilsTest, AtIdent_Range) {}

TEST(CSSParsingUtilsTest, AtIdent_Stream) {}

TEST(CSSParsingUtilsTest, ConsumeIfIdent_Range) {}

TEST(CSSParsingUtilsTest, ConsumeIfIdent_Stream) {}

TEST(CSSParsingUtilsTest, AtDelimiter_Range) {}

TEST(CSSParsingUtilsTest, AtDelimiter_Stream) {}

TEST(CSSParsingUtilsTest, ConsumeIfDelimiter_Range) {}

TEST(CSSParsingUtilsTest, ConsumeIfDelimiter_Stream) {}

TEST(CSSParsingUtilsTest, ConsumeAnyValue_Range) {}

TEST(CSSParsingUtilsTest, ConsumeAnyValue_Stream) {}

TEST(CSSParsingUtilsTest, DashedIdent) {}

TEST(CSSParsingUtilsTest, ConsumeAbsoluteColor) {}

TEST(CSSParsingUtilsTest, InternalColorsOnlyAllowedInUaMode) {}

// Verify that the state of CSSParserTokenRange is preserved
// for failing <color> values.
TEST(CSSParsingUtilsTest, ConsumeColorRangePreservation) {}

TEST(CSSParsingUtilsTest, InternalPositionTryFallbacksInUAMode) {}

}  // namespace
}  // namespace blink