rmr-util 1.1.122 → 1.1.126

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -167,7 +167,7 @@
167
167
  }
168
168
 
169
169
  return root.querySelector(arg);
170
- } else if (arg instanceof HTMLElement) {
170
+ } else if (arg instanceof Element) {
171
171
  return arg;
172
172
  }
173
173
 
@@ -181,7 +181,7 @@
181
181
  * @return {Bool}
182
182
  */
183
183
  isAnElement = function(arg) {
184
- return arg instanceof HTMLElement;
184
+ return arg instanceof Element;
185
185
  },
186
186
 
187
187
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rmr-util",
3
- "version": "1.1.122",
3
+ "version": "1.1.126",
4
4
  "description": "JS & CSS for your browser",
5
5
  "url": "https://davidfmiller.github.io/rmr-util/",
6
6
  "license": "ISC",
@@ -43,12 +43,20 @@ div.grecaptcha-badge {
43
43
  }
44
44
  }
45
45
 
46
+ &[data-rmr-aspect="4-3"] {
47
+ &:before {
48
+ padding-bottom: 75%;
49
+ }
50
+ }
51
+
52
+
46
53
  &[data-rmr-aspect="2-1"] {
47
54
  &:before {
48
55
  padding-bottom: 50%;
49
56
  }
50
57
  }
51
58
 
59
+ & > svg,
52
60
  & > div,
53
61
  & > img,
54
62
  & > a,