diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-01-01 23:40:52 +0100 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-01-01 23:40:52 +0100 |
commit | 5ea943a5e789222472e45864e119cf786498bfcd (patch) | |
tree | ea307589de0fdb202474ad4d07c0bef7fe1c53e8 /old/test/discard-syntax-errors.html |
Import original dillo.org website into old/
Diffstat (limited to 'old/test/discard-syntax-errors.html')
-rw-r--r-- | old/test/discard-syntax-errors.html | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/old/test/discard-syntax-errors.html b/old/test/discard-syntax-errors.html new file mode 100644 index 0000000..cbe148a --- /dev/null +++ b/old/test/discard-syntax-errors.html @@ -0,0 +1,52 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> +<title>discard CSS syntax errors</title> + +<style type="text/css" media="all"> + +.word { + background-color: orange +} + +table.separate { + border-collapse: separate; +} +table.separatebogus { + border-collapse: separate; + margin: 10px foo bar; + border: 20px #foo bar; + padding: 40px baz; +} + +.tdbogus { + margin: 5px baz; + border: 10px solido #aaa; + padding: 20px 34; +} +.tdok { + border: 5px solid red; +} +</style> +</head> + +<body bgcolor="#F0F8FF"> + +<h3>Separate:</h3> +These tables should render equal when CSS syntax errors are discarded: +<p> + <table class="separate" border=1> + <tr><td>Carnivores<td><i class="word">Primates</i> + <tr><td class="tdok">Tiger<td>Sifaka + </table> +<br> + <table class="separatebogus" border=1> + <tr><td class="tdbogus">Carnivores<td><i class="word">Primates</i> + <tr><td class="tdok">Tiger<td>Sifaka + </table> +<br> +<hr> + +</body> +</html> |