mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-10 09:45:00 +00:00
The test suite includes a few basic tests and a very crude regression test, which just concatenates the to_string() of all tokens and checks the String's hash to be equal. This relies on the format of HTMLToken::to_string() to stay the same, which is not ideal.
12 lines
241 B
HTML
12 lines
241 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>This is a test page :^)</title>
|
|
</head>
|
|
<body>
|
|
<p>This is the first paragraph.</p>
|
|
<p foo="bar">The second paragraph has an attribute!</p>
|
|
</body>
|
|
</html>
|