Skip to content

Commit

Permalink
Several fixes for bug "Closing tag matches nothing"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zulcom committed Oct 2, 2020
1 parent d5e3050 commit 41e615b
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 18 deletions.
@@ -1,5 +1,5 @@
<!DOCTYPE html>

<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
Expand Down
@@ -1,5 +1,5 @@
<!DOCTYPE html>

<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
Expand Down
2 changes: 1 addition & 1 deletion 20-css-for-js/5-position/article.md
Expand Up @@ -328,7 +328,7 @@ position: fixed;
- Можно указать противоположные границы `left/right` (`top/bottom`). Элемент растянется.
- Окружающие элементы заполняют освободившееся место.
</li>
`fixed`
: Подвид абсолютного позиционирования, при котором элемент привязывается к координатам окна, а не документа.
Expand Down
14 changes: 8 additions & 6 deletions 6-data-storage/02-localstorage/sessionstorage.view/iframe.html
@@ -1,9 +1,11 @@
<!doctype html>
<script>
window.addEventListener('storage', event => {
alert("iframe.html: onstorage");
});
</script>
<button onclick="sessionStorage.setItem('now', new Date())">sessionStorage.setItem</button>
<html>
<body>
<script>
window.addEventListener('storage', event => {
alert("iframe.html: onstorage");
});
</script>
<button onclick="sessionStorage.setItem('now', new Date())">sessionStorage.setItem</button>
</body>
</html>
16 changes: 9 additions & 7 deletions 6-data-storage/02-localstorage/sessionstorage.view/index.html
@@ -1,10 +1,12 @@
<!doctype html>
<script>
window.addEventListener('storage', event => {
alert("index.html: onstorage");
});
</script>
<button onclick="sessionStorage.setItem('now', new Date())">sessionStorage.setItem</button>
<iframe src="iframe.html" style="height:100px"></iframe>
<html>
<body>
<script>
window.addEventListener('storage', event => {
alert("index.html: onstorage");
});
</script>
<button onclick="sessionStorage.setItem('now', new Date())">sessionStorage.setItem</button>
<iframe src="iframe.html" style="height:100px"></iframe>
</body>
</html>
Expand Up @@ -48,5 +48,3 @@
</body>

</html>

</html>

0 comments on commit 41e615b

Please sign in to comment.