mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +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
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