Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 57efa99

Browse files
committed
update col in negative match; remove negative match tests - these are false negatives due to CM
1 parent 05067f7 commit 57efa99

2 files changed

Lines changed: 1 addition & 13 deletions

File tree

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.negative-match {
22
clip-path: circle();
33
/* shape-inside: circle(); */
4-
shape-inside: circle;
54
}

src/extensions/default/CSSShapesEditor/unittests.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -328,20 +328,9 @@ define(function (require, exports, module) {
328328
});
329329

330330
it("should not match commented-out shape-inside property", function () {
331-
constructModelAtPos(2, 27);
331+
constructModelAtPos(2, 20);
332332
expect(main.model.get("property")).not.toBe("shape-inside");
333333
});
334-
335-
it("should not match non-functional value", function () {
336-
constructModelAtPos(3, 27);
337-
expect(main.model.get("value")).not.toBe("circle");
338-
expect(main.model.get("value")).toBe(null);
339-
});
340-
341-
it("should not match polygon-like value", function () {
342-
constructModelAtPos(4, 27);
343-
expect(main.model.get("value")).not.toBe("fake-polygon()");
344-
});
345334
});
346335

347336
describe("Find selector in embedded <style> blocks", function () {

0 commit comments

Comments
 (0)