Comments (1)
@CITguy
I will consider this pseudo-class addition in a future release. In the meantime you can load a duplicate instance of "nwsapi"
and extend it to cover your needs by using something like the following:
NW.Dom.registerSelector(
'elementDefined',
/^\:defined/i,
(function(global) {
...
// see details in src/module/nwsapi-jquery.js
...
})(this));
from nwsapi.
Related Issues (20)
- The `:nth-child(even)` selector no longer works HOT 1
- Revert to v2.2.2 HOT 15
- Selector with escaped special characters gives SyntaxError
- :scope not working when the context has a class name that uses special characters HOT 3
- Child combinator `>` inside `:not()` is not a valid selector HOT 3
- Regression (2.2.8) surfaced by jsdom: `h1` is not a valid selector HOT 10
- Websites not working (`403` and `404`)
- v2.2.8 introduces SyntaxError: ':focus-visible' is not a valid selector HOT 6
- `SyntaxError: missing ) after argument list` due to missing escaping in `:has()` pseudo-class HOT 1
- h1 + h2 appears to break HOT 4
- New web platform test failures in 2.2.10 HOT 11
- SyntaxError: '>input:-webkit-autofill' is not a valid selector HOT 6
- policy violation nwsapi 2.2.10
- :active and :hover always returning true since 2.2.10 HOT 13
- '' is not a valid selector
- querySelector(<Tag>) is case-sensitive since 2.2.10 HOT 1
- :focus-visible not matched unless element has `autofocus` property set
- Some uses of `:has` throw "not a valid selector" HOT 1
- SyntaxError: '[inert] *):not([tabindex^="-"]):not(:disabled' is not a valid selector
- & nesting selector support?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nwsapi.