diff options
author | bors-servo <release+servo@mozilla.com> | 2014-04-12 11:04:09 -0400 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2014-04-12 11:04:09 -0400 |
commit | c27b31d9c94bb304dad0362a180845dec20fdee7 (patch) | |
tree | 86ba3c2e60355d7f17d2025a6a167a29215e2078 | |
parent | b174a6439bffe849d368b6709b143b9225894026 (diff) | |
parent | 07cf2d095d1978395fc0133a119c8ac0f1a275f6 (diff) | |
download | servo-c27b31d9c94bb304dad0362a180845dec20fdee7.tar.gz servo-c27b31d9c94bb304dad0362a180845dec20fdee7.zip |
auto merge of #2098 : Manishearth/servo/ref-noteq, r=metajack
See #2090
One reftest compares a green image to a white div. The other has green text being compared with normal text.
If necessary, I can add some absolute positioning ones.
-rw-r--r-- | src/test/ref/basic.list | 2 | ||||
-rw-r--r-- | src/test/ref/noteq_500x300_white.html | 5 | ||||
-rw-r--r-- | src/test/ref/noteq_attr_exists_selector.html | 10 |
3 files changed, 17 insertions, 0 deletions
diff --git a/src/test/ref/basic.list b/src/test/ref/basic.list index 55b6aad9506..2c90b167728 100644 --- a/src/test/ref/basic.list +++ b/src/test/ref/basic.list @@ -27,10 +27,12 @@ # inline_border_a.html inline_border_b.html == anon_block_inherit_a.html anon_block_inherit_b.html == attr_exists_selector.html attr_exists_selector_ref.html +!= noteq_attr_exists_selector.html attr_exists_selector_ref.html == data_img_a.html data_img_b.html == background_style_attr.html background_ref.html == background_external_stylesheet.html background_ref.html == block_image.html 500x300_green.html +!= block_image.html noteq_500x300_white.html # == simple_iframe.html simple_iframe_ref.html -- disabled due to iframe crashiness == object_element_a.html object_element_b.html == height_compute_reset.html height_compute.html diff --git a/src/test/ref/noteq_500x300_white.html b/src/test/ref/noteq_500x300_white.html new file mode 100644 index 00000000000..af89ba927e1 --- /dev/null +++ b/src/test/ref/noteq_500x300_white.html @@ -0,0 +1,5 @@ +<html> +<body> +<div style="width: 500px; height: 300px; background-color: #fff;"></div> +</body> +</html> diff --git a/src/test/ref/noteq_attr_exists_selector.html b/src/test/ref/noteq_attr_exists_selector.html new file mode 100644 index 00000000000..58bce6d5d39 --- /dev/null +++ b/src/test/ref/noteq_attr_exists_selector.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> + <head> + <title>Attribute exists selector: [foo]</title> + </head> + <body> + <p>This text should be green.</p> + <p>This text should be black.</p> + </body> +</html> |