-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vaev-style: Fixed infix selectors matching.
- Loading branch information
1 parent
7168dd9
commit 9b320f0
Showing
3 changed files
with
154 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<test id="slect-class"> | ||
<container> | ||
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"> | ||
|
||
<head> | ||
<style> | ||
body { | ||
margin: 0px; | ||
} | ||
|
||
section { | ||
width: 200px; | ||
height: 200px; | ||
background: #ddd; | ||
position: relative; | ||
} | ||
|
||
div { | ||
width: 100px; | ||
height: 100px; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<section> | ||
<slot /> | ||
</section> | ||
</body> | ||
|
||
</html> | ||
</container> | ||
|
||
<rendering> | ||
<div class="klass" style="background-color: green;" /> | ||
</rendering> | ||
|
||
<rendering> | ||
<div class="klass" /> | ||
<style> | ||
.klass { | ||
background-color: green; | ||
} | ||
</style> | ||
</rendering> | ||
|
||
|
||
<error> | ||
<div id="klass" /> | ||
<style> | ||
.klass { | ||
background-color: green; | ||
} | ||
</style> | ||
</error> | ||
|
||
<error> | ||
</error> | ||
</test> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<test id="select-descendant"> | ||
<container> | ||
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"> | ||
|
||
<head> | ||
<style> | ||
body { | ||
margin: 0px; | ||
} | ||
|
||
section { | ||
width: 200px; | ||
height: 200px; | ||
background: #ddd; | ||
position: relative; | ||
} | ||
|
||
div { | ||
width: 100px; | ||
height: 100px; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<section> | ||
<slot /> | ||
</section> | ||
</body> | ||
|
||
</html> | ||
</container> | ||
|
||
<rendering> | ||
<div class="klass" style="background-color: green;" /> | ||
</rendering> | ||
|
||
<error> | ||
</error> | ||
|
||
<rendering> | ||
<div class="cool"> | ||
<div class="klass" /> | ||
</div> | ||
|
||
<style> | ||
.cool .klass { | ||
background-color: green; | ||
} | ||
</style> | ||
</rendering> | ||
|
||
<error> | ||
<div> | ||
<div class="klass" /> | ||
</div> | ||
|
||
<style> | ||
.cool .klass { | ||
background-color: green; | ||
} | ||
</style> | ||
</error> | ||
|
||
<rendering> | ||
<div class="cool"> | ||
<div> | ||
<div> | ||
<div> | ||
<div> | ||
<div class="klass" /> <!-- This is peek react dev right here :^) --> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<style> | ||
.cool .klass { | ||
background-color: green; | ||
} | ||
</style> | ||
</rendering> | ||
</test> |