Closed Bug 14524 Opened 25 years ago Closed 25 years ago

CSS clip causes component not to display.

Categories

(Core :: CSS Parsing and Computation, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: dloria, Assigned: peterl-retired)

Details

Milestone 9.

stylesheet entry:
BODY
{
	background: #000000;
	color: #ffffff;
	font-family: 'Arial', serif;
	font-size: 18px;
	font-style: normal;
	font-weight: normal;
    text-decoration: none;
}
SPAN
{
	background: #0000FF;
	color: #ffffff;
	position: absolute;
	top: 0px;
	left: 0px;
	overflow: hidden;
	visibility: visible;
	z-index: 10;
}
.YH
{
	font-family: 'David','Courier New';
	font-size: 22px;
    color: #ffff00;
	height: 30px;
}
#s2
{
        left: 125px;
	top: 446px;
	width: 390px;
	clip: rect(0,390,20,0);
}

html entry:
<SPAN ID="s2" CLASS="YH">
	Tuesday,11th October 1998
</SPAN>

Removing the clip entry from the style sheet and the text is displayed.
Per CSS spec. You've specified 'overflow: hidden' and clip offsets that give you
an empty clipping region, so nothing displays.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
Verified invalid.
You need to log in before you can comment on or make changes to this bug.