mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Move incremental_text_color_a.html to wpt reftests.
This commit is contained in:
parent
79288fd584
commit
ed09b2bc94
4 changed files with 25 additions and 1 deletions
|
@ -863,6 +863,18 @@
|
|||
"url": "/_mozilla/css/incremental_letter_spacing_a.html"
|
||||
}
|
||||
],
|
||||
"css/incremental_text_color_a.html": [
|
||||
{
|
||||
"path": "css/incremental_text_color_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/incremental_text_color_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/incremental_text_color_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_absolute_hypothetical_clip_a.html": [
|
||||
{
|
||||
"path": "css/inline_absolute_hypothetical_clip_a.html",
|
||||
|
@ -4764,6 +4776,18 @@
|
|||
"url": "/_mozilla/css/incremental_letter_spacing_a.html"
|
||||
}
|
||||
],
|
||||
"css/incremental_text_color_a.html": [
|
||||
{
|
||||
"path": "css/incremental_text_color_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/incremental_text_color_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/incremental_text_color_a.html"
|
||||
}
|
||||
],
|
||||
"css/inline_absolute_hypothetical_clip_a.html": [
|
||||
{
|
||||
"path": "css/inline_absolute_hypothetical_clip_a.html",
|
||||
|
|
23
tests/wpt/mozilla/tests/css/incremental_text_color_a.html
Normal file
23
tests/wpt/mozilla/tests/css/incremental_text_color_a.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='incremental_text_color_ref.html'>
|
||||
<meta charset="UTF-8">
|
||||
<title>Incremental layout text color test</title>
|
||||
<style>
|
||||
span {
|
||||
color: orange;
|
||||
}
|
||||
span.selected {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<span>A</span>
|
||||
<script>
|
||||
document.body.offsetWidth; // force layout
|
||||
document.querySelector('span').classList.add('selected');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
15
tests/wpt/mozilla/tests/css/incremental_text_color_ref.html
Normal file
15
tests/wpt/mozilla/tests/css/incremental_text_color_ref.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Incremental layout text color reference</title>
|
||||
<style>
|
||||
span {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<span>A</span>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue