added to remote repo
This commit is contained in:
1 parent
8697c9f405
commit
cc599b6e18
8049 files changed
+1096323
No files matched your search
+19
@@ -0,0 +1,19 @@
|
||||
let Selector = require('../selector')
|
||||
|
||||
class PlaceholderShown extends Selector {
|
||||
/**
|
||||
* Return different selectors depend on prefix
|
||||
*/
|
||||
prefixed(prefix) {
|
||||
if (prefix === '-moz-') {
|
||||
return ':-moz-placeholder'
|
||||
} else if (prefix === '-ms-') {
|
||||
return ':-ms-input-placeholder'
|
||||
}
|
||||
return `:${prefix}placeholder-shown`
|
||||
}
|
||||
}
|
||||
|
||||
PlaceholderShown.names = [':placeholder-shown']
|
||||
|
||||
module.exports = PlaceholderShown
|
||||
Reference in new issue
Block a user