Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/rendering/non-replaced-elements/phrasing-content-0/br-wbr-content/content-property.tentative.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel=stylesheet href=/fonts/ahem.css>
<link rel=match href=/css/reference/pass_if_square_96px_black.html>
<style>
.test, .ref {
font: 16px/1 Ahem;
margin: 0;
}
.test br {
/* This should have no affect. Per css-content, <string> when applied to elements. */
content: "";
}
</style>
<p>Test passes if there is a square below.</p>
<p class=test>xxxxxx<br>xxxxxx<br>xxxxxx</p>
<p class=ref>xxxxxx<br>xxxxxx<br>xxxxxx</p>