blob: 0cf9e93fd3fd09eb53482603e6448c42f0114b7e [file] [log] [blame]
<style id="style">
test { font-weight: bold !important; font-variant: small-caps !important; font-style: italic !important; }
</style>
<p>
Test for <i><a href="rdar://problem/6065547">rdar://problem/6065547</a>
REGRESSION (r34879): "Subject" in unread emails in Yahoo mail is not shown in bold</i>.
</p>
<pre id="console"></pre>
<script>
function log(message)
{
document.getElementById("console").appendChild(document.createTextNode(message + "\n"));
}
if (window.testRunner)
testRunner.dumpAsText();
var styleDeclaration = document.getElementById("style").sheet.rules[0].style;
for (var i = 0; i < styleDeclaration.length; ++i) {
var propertyName = styleDeclaration[i];
var priority = styleDeclaration.getPropertyPriority(propertyName);
log("Property '" + propertyName + "' has priority '" + priority + "'.");
}
</script>