<!DOCTYPE HTML >
<html ><head >
<meta charset="utf-8" >
<title >Testcases for overflow-clip-box:content-box</title >
<style type="text/css" >
html ,body {
color:black; background-color:white; font :16 px monospace; padding:0 ; margin:7 px;
}
.block {
border:1 px solid grey; height:50 px; width:200 px; padding:20 px;
overflow:auto; overflow-clip-box:padding-box;
line-height:1 px;
}
.rel { position:relative; }
.mask1 { position:absolute; width:20 px; background:white; top:0 ; bottom:0 ; right:0 ; }
.mask2 { position:absolute; height:20 px; background:white; top:0 ; left:40 px; right:0 ; }
mask {
display:block;
position:absolute;
left: -1 px;
bottom: -1 px;
height: 25 px;
width: 80 %;
background:black;
}
</style >
</head >
<body >
<div style ="position:relative;" >
<div contenteditable=true spellcheck=false tabindex=0 id=x class="rel block" > XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<span style ="padding-right:20px" >X</span ><div class=mask2></div ><div class=mask1></div ></div >
<mask></mask>
</div >
<script >
var x = document.getElementById('x' );
x.focus();
window.getSelection().collapse(x,0 );
</script >
</body >
</html >
Messung V0.5 in Prozent C=86 H=96 G=90
¤ Dauer der Verarbeitung: 0.8 Sekunden
(vorverarbeitet am 2026-06-04)
¤
*© Formatika GbR, Deutschland