diff options
author | FranklinDM <mrmineshafter17@gmail.com> | 2022-04-02 13:46:07 +0800 |
---|---|---|
committer | FranklinDM <mrmineshafter17@gmail.com> | 2022-04-02 23:14:04 +0800 |
commit | 4608ae53aa16b0f6a2ea2a48650d174638835272 (patch) | |
tree | 5176a3b0a08180389761b4701a85d3b1f2f24a7e /devtools | |
parent | 121ee9438ce8b4ce19f718a38d49307b483097fa (diff) | |
download | uxp-4608ae53aa16b0f6a2ea2a48650d174638835272.tar.gz |
Issue #1838 - Part 2: Remove `grid-` prefix from `grid-(column|row)-gap` properties
This removes the `grid` prefix from the gap-related properties of grid since they are now part of the box alignment specification. Former grid-gap* properties were aliased to the unprefixed properties to maintain compatibility.
The previously multi-column layout only `column-gap` property has been modified to apply to the Grid layout (and Flexbox in a following commit), moving the `mColumnGap` member variable from `nsStyleColumn` to `nsStylePosition`.
Notes:
* Bug 1398537 - support for percent values in column-gap for multi-column layout landed as part of Issue #1230. However, it was incomplete because it did not update `nsRuleNode` to allow transformation of percentage values for `column-gap`. This was consequently fixed as part of this commit.
* Bug 1456166 - this might not apply because we don't have that devtools test in UXP
* `nsRuleNode`, `nsCSSParser`, `Declaration`, and other related classes were merged into Stylo. These should be taken into consideration when porting patches from Mozilla.
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=1398482
Diffstat (limited to 'devtools')
0 files changed, 0 insertions, 0 deletions