Commit 75973ee7 authored by kmccullough@apple.com's avatar kmccullough@apple.com

2009-04-24 Kevin McCullough <kmccullough@apple.com>

        When I moved the files I forgot to update the location of the image!

        * platform/mac/editing/deleting/deletionUI-differing-background-expected.txt: Added.
        * platform/mac/editing/deleting/deletionUI-differing-background.html: Added.



git-svn-id: svn://svn.chromium.org/blink/trunk@42834 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 0ca8ac39
2009-04-24 Kevin McCullough <kmccullough@apple.com>
When I moved the files I forgot to update the location of the image!
* platform/mac/editing/deleting/deletionUI-differing-background-expected.txt: Added.
* platform/mac/editing/deleting/deletionUI-differing-background.html: Added.
2009-04-24 Kevin McCullough <kmccullough@apple.com> 2009-04-24 Kevin McCullough <kmccullough@apple.com>
- Build fix. Removed this test until I can figure out why it's failing. - Build fix. Removed this test until I can figure out why it's failing.
......
This tests if the deletion UI will show on elements with different background colors or images. This test can be run by DRT but not in the browser.
sameBackground HAS deletion UI
differentBackgroundColor HAS deletion UI
differentBackgroundImage HAS deletion UI
fullyTransparentChildWithNonTransparentParent has NO deletion UI
nonTransparentChildWithSemiTransparentParent HAS deletion UI
fullyTransparentChildWithSemiTransparentParent has NO deletion UI
nonTransparentChildWithFullyTransparentParent HAS deletion UI
fullyTransparentChildWithFullyTransparentParent has NO deletion UI
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<style type="text/css">
div {rgba(255, 255, 255, 0); width:51; height:51;}
#sameBackground {background-color:white}
#differentBackgroundColor {background-color:black}
#differentBackgroundImage {background-image:url("../../../../fast/images/resources/boston.gif")}
#semiTransparentParent {background-color:rgba(255, 0, 0, .5)}
#fullyTransparentParent {background-color:rgba(255, 0, 0, 0)}
#fullyTransparentChildWithNonTransparentParent {background-color:rgba(255, 255, 255, 0)}
#nonTransparentChildWithSemiTransparentParent {background-color:rgba(255, 0, 0, 1)}
#fullyTransparentChildWithSemiTransparentParent {background-color:rgba(255, 0, 0, 0)}
#nonTransparentChildWithFullyTransparentParent {background-color:rgba(255, 0, 0, 1)}
#fullyTransparentChildWithFullyTransparentParent {background-color:rgba(255, 0, 0, 0)}
</style>
<script src="resources/deletionUI-helpers.js"></script>
<script>
function test()
{
if (window.layoutTestController)
layoutTestController.dumpAsText();
determineDeletionUIExistence("sameBackground");
determineDeletionUIExistence("differentBackgroundColor");
determineDeletionUIExistence("differentBackgroundImage");
determineDeletionUIExistence("fullyTransparentChildWithNonTransparentParent");
determineDeletionUIExistence("nonTransparentChildWithSemiTransparentParent");
determineDeletionUIExistence("fullyTransparentChildWithSemiTransparentParent");
determineDeletionUIExistence("nonTransparentChildWithFullyTransparentParent");
determineDeletionUIExistence("fullyTransparentChildWithFullyTransparentParent");
}
</script>
</head>
<body onload="test()">
<p>This tests if the deletion UI will show on elements with different background colors or images. This test can be run by DRT but not in the browser.</p>
<div id="console"></div>
<div contenteditable="true" style="padding: 1em;">
<div id="sameBackground" class="needsDeletionUI"><br></div>
<div id="differentBackgroundColor" class="needsDeletionUI"><br></div>
<div id="differentBackgroundImage" class="needsDeletionUI"><br></div>
<div id="fullyTransparentChildWithNonTransparentParent" class="needsDeletionUI"><br></div>
<div id="semiTransparentParent">
<div id="nonTransparentChildWithSemiTransparentParent" class="needsDeletionUI"><br></div>
<div id="fullyTransparentChildWithSemiTransparentParent" class="needsDeletionUI"><br></div>
</div>
<div id="fullyTransparentParent">
<div id="nonTransparentChildWithFullyTransparentParent" class="needsDeletionUI"><br></div>
<div id="fullyTransparentChildWithFullyTransparentParent" class="needsDeletionUI"><br></div>
</div>
<div>
</body>
</html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment