Handle dynamic font color change

This commit is contained in:
P. Albrecht 2017-09-07 11:24:34 +02:00
parent 54cd23adb8
commit 8161d1931d
7 changed files with 80 additions and 4 deletions

View file

@ -2231,6 +2231,18 @@
{}
]
],
"css/font_color_attribute_change.html": [
[
"/_mozilla/css/font_color_attribute_change.html",
[
[
"/_mozilla/css/font_color_attribute_change_ref.html",
"=="
]
],
{}
]
],
"css/font_face_attribute.html": [
[
"/_mozilla/css/font_face_attribute.html",
@ -8768,6 +8780,11 @@
{}
]
],
"css/font_color_attribute_change_ref.html": [
[
{}
]
],
"css/font_color_attribute_ref.html": [
[
{}
@ -24031,6 +24048,14 @@
"c26b839b729cae2d01ba7f2588852170bcc0b82e",
"reftest"
],
"css/font_color_attribute_change.html": [
"87c9ff1745eaecbbf2ac61d5d37a9c7e82c729a9",
"reftest"
],
"css/font_color_attribute_change_ref.html": [
"0c84fb819c07853ec125e52df465701ad6da7424",
"support"
],
"css/font_color_attribute_ref.html": [
"4a07819ffd7c7629ee13f428cf7243c99f3dfc63",
"support"

View file

@ -0,0 +1,15 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="match" href="font_color_attribute_change_ref.html">
</head>
<body>
<font color="red">I should be green</font>
<script>
document.body.offsetTop;
document.querySelector("font").setAttribute("color", "green");
</script>
</body>
</html>

View file

@ -0,0 +1,9 @@
<!doctype html>
<html>
<head>
<title></title>
</head>
<body>
<font color="green">I should be green</font>
</body>
</html>