3 <title>Line breaks after ideographic comma or full stop
</title>
7 <div style=
"font-family:'Lucida Grande'; font-size:16pt; text-decoration:underline; width:5em;">
8 <p style=
"border:solid green 1px;">
9 う、<br>texttexttexttext
11 <p style=
"border:solid green 1px;">
12 う。<br>texttexttexttext
15 The following two should look like
“good
”:
16 <div style=
"font-family:'Lucida Grande'; font-size:16pt; text-decoration:underline; width:5em;">
17 <p style=
"border:solid blue 1px;">
18 う、texttexttexttext
20 <p style=
"border:solid blue 1px;">
21 う。texttexttexttext
25 <div style=
"font-family:'Lucida Grande'; font-size:16pt; text-decoration:underline; width:5em;">
26 <p style=
"border:solid red 1px;">
27 <nobr>う、texttexttexttext
</nobr>
29 <p style=
"border:solid red 1px;">
30 <nobr>う。texttexttexttext
</nobr>
35 if (window
.testRunner
)
36 testRunner
.dumpAsText();
38 function paragraphHeight(paragraphNumber
) {
39 return document
.defaultView
.getComputedStyle(document
.getElementsByTagName("p")[paragraphNumber
], null).getPropertyValue("height")
42 document
.getElementById("result").innerHTML
= (paragraphHeight(0) == paragraphHeight(2) && paragraphHeight(1) == paragraphHeight(3)) ? "PASS" : "FAIL";