Files
react-native-devtools-frontend/test/e2e/resources/elements/target.html
T
Mathias Bynens 00e1aac922 Support forcing the CSS :target state
This patch extends the existing “force element state” UI to support
emulating the CSS :target pseudo-class.

Screenshot: https://i.imgur.com/oS5dLbi.png
Chromium CL: https://chromium-review.googlesource.com/c/chromium/src/+/2575668
DevTools DEPS roll: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2586737

Bug: chromium:1156628
Change-Id: Id03f52b82336a602af91a259cd6bb5f53e877160
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2581544
Commit-Queue: Mathias Bynens <mathias@chromium.org>
Reviewed-by: Changhao Han <changhaohan@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2020-12-21 15:20:56 +00:00

16 lines
391 B
HTML

<!--
Copyright 2020 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<style>
#show-on-target {
display: none;
}
#show-on-target:target {
display: inline;
}
</style>
<span id="show-on-target">Some text here, only shown on :target</span>
<span>Some text, always shown</span>