Move incremental_text_color_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-22 09:16:45 -04:00
parent 79288fd584
commit ed09b2bc94
4 changed files with 25 additions and 1 deletions

View file

@ -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",

View 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>

View 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>