mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 23:42:17 +00:00
Tests: Import a bunch of css-color tests from WPT
This commit is contained in:
parent
9261688488
commit
61755b29c9
Notes:
github-actions[bot]
2024-12-19 09:55:15 +00:00
Author: https://github.com/LucasChollet
Commit: 61755b29c9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2929
Reviewed-by: https://github.com/tcl3 ✅
20 changed files with 328 additions and 0 deletions
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Black text reference</title>
|
||||
<style>
|
||||
.test { color: #000000}
|
||||
</style>
|
||||
<body>
|
||||
<p class="test">Test passes if this text is black</p>
|
||||
</body>
|
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Green text reference</title>
|
||||
<style>
|
||||
.test { color: #008000}
|
||||
</style>
|
||||
<body>
|
||||
<p class="test">Test passes if this text is green</p>
|
||||
</body>
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Green text reference for hex shorthand tests</title>
|
||||
<style>
|
||||
.test { background-color: #007700; width: 12em; height: 12em;}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if you see a green square, and no red.</p>
|
||||
<div class="test"></div>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue