You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<meta name="assert" content="Since the restriction on assigning positioning schemes to the :before and :after pseudo elements was lifted in CSS 2.1, this tests whether 'position:relative' can be correctly applied to both pseudo elements.">
<style type="text/css">
#test:after,
#test:before{
background:blue;
content:"";
display:block;
height:100px;
left:0;
position:relative;
top:-100px;
width:50px;
}
#test:before{
left:50px;
top:0;
}
</style>
</head>
<body>
<p>Test passes if there is a square (four equal sides) below.</p>