diff options
author | Moonchild <moonchild@palemoon.org> | 2020-10-03 14:52:47 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-10-06 09:31:51 +0000 |
commit | 17b4d049f487c412ed319e81de6d49a7d07d0f44 (patch) | |
tree | 7320ebee8b132eecc73644021aa8e6b09c6ab5ef /layout/style/nsStyleConsts.h | |
parent | abf1d5a099ea8c3fbd6912ff7b199791994cb932 (diff) | |
download | UXP-17b4d049f487c412ed319e81de6d49a7d07d0f44.tar UXP-17b4d049f487c412ed319e81de6d49a7d07d0f44.tar.gz UXP-17b4d049f487c412ed319e81de6d49a7d07d0f44.tar.lz UXP-17b4d049f487c412ed319e81de6d49a7d07d0f44.tar.xz UXP-17b4d049f487c412ed319e81de6d49a7d07d0f44.zip |
Issue #1666 - Implement overflow-wrap: anywhere
This aligns with the current spec regarding overflow-wrap: break-word and
overflow-wrap: anywhere in if it affects intrinsic sized due to considering
soft-wrap opportunities or not.
See CSS Text Module Level 3, Editor’s Draft, 1 October 2020, Section 5.5
Diffstat (limited to 'layout/style/nsStyleConsts.h')
-rw-r--r-- | layout/style/nsStyleConsts.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layout/style/nsStyleConsts.h b/layout/style/nsStyleConsts.h index f54387aa8..e6a0cc65a 100644 --- a/layout/style/nsStyleConsts.h +++ b/layout/style/nsStyleConsts.h @@ -997,6 +997,7 @@ enum class StyleDisplay : uint8_t { // See nsStyleText #define NS_STYLE_OVERFLOWWRAP_NORMAL 0 #define NS_STYLE_OVERFLOWWRAP_BREAK_WORD 1 +#define NS_STYLE_OVERFLOWWRAP_ANYWHERE 2 // See nsStyleText #define NS_STYLE_HYPHENS_NONE 0 |