Make use of the list of Atoms in ClassSelector

Make use of the list of Atoms in the class attribute selector
(ClassSelector) in selector_matching.

Fixes #3111
This commit is contained in:
Gilles Leblanc 2014-09-11 23:19:26 -04:00
parent a18633b163
commit 81a0d065f1
8 changed files with 71 additions and 5 deletions

View file

@ -113,3 +113,6 @@ flaky_gpu,flaky_linux == acid2_noscroll.html acid2_ref_broken.html
== abs_float_pref_width_a.html abs_float_pref_width_ref.html
== alpha_png_a.html alpha_png_b.html
== background_image_position_a.html background_image_position_ref.html
# The following tests fails the ref-tests
#== multiple_css_class_a.html multiple_css_class_b.html

View file

@ -0,0 +1,19 @@
<html>
<head>
<style>
.foo {
height: 100px;
}
.bar {
width: 100px;
}
.baz {
background: green;
}
</style>
</head>
<body>
<div class="foo bar baz foobar">
</div>
</body>
</html>

View file

@ -0,0 +1,15 @@
<html>
<head>
<style>
.bar {
height: 100px;
width: 100px;
background: green;
}
</style>
</head>
<body>
<div class="foo bar baz foobar">
</div>
</body>
</html>