summaryrefslogtreecommitdiffstats
path: root/layout/style/nsStyleConsts.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-10-03 14:52:47 +0000
committerMoonchild <moonchild@palemoon.org>2020-10-03 14:52:47 +0000
commitdadef50bdc3c6b546aad9e3231943e41ad3ccb97 (patch)
tree80c79b8882e002803573c8a74a66f275d0601477 /layout/style/nsStyleConsts.h
parent8e18743ab871bed1e1858ed2714a81f017433a2d (diff)
downloadUXP-dadef50bdc3c6b546aad9e3231943e41ad3ccb97.tar
UXP-dadef50bdc3c6b546aad9e3231943e41ad3ccb97.tar.gz
UXP-dadef50bdc3c6b546aad9e3231943e41ad3ccb97.tar.lz
UXP-dadef50bdc3c6b546aad9e3231943e41ad3ccb97.tar.xz
UXP-dadef50bdc3c6b546aad9e3231943e41ad3ccb97.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.h1
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