Fix test to not depend on hover state. No bug. r=roc.

This commit is contained in:
Boris Zbarsky 2011-12-03 03:29:59 -05:00
parent 6b8258d114
commit 0867046dc6
2 changed files with 14 additions and 0 deletions

View File

@ -2,6 +2,13 @@
<window xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<hbox flex="1">
<html:style>
/* Make sure our splitter's background doesn't depend on its hover styles */
splitter {
background-color: yellow;
-moz-appearance: none;
}
</html:style>
<splitter collapse="before" resizeafter="farthest" width="200" id="s">
</splitter>
</hbox>

View File

@ -3,6 +3,13 @@
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="loaded()">
<hbox flex="1">
<html:style>
/* Make sure our splitter's background doesn't depend on its hover styles */
splitter {
background-color: yellow;
-moz-appearance: none;
}
</html:style>
<script>
function loaded() {
document.documentElement.getBoundingClientRect();