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/nsCSSProps.cpp | |
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/nsCSSProps.cpp')
-rw-r--r-- | layout/style/nsCSSProps.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layout/style/nsCSSProps.cpp b/layout/style/nsCSSProps.cpp index 24c97cf33..e0cda2488 100644 --- a/layout/style/nsCSSProps.cpp +++ b/layout/style/nsCSSProps.cpp @@ -2284,6 +2284,7 @@ const KTableEntry nsCSSProps::kWordBreakKTable[] = { const KTableEntry nsCSSProps::kOverflowWrapKTable[] = { { eCSSKeyword_normal, NS_STYLE_OVERFLOWWRAP_NORMAL }, { eCSSKeyword_break_word, NS_STYLE_OVERFLOWWRAP_BREAK_WORD }, + { eCSSKeyword_anywhere, NS_STYLE_OVERFLOWWRAP_ANYWHERE }, { eCSSKeyword_UNKNOWN, -1 } }; |