<!-- This is a bunch of tests that verify we properly handle weird corner cases in shadow bounding boxes.
Problem 1: parts of text that are seemingly hidden (as in overflow:hidden) may actually be visible in shadows, because they include an offset. We can mess this up in two ways:
1a. we completely culled a glyph from existence for being out of view
1b. we have all the glyphs but are clipping parts out in the shadow
Problem 2: shadows that are defined by the ::selection pseudo-class are trapped inside the local selection rect of the item. This means they *can and should* sometimes get weirdly clipped (shadow6 and shadow7 in version 2 of this test). Also just more generally selections take a bunch of special paths in text styling so they are included to make sure both paths are tested.
We messed all of these up for webrender because it handles shadows in a very different way from non-webrender.
The selection-box is inherently implementation-specific, so I apologize in advanced if this test breaks when you tweak how selections work. Hopefully only shadow6 needs to be tweaked?
-->
<html class="reftest-wait"><head>
<script type="text/javascript">
function onload() { var range = document.createRange();
range.selectNodeContents(document.getElementById("selectMe")); var sel = window.getSelection();
sel.removeAllRanges();
sel.addRange(range);
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.