Index: test/browser/elemHideEmulation.js |
=================================================================== |
--- a/test/browser/elemHideEmulation.js |
+++ b/test/browser/elemHideEmulation.js |
@@ -384,16 +384,21 @@ |
}).catch(unexpectedError.bind(test)).then(() => test.done()); |
} |
exports.testPseudoClassHasSelectorWithHasAndWithSuffixSibling = function(test) |
{ |
runTestPseudoClassHasSelectorWithHasAndWithSuffixSibling(test, "div:-abp-has(:-abp-has(div.inside)) + div > div"); |
}; |
+exports.testPseudoClassHasSelectorWithHasAndWithSuffixSibling2 = function(test) |
+{ |
+ runTestPseudoClassHasSelectorWithHasAndWithSuffixSibling(test, "div:-abp-has(:-abp-has(> div.inside)) + div > div"); |
Wladimir Palant
2017/08/10 13:39:47
It's probably a good idea to test whether :scope a
Wladimir Palant
2017/08/10 13:42:17
Sorry, that should rather be "div:-abp-has(> body
hub
2017/08/14 14:25:32
Done.
|
+}; |
hub
2017/07/20 19:21:42
This is the test that was removed as it failed.
|
+ |
exports.testPseudoClassHasSelectorWithPropSelector = function(test) |
{ |
let parent = createElementWithStyle("{}"); |
let child = createElementWithStyle("{background-color: #000}", parent); |
applyElemHideEmulation( |
["div:-abp-has(:-abp-properties(background-color: rgb(0, 0, 0)))"] |
).then(() => |
{ |