-
-
Notifications
You must be signed in to change notification settings - Fork 75
Closed
Description
I see restrictToPositive
is set to true for marginBottom
(and the tests assert that the value cannot be negative) - is this correct?
const val = parsers.parseMeasurement(v, true); |
Line 230 in ba34962
exports.parseMeasurement = function parseMeasurement(val, restrictToPositive = false) { |
cssstyle/test/properties.test.js
Lines 815 to 817 in ba34962
it("margin-bottom should not set / get negative length", () => { | |
testPropertyValue("margin-bottom", "-10px", ""); | |
}); |
I understood that its value can be positive, zero, or negative (see https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom).
Metadata
Metadata
Assignees
Labels
No labels