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

This commit is contained in:
MoyuScript
2014-10-06 22:46:43 +03:00
parent b80eaf15cd
commit 587e8a73ef
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{