3 <title>Line breaks after closing punctuations
</title>
7 <div style=
"font-size:16pt; text-decoration:underline; width:5em;">
8 <p style=
"border:solid green 1px;">
11 <p style=
"border:solid green 1px;">
16 The following two should look like
“good
”:
17 <div style=
"font-size:16pt; text-decoration:underline; width:5em;">
18 <p style=
"border:solid blue 1px;">
21 <p style=
"border:solid blue 1px;">
26 <div style=
"font-size:16pt; text-decoration:underline; width:5em;">
27 <p style=
"border:solid red 1px;">
28 <nobr>(
111111)(
222222)
</nobr>
30 <p style=
"border:solid red 1px;">
31 <nobr>[
111111][
222222]
</nobr>
36 if (window
.testRunner
)
37 testRunner
.dumpAsText();
39 function paragraphHeight(paragraphNumber
) {
40 return document
.defaultView
.getComputedStyle(document
.getElementsByTagName("p")[paragraphNumber
], null).getPropertyValue("height")
43 document
.getElementById("result").innerHTML
= (paragraphHeight(0) == paragraphHeight(2) && paragraphHeight(1) == paragraphHeight(3)) ? "PASS" : "FAIL";