mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
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:
parent
a18633b163
commit
81a0d065f1
8 changed files with 71 additions and 5 deletions
|
@ -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
|
||||
|
|
19
tests/ref/multiple_css_class_a.html
Normal file
19
tests/ref/multiple_css_class_a.html
Normal 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>
|
15
tests/ref/multiple_css_class_b.html
Normal file
15
tests/ref/multiple_css_class_b.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue