chrome-devtools-frontend
Version:
Chrome DevTools UI
31 lines (30 loc) • 1.27 kB
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.
-->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Debug</title>
<link rel="stylesheet" type="text/css" href="/out/Default/resources/inspector_overlay/common.css">
<script type="module" src="/out/Default/resources/inspector_overlay/main.js"></script>
</head>
<body>
<script type="module">
function test() {
dispatch(["setPlatform", "mac"]);
dispatch(["setOverlay", "sourceOrder"]);
dispatch(["reset"]);
dispatch(["drawSourceOrder", {"paths":[{"path":["M",122,133.796875,"L",750,133.796875,"L",750,208.796875,"L",122,208.796875,"Z"], "outlineColor":"rgba(244, 90, 183, 1)","name":"content"},],
"sourceOrder": 0, colorFormat: "hsl"}]);
dispatch(["reset"]);
dispatch(["drawSourceOrder", {"paths":[{"path":["M",300,133.796875,"L",600,133.796875,"L",600,208.796875,"L",300,208.796875,"Z"], "outlineColor":"rgba(0, 120, 212, 1)","name":"content"},],
"sourceOrder": 1, colorFormat: "hsl"}]);
}
test();
</script>
</body>
</html>