mirror of
https://github.com/bigskysoftware/htmx.git
synced 2026-04-20 15:45:27 +00:00
attempt to reproduce https://github.com/bigskysoftware/htmx/issues/854 (unsuccessful so far)
This commit is contained in:
16
test/manual/history_regression3/1.html
Normal file
16
test/manual/history_regression3/1.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script type="application/javascript" src="../../../src/htmx.js"></script>
|
||||
<meta name="htmx-config" content='{"historyCacheSize":0, "refreshOnHistoryMiss" : true}'>
|
||||
<title>History - 1</title>
|
||||
</head>
|
||||
<body style="padding:20px;font-family: sans-serif" hx-boost="true">
|
||||
<h1>History Test</h1>
|
||||
<a hx-get="1.html" hx-push-url="true" hx-target="body">1</a>
|
||||
<a hx-get="2.html" hx-push-url="true" hx-target="body">2</a>
|
||||
<a hx-get="3.html" hx-push-url="true" hx-target="body">3</a>
|
||||
<a hx-get="4.html" hx-push-url="true" hx-target="body">4</a>
|
||||
<h3>Page 1</h3>
|
||||
</body>
|
||||
</html>
|
||||
16
test/manual/history_regression3/2.html
Normal file
16
test/manual/history_regression3/2.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script type="application/javascript" src="../../../src/htmx.js"></script>
|
||||
<meta name="htmx-config" content='{"historyCacheSize":0, "refreshOnHistoryMiss" : true}'>
|
||||
<title>History - 2</title>
|
||||
</head>
|
||||
<body style="padding:20px;font-family: sans-serif" hx-boost="true">
|
||||
<h1>History Test</h1>
|
||||
<a hx-get="1.html" hx-push-url="true" hx-target="body">1</a>
|
||||
<a hx-get="2.html" hx-push-url="true" hx-target="body">2</a>
|
||||
<a hx-get="3.html" hx-push-url="true" hx-target="body">3</a>
|
||||
<a hx-get="4.html" hx-push-url="true" hx-target="body">4</a>
|
||||
<h3>Page 2</h3>
|
||||
</body>
|
||||
</html>
|
||||
16
test/manual/history_regression3/3.html
Normal file
16
test/manual/history_regression3/3.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script type="application/javascript" src="../../../src/htmx.js"></script>
|
||||
<meta name="htmx-config" content='{"historyCacheSize":0, "refreshOnHistoryMiss" : true}'>
|
||||
<title>History - 3</title>
|
||||
</head>
|
||||
<body style="padding:20px;font-family: sans-serif" hx-boost="true">
|
||||
<h1>History Test</h1>
|
||||
<a hx-get="1.html" hx-push-url="true" hx-target="body">1</a>
|
||||
<a hx-get="2.html" hx-push-url="true" hx-target="body">2</a>
|
||||
<a hx-get="3.html" hx-push-url="true" hx-target="body">3</a>
|
||||
<a hx-get="4.html" hx-push-url="true" hx-target="body">4</a>
|
||||
<h3>Page 3</h3>
|
||||
</body>
|
||||
</html>
|
||||
16
test/manual/history_regression3/4.html
Normal file
16
test/manual/history_regression3/4.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script type="application/javascript" src="../../../src/htmx.js"></script>
|
||||
<meta name="htmx-config" content='{"historyCacheSize":0, "refreshOnHistoryMiss" : true}'>
|
||||
<title>History - 4</title>
|
||||
</head>
|
||||
<body style="padding:20px;font-family: sans-serif" hx-boost="true">
|
||||
<h1>History Test</h1>
|
||||
<a hx-get="1.html" hx-push-url="true" hx-target="body">1</a>
|
||||
<a hx-get="2.html" hx-push-url="true" hx-target="body">2</a>
|
||||
<a hx-get="3.html" hx-push-url="true" hx-target="body">3</a>
|
||||
<a hx-get="4.html" hx-push-url="true" hx-target="body">4</a>
|
||||
<h3>Page 4</h3>
|
||||
</body>
|
||||
</html>
|
||||
19
test/manual/history_regression3/index.html
Normal file
19
test/manual/history_regression3/index.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script type="application/javascript" src="../../../src/htmx.js"></script>
|
||||
<title>History - Index</title>
|
||||
<meta name="htmx-config" content='{"historyCacheSize":0, "refreshOnHistoryMiss" : true}'>
|
||||
<script>
|
||||
htmx.logAll();
|
||||
</script>
|
||||
</head>
|
||||
<body style="padding:20px;font-family: sans-serif">
|
||||
<h1>History Test</h1>
|
||||
<a hx-get="1.html" hx-push-url="true" hx-target="body">1</a>
|
||||
<a hx-get="2.html" hx-push-url="true" hx-target="body">2</a>
|
||||
<a hx-get="3.html" hx-push-url="true" hx-target="body">3</a>
|
||||
<a hx-get="4.html" hx-push-url="true" hx-target="body">4</a>
|
||||
<h3>Index</h3>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user