#include "third_party/blink/renderer/core/css/active_style_sheets.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_shadow_root_init.h"
#include "third_party/blink/renderer/core/css/css_style_sheet.h"
#include "third_party/blink/renderer/core/css/media_query_evaluator.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_context.h"
#include "third_party/blink/renderer/core/css/parser/media_query_parser.h"
#include "third_party/blink/renderer/core/css/style_engine.h"
#include "third_party/blink/renderer/core/css/style_sheet_contents.h"
#include "third_party/blink/renderer/core/css/style_sheet_list.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/execution_context/security_context.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/testing/page_test_base.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
namespace blink {
class ActiveStyleSheetsTest : public PageTestBase { … };
class ApplyRulesetsTest : public ActiveStyleSheetsTest { … };
TEST_F(ActiveStyleSheetsTest, CompareActiveStyleSheets_NoChange) { … }
TEST_F(ActiveStyleSheetsTest, CompareActiveStyleSheets_AppendedToEmpty) { … }
TEST_F(ActiveStyleSheetsTest, CompareActiveStyleSheets_AppendedToNonEmpty) { … }
TEST_F(ActiveStyleSheetsTest, CompareActiveStyleSheets_Mutated) { … }
TEST_F(ActiveStyleSheetsTest, CompareActiveStyleSheets_Inserted) { … }
TEST_F(ActiveStyleSheetsTest, CompareActiveStyleSheets_Removed) { … }
TEST_F(ActiveStyleSheetsTest, CompareActiveStyleSheets_RemovedAll) { … }
TEST_F(ActiveStyleSheetsTest, CompareActiveStyleSheets_InsertedAndRemoved) { … }
TEST_F(ActiveStyleSheetsTest, CompareActiveStyleSheets_AddNullRuleSet) { … }
TEST_F(ActiveStyleSheetsTest, CompareActiveStyleSheets_RemoveNullRuleSet) { … }
TEST_F(ActiveStyleSheetsTest, CompareActiveStyleSheets_AddRemoveNullRuleSet) { … }
TEST_F(ActiveStyleSheetsTest,
CompareActiveStyleSheets_RemoveNullRuleSetAndAppend) { … }
TEST_F(ActiveStyleSheetsTest, CompareActiveStyleSheets_ReorderedImportSheets) { … }
TEST_F(ActiveStyleSheetsTest, CompareActiveStyleSheets_DisableAndAppend) { … }
TEST_F(ActiveStyleSheetsTest, CompareActiveStyleSheets_AddRemoveNonMatchingMQ) { … }
TEST_F(ApplyRulesetsTest, AddUniversalRuleToDocument) { … }
TEST_F(ApplyRulesetsTest, AddUniversalRuleToShadowTree) { … }
TEST_F(ApplyRulesetsTest, AddFontFaceRuleToDocument) { … }
TEST_F(ApplyRulesetsTest, AddFontFaceRuleToShadowTree) { … }
TEST_F(ApplyRulesetsTest, RemoveSheetFromShadowTree) { … }
}