Skip to content

Commit

Permalink
Fix the head elements of Xilem Web
Browse files Browse the repository at this point in the history
These got mixed up in
linebender#142
  • Loading branch information
DJMcNab committed Jul 2, 2024
1 parent ca55151 commit 29bbc56
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 44 deletions.
15 changes: 14 additions & 1 deletion xilem_web/web_examples/counter/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
<!DOCTYPE html>
<html>
<title>Pythagorean theorem</title>

<head>
<title>Counter | Xilem Web</title>
<style>
.gray {
background-color: lightgrey;
}

.green {
background-color: lightgreen;
}
</style>
</head>

<body></body>

</html>
20 changes: 5 additions & 15 deletions xilem_web/web_examples/counter_custom_element/index.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
<!DOCTYPE html>
<html>

<head>
<style>
.gray {
background-color: lightgrey;
}
.green {
background-color: lightgreen;
}
rect.red {
fill: #e00;
}
line {
stroke: #444;
}
</style>
<title>Counter | Xilem Web</title>
</head>

<body>
<p>This is like the <code>counter</code> example, but does not use the typed
<p>This is like the <code>counter</code> example, but does not use the typed
elements/events/attrs in <code>xilem_web</code>, instead using strings</p>
</body>

</html>
18 changes: 4 additions & 14 deletions xilem_web/web_examples/mathml_svg/index.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
<!DOCTYPE html>
<html>

<head>
<style>
.gray {
background-color: lightgrey;
}
.green {
background-color: lightgreen;
}
rect.red {
fill: #e00;
}
line {
stroke: #444;
}
</style>
<title>Pythagorean theorem | Xilem</title>
</head>

<body>
</body>

</html>
29 changes: 15 additions & 14 deletions xilem_web/web_examples/svgtoy/index.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
<!DOCTYPE html>
<html lang="en">

<head>
<style>
.gray {
background-color: lightgrey;
}
.green {
background-color: lightgreen;
}
rect.red {
fill: #e00;
}
line {
stroke: #444;
}
</style>
<title>
SvgToy | Xilem Web
</title>
<style>
rect.red {
fill: #e00;
}

line {
stroke: #444;
}
</style>
</head>

<body>
</body>

</html>

0 comments on commit 29bbc56

Please sign in to comment.