Fix pseudoelement rendering (with nth-child selectors etc.)

This commit is contained in:
Niklas von Hertzen
2014-10-06 22:46:43 +03:00
parent d5430070a2
commit e103ad8219
8 changed files with 175 additions and 53 deletions

View File

@ -6,9 +6,9 @@
<script type="text/javascript" src="../test.js"></script>
<style>
:root .text *::before {
content:" root before!";
content:" root before!";
}
.text *::before {
content:" before!";
}
@ -27,6 +27,7 @@
.background *::before{
background: url(../assets/image_1.jpg);
border: 5px solid red;
}
.background *::after{