mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
Issue #1914 - Implement white-space: break-spaces
This also simplifies GetCSSWhitespaceToCompressionMode (FFS with the function names, Mozilla!) to be less fragile.
This commit is contained in:
parent
163bce2e81
commit
afbfbcb1e1
9 changed files with 57 additions and 37 deletions
|
|
@ -995,12 +995,13 @@ enum class StyleDisplay : uint8_t {
|
|||
#define NS_STYLE_TABSIZE_INITIAL 8
|
||||
|
||||
// See nsStyleText
|
||||
#define NS_STYLE_WHITESPACE_NORMAL 0
|
||||
#define NS_STYLE_WHITESPACE_PRE 1
|
||||
#define NS_STYLE_WHITESPACE_NOWRAP 2
|
||||
#define NS_STYLE_WHITESPACE_PRE_WRAP 3
|
||||
#define NS_STYLE_WHITESPACE_PRE_LINE 4
|
||||
#define NS_STYLE_WHITESPACE_PRE_SPACE 5
|
||||
#define NS_STYLE_WHITESPACE_NORMAL 0
|
||||
#define NS_STYLE_WHITESPACE_PRE 1
|
||||
#define NS_STYLE_WHITESPACE_NOWRAP 2
|
||||
#define NS_STYLE_WHITESPACE_PRE_WRAP 3
|
||||
#define NS_STYLE_WHITESPACE_PRE_LINE 4
|
||||
#define NS_STYLE_WHITESPACE_PRE_SPACE 5
|
||||
#define NS_STYLE_WHITESPACE_BREAK_SPACES 6
|
||||
|
||||
// See nsStyleText
|
||||
#define NS_STYLE_WORDBREAK_NORMAL 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue