diff options
author | Moonchild <moonchild@palemoon.org> | 2019-09-29 13:54:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-29 13:54:29 +0200 |
commit | 206c149adcb9f187307b412b0f8987e6aaaba9c8 (patch) | |
tree | d520c6af8bea76fef65321a074dc59d1a88ccff0 /layout/style | |
parent | 81db54a1cbbaf9a8cbc64fcf8b232b0f1f13d14f (diff) | |
parent | 30d65c382f9404a31c46c9976a3b170273fd9509 (diff) | |
download | UXP-206c149adcb9f187307b412b0f8987e6aaaba9c8.tar UXP-206c149adcb9f187307b412b0f8987e6aaaba9c8.tar.gz UXP-206c149adcb9f187307b412b0f8987e6aaaba9c8.tar.lz UXP-206c149adcb9f187307b412b0f8987e6aaaba9c8.tar.xz UXP-206c149adcb9f187307b412b0f8987e6aaaba9c8.zip |
Merge pull request #1237 from g4jc/css-work
CSS Grid Improvements
Diffstat (limited to 'layout/style')
-rw-r--r-- | layout/style/nsCSSPropList.h | 2 | ||||
-rw-r--r-- | layout/style/nsStyleStruct.h | 2 | ||||
-rw-r--r-- | layout/style/test/property_database.js | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/layout/style/nsCSSPropList.h b/layout/style/nsCSSPropList.h index 2049f70e8..07db6d3dd 100644 --- a/layout/style/nsCSSPropList.h +++ b/layout/style/nsCSSPropList.h @@ -1499,7 +1499,7 @@ CSS_PROP_COLUMN( CSS_PROPERTY_PARSE_VALUE | CSS_PROPERTY_VALUE_NONNEGATIVE, "", - VARIANT_HL | VARIANT_NORMAL | VARIANT_CALC, + VARIANT_HLP | VARIANT_NORMAL | VARIANT_CALC, nullptr, offsetof(nsStyleColumn, mColumnGap), eStyleAnimType_Coord) diff --git a/layout/style/nsStyleStruct.h b/layout/style/nsStyleStruct.h index c8182b8f1..b257c6bb5 100644 --- a/layout/style/nsStyleStruct.h +++ b/layout/style/nsStyleStruct.h @@ -3495,7 +3495,7 @@ struct MOZ_NEEDS_MEMMOVABLE_MEMBERS nsStyleColumn uint32_t mColumnCount; // [reset] see nsStyleConsts.h nsStyleCoord mColumnWidth; // [reset] coord, auto - nsStyleCoord mColumnGap; // [reset] coord, normal + nsStyleCoord mColumnGap; // [reset] <length-percentage> | normal mozilla::StyleComplexColor mColumnRuleColor; // [reset] uint8_t mColumnRuleStyle; // [reset] diff --git a/layout/style/test/property_database.js b/layout/style/test/property_database.js index 272931c15..c75f7b498 100644 --- a/layout/style/test/property_database.js +++ b/layout/style/test/property_database.js @@ -1438,7 +1438,7 @@ var gCSSProperties = { inherited: false, type: CSS_TYPE_LONGHAND, initial_values: [ "normal", "1em", "calc(-2em + 3em)" ], - other_values: [ "2px", "4em", + other_values: [ "2px", "1em", "4em", "3%", "calc(3%)", "calc(1em - 3%)", "calc(2px)", "calc(-2px)", "calc(0px)", @@ -1448,7 +1448,7 @@ var gCSSProperties = { "calc(25px*3)", "calc(3*25px + 5em)", ], - invalid_values: [ "3%", "-1px", "4" ] + invalid_values: [ "-3%", "-1px", "4" ] }, "-moz-column-gap": { domProp: "MozColumnGap", |