OLD | NEW |
---|---|
(Empty) | |
1 <style> | |
2 body { | |
3 width: 600px; | |
4 } | |
5 | |
6 #background { | |
7 position: absolute; | |
8 top: 8px; | |
9 left: 8px; | |
10 z-index: -1; | |
11 width: 200px; | |
12 height: 200px; | |
13 background: lightgreen; | |
14 } | |
15 | |
16 #triangleLeft { | |
17 width: 200px; | |
18 height: 200px; | |
19 float: left; | |
20 shape-outside: polygon(0 0, 100% 50%, 0 100%); | |
21 -webkit-clip-path: polygon(0 0, 100% 50%, 0 100%); | |
22 shape-margin: 4px; | |
23 background-color: yellow; | |
24 } | |
25 </style> | |
26 | |
27 <div id="triangleLeft"></div>Although the Culture was originated by humanoid spe cies, subsequent interactions with other civilizations have introduced many non- humanoid species into the Culture (including some former enemy civilizations), t hough the majority of the biological Culture is still pan-human. Little uniformi ty exists in the Culture, and its citizens are such by choice, free to change ph ysical form and even species (though some stranger biological conversions are ir reversible, and conversion from biological to artificial sentience is considered to be what is known as an Unusual Life Choice). All members are also free to jo in, leave, and rejoin, or indeed declare themselves to be, say, 80% Culture. | |
28 | |
29 <script src="../../../resources/js-test.js"></script> | |
30 <script> | |
31 if (window.testRunner) | |
32 testRunner.dumpAsText(); | |
33 // select 'other' using double-click. | |
34 eventSender.mouseMoveTo(100, 30); | |
35 eventSender.mouseDown(); | |
36 eventSender.mouseUp(); | |
37 eventSender.mouseDown(); | |
38 eventSender.mouseUp(); | |
39 // verify that 'other' was selected | |
40 shouldBe('window.getSelection().toString()', '"other"'); | |
krit
2014/04/16 20:08:20
Can you do a positive check as well? Also, since t
| |
41 </script> | |
OLD | NEW |