mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 14:20:14 +02:00
MozReview-Commit-ID: DfvN9mAFYhI --HG-- rename : testing/web-platform/tests/conformance-checkers/html-svg/animate-elem-77-t-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/animate-elem-77-t-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html-svg/linking-a-10-f-novalid.html => testing/web-platform/tests/conformance-checkers/html-svg/linking-a-10-f-isvalid.html rename : testing/web-platform/tests/conformance-checkers/html/elements/picture/srcset-microsyntax-leading-dot-x-novalid.html => testing/web-platform/tests/conformance-checkers/html/elements/picture/srcset-microsyntax-leading-dot-x-valid.html rename : testing/web-platform/tests/content-security-policy/_unapproved/script-nonces-hidden.html.headers => testing/web-platform/tests/content-security-policy/nonce-hiding/script-nonces-hidden.tentative.html.headers rename : testing/web-platform/tests/content-security-policy/_unapproved/svgscript-nonces-hidden.html.headers => testing/web-platform/tests/content-security-policy/nonce-hiding/svgscript-nonces-hidden.tentative.html.headers rename : testing/web-platform/tests/html/semantics/interactive-elements/context-menus/contextmenu-event-manual.htm => testing/web-platform/tests/html/webappapis/scripting/events/contextmenu-event-manual.htm
34 lines
1.4 KiB
HTML
34 lines
1.4 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>CSS Test: Content with a 'attr()' function as a value selecting 'onmouseout'</title>
|
|
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
|
|
<link rel="match" href="../../reference/only_pass_parens_semicolon.html"/>
|
|
<meta name="flags" content="dom" />
|
|
<meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'onmouseout'." />
|
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
|
<style type="text/css">
|
|
div:before
|
|
{
|
|
content: attr(onmouseout);
|
|
color: green;
|
|
}
|
|
div
|
|
{
|
|
border: 2px solid black;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if only the word "PASS();" appears in the box below. Fail if there is any other additional text.</p>
|
|
<div onmouseout="PASS();"></div>
|
|
<script type="text/javascript">
|
|
function PASS()
|
|
{
|
|
return false;
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|