File tree 1 file changed +18
-5
lines changed
1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -1034,9 +1034,10 @@ Line Breaking Details</h3>
1034
1034
1035
1035
<div class="example" id=jp-title-break>
1036
1036
<style>
1037
- #jp-title-break samp {
1038
- font-size: 2em;
1039
- max-width: 9em;
1037
+ #jp-title-break td samp,
1038
+ #jp-title-break td pre {
1039
+ font-size: 1.5em;
1040
+ width: 9em;
1040
1041
line-height: 2;
1041
1042
padding: 0.5em 1em;
1042
1043
display: block;
@@ -1060,13 +1061,25 @@ Line Breaking Details</h3>
1060
1061
1061
1062
<table class=data>
1062
1063
<tr>
1064
+ <td>
1063
1065
<th><code highlight=css> h1 { word-break: normal }</code>
1066
+ <th><code highlight=css> h1 { word-break: keep-all }</code>
1067
+ <tr>
1068
+ <th> Expected rendering
1069
+ <td>
1070
+ <pre lang=ja>
1071
+ 窓ぎわのトットちゃ
1072
+ ん</pre>
1073
+ <td>
1074
+ <pre lang=ja>
1075
+ 窓ぎわの
1076
+ トットちゃん</pre>
1077
+ <tr>
1078
+ <th> Result in your browser
1064
1079
<td>
1065
1080
<samp lang=ja>
1066
1081
窓ぎわの<wbr> トットちゃん
1067
1082
</samp>
1068
- <tr>
1069
- <th><pre><code highlight=css> h1 { word-break: keep-all }</code>
1070
1083
<td>
1071
1084
<samp style="word-break:keep-all" lang=ja>
1072
1085
窓ぎわの<wbr> トットちゃん
You can’t perform that action at this time.
0 commit comments