MediaWiki:Word-break testing.css

/* hyphens: none|manual:Default. Words are only hyphenated at &hyphen; or &shy;|auto|initial|inherit word-break: normal|break-all|keep-all|break-word/* deprecated * /|initial|inherit; word-wrap: normal|break-word|initial|inherit; aka overflow-wrap: normal|break-word|anywhere:only on Firefox|inherit|initial; The unset CSS keyword resets a property to its inherited value if it inherits from its parent, and to its initial value if not. .page-Word-break_testing .box { width: 13em; margin: 2px; background: gold; }

.hyphens-none, .h-n { hyphens: none; } .hyphens-manual, .h-m { hyphens: manual; } .hyphens-auto, .h-a { hyphens: auto; } .hyphens-inherit, .h-inh { hyphens: inherit; } .hyphens-initial, .h-init { hyphens: initial; } .hyphens-unset, .h-u { hyphens: unset; } .word-break-normal, .wb-n { word-break: normal; } .word-break-break-all, .wb-ba { word-break: break-all; } .word-break-keep-all, .wb-ka { word-break: keep-all; } .word-break-break-word, .wb-bw /* deprecated */ { word-break: break-word; } .word-break-inherit, .wb-inh { word-break: inherit; } .word-break-initial, .wb-init { word-break: initial; } .word-break-unset, .wb-u { word-break: unset; } .word-wrap-normal, .ww-n { word-wrap: normal; } .word-wrap-break-word, .ww-bw { word-wrap: break-word; } .word-wrap-inherit, .ww-inh { word-wrap: inherit; } .word-wrap-initial, .ww-init { word-wrap: initial; } .word-wrap-unset, .ww-u { word-wrap: unset; } .overflow-wrap-normal, .ow-n{ overflow-wrap: normal; } .overflow-wrap-break-word, .ow-bw { overflow-wrap: break-word; } .overflow-wrap-anywhere, .ow-a { /*only on Firefox*/ overflow-wrap: anywhere; } .overflow-wrap-inherit, .ow-inh { overflow-wrap: inherit; } .overflow-wrap-initial, .ow-init { overflow-wrap: initial; } .overflow-wrap-unset, .ow-u { overflow-wrap: unset; }