DescriptionSplit StyleSurroundData::margin into four individual Lengths.
In StyleSurroundData, the margin longhand properties are stored in a
single LengthBox. This makes it difficult to generate because the
generator assumes that properties don't share storage.
This patch splits the LengthBox margin into four Lengths: margin_left,
margin_right, margin_top, margin_bottom. This enables us to generate
the margin properties properly.
This patch also adds a MarginEqual helper function to check if two
margins have the same value.
BUG=628043
Review-Url: https://codereview.chromium.org/2824973002
Cr-Commit-Position: refs/heads/master@{#466233}
Committed: https://chromium.googlesource.com/chromium/src/+/786615ba373b0e7a6e488364c49f2cf56942de3f
Patch Set 1 #
Total comments: 6
Patch Set 2 : Address comments #Patch Set 3 : Rebase #
Dependent Patchsets: Messages
Total messages: 37 (26 generated)
|