DescriptionSplit EBreak enum into EBreakBetween & EBreakInside
This change splits EBreak into two enums that are ready for automatic
generation.
Before this change:
* The EBreak enum includes all values applicable to break-before &
break-after properties.
* A subset of these values are applicable to break-inside & this
subset is enforced with some asserts.
After this change:
* EBreakBetween includes all values applicable to break-before &
break-after.
* EBreakInside includes values applicable to break-inside.
Client code working with EBreak has been made specific to the
appropriate new enum. I burrowed upwards through the call chain using
code search to find out / verify whether each client was using EBreak to
store EBreakBetween-like values (most often), EBreakInside-like values
(sometimes), or both (rarely).
I chose the name "EBreakBetween" because the main clients in /layout use
"Between" for the same thing.
BUG=628043
Review-Url: https://codereview.chromium.org/2682573002
Cr-Commit-Position: refs/heads/master@{#449903}
Committed: https://chromium.googlesource.com/chromium/src/+/cc78776e3214ce8cd60288796a20baf7f98e7b52
Patch Set 1 #
Total comments: 1
Patch Set 2 : Use more specific valueForFoo function names #
Total comments: 6
Patch Set 3 : Update references to EBreak in ComputedStyle.h comments #Depends on Patchset: Dependent Patchsets: Messages
Total messages: 30 (15 generated)
|