.ltr.p { text-indent: -5px; padding-left: 40px; } /* overflow into padding, but not outside the padding edge */
.rtl.p { text-indent: -5px; padding-right: 40px; } /* overflow into padding, but not outside the padding edge */
<script>
function scrolldivs() { var divs = document.getElementsByTagName('div');
for (i = 0; i < divs.length; ++i) { var elm = divs[i];
if (elm.hasAttribute('scroll')) {
if (window.getComputedStyle(elm).direction == 'ltr')
elm.scrollLeft = 8;
else
elm.scrollLeft = -8;
}
}
document.documentElement.removeAttribute('class');
}
window.addEventListener("MozReftestInvalidate", scrolldivs);
</script>
</head>
<body>
<div class="ltr start p hidden">A long line that does not break (overflow:hidden)</div>
<div class="ltr start p auto">A long line that does not break (overflow:auto)</div>
<div class="ltr start p autolong">A long line that does not break (overflow:auto)</div>
<div class="ltr start p scroll">A long line that does not break (overflow:scroll)</div>
<div class="ltr start s hidden">A long line that does not break (overflow:hidden)</div>
<div class="ltr start s auto">A long line that does not break (overflow:auto)</div>
<div class="ltr start s autolong">A long line that does not break (overflow:auto)</div>
<div class="ltr start s scroll">A long line that does not break (overflow:scroll)</div>
<div scroll class="ltr start p hidden">A long line that does not break (overflow:hidden)</div>
<div scroll class="ltr start p auto">A long line that does not break (overflow:auto)</div>
<div scroll class="ltr start p autolong">A long line that does not break (overflow:auto)</div>
<div scroll class="ltr start p scroll">A long line that does not break (overflow:scroll)</div>
<div scroll class="ltr start s hidden">A long line that does not break (overflow:hidden)</div>
<div scroll class="ltr start s auto">A long line that does not break (overflow:auto)</div>
<div scroll class="ltr start s autolong">A long line that does not break (overflow:auto)</div>
<div scroll class="ltr start s scroll">A long line that does not break (overflow:scroll)</div>
<div class="rtl"style="float:right">
<div class="rtl start p hidden">A long line that does not break (overflow:hidden)</div>
<div class="rtl start p auto">A long line that does not break (overflow:auto)</div>
<div class="rtl start p autolong">A long line that does not break (overflow:auto)</div>
<div class="rtl start p scroll">A long line that does not break (overflow:scroll)</div>
<div class="rtl start s hidden">A long line that does not break (overflow:hidden)</div>
<div class="rtl start s auto">A long line that does not break (overflow:auto)</div>
<div class="rtl start s autolong">A long line that does not break (overflow:auto)</div>
<div class="rtl start s scroll">A long line that does not break (overflow:scroll)</div>
<div scroll class="rtl start p hidden">A long line that does not break (overflow:hidden)</div>
<div scroll class="rtl start p auto">A long line that does not break (overflow:auto)</div>
<div scroll class="rtl start p autolong">A long line that does not break (overflow:auto)</div>
<div scroll class="rtl start p scroll">A long line that does not break (overflow:scroll)</div>
<div scroll class="rtl start s hidden">A long line that does not break (overflow:hidden)</div>
<div scroll class="rtl start s auto">A long line that does not break (overflow:auto)</div>
<div scroll class="rtl start s autolong">A long line that does not break (overflow:auto)</div>
<div scroll class="rtl start s scroll">A long line that does not break (overflow:scroll)</div>
</div>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.