#include "base/test/scoped_feature_list.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/web/web_script_source.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/core/css/css_property_names.h"
#include "third_party/blink/renderer/core/css/css_style_declaration.h"
#include "third_party/blink/renderer/core/dom/node_computed_style.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/frame/web_local_frame_impl.h"
#include "third_party/blink/renderer/core/html/html_anchor_element.h"
#include "third_party/blink/renderer/core/html/html_frame_owner_element.h"
#include "third_party/blink/renderer/core/html/html_image_element.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"
#include "third_party/blink/renderer/core/loader/document_loader.h"
#include "third_party/blink/renderer/core/page/focus_controller.h"
#include "third_party/blink/renderer/core/page/scrolling/element_fragment_anchor.h"
#include "third_party/blink/renderer/core/paint/paint_layer_scrollable_area.h"
#include "third_party/blink/renderer/core/svg/graphics/svg_image.h"
#include "third_party/blink/renderer/core/testing/sim/sim_request.h"
#include "third_party/blink/renderer/core/testing/sim/sim_test.h"
#include "third_party/blink/renderer/platform/graphics/image.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
namespace blink {
RunPendingTasks;
class CssSelectorFragmentAnchorTest : public SimTest { … };
TEST_F(CssSelectorFragmentAnchorTest, BasicTest) { … }
TEST_F(CssSelectorFragmentAnchorTest, TwoCssSelectorFragmentsOutlineFirst) { … }
TEST_F(CssSelectorFragmentAnchorTest, TwoCssSelectorFragmentsFirstNotFound) { … }
TEST_F(CssSelectorFragmentAnchorTest,
PrioritizeCssSelectorFragmentOverElementFragment) { … }
TEST_F(CssSelectorFragmentAnchorTest, DISABLED_CheckCssSelectorRestrictions) { … }
TEST_F(CssSelectorFragmentAnchorTest, FragmentStaysAfterUserClicks) { … }
TEST_F(CssSelectorFragmentAnchorTest, ParsedCorrectlyButElementNotFound) { … }
TEST_F(CssSelectorFragmentAnchorTest, ValuePartHasCommaAndIsEncoded) { … }
TEST_F(CssSelectorFragmentAnchorTest, ValuePartHasCommaButIsNotEncoded) { … }
TEST_F(CssSelectorFragmentAnchorTest,
TargetElementIsNotHighlightedWithElementFragment) { … }
TEST_F(CssSelectorFragmentAnchorTest,
TargetElementIsNotHighlightedWithTextFragment) { … }
TEST_F(CssSelectorFragmentAnchorTest, SelectorFragmentTargetOutline) { … }
}