mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
|
@ -0,0 +1,55 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<title>
|
||||
CSS Regions Test: Selection is downward, begins and ends inside a region containing two other elements -
|
||||
div + img
|
||||
</title>
|
||||
<link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
|
||||
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help">
|
||||
<link href="http://www.w3.org/TR/css3-regions/#the-flow-from-property" rel="help">
|
||||
<link href="http://www.w3.org/TR/css3-regions/#relation-to-document-events" rel="help">
|
||||
<meta content="CSS regions module does not alter the normal processing of events in the document
|
||||
tree. Therefore, mouse selection within a region should contain all of the content dragged over by the mouse,
|
||||
including nested elements." name="assert">
|
||||
<meta content="dom interact" name="flags">
|
||||
<link href="/resources/testharness.css" type="text/css" rel="stylesheet">
|
||||
<link href="support/css/regions-selection.css" type="text/css" rel="stylesheet">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="support/js/selection-test-helper.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<p id="msg">
|
||||
Click on the orange square, keep the mouse button down and drag it to the blue square,
|
||||
release the mouse over the blue square.
|
||||
</p>
|
||||
<div id="beforeRegion">
|
||||
before region before region before region before region before region before region before region before
|
||||
region before region before region before region before region before region before region before region
|
||||
before region before region before region
|
||||
</div>
|
||||
<div id="region"></div>
|
||||
<div id="source">
|
||||
in region
|
||||
<div class="select-point" id="start-select"></div>
|
||||
in region in region in region in region in region in region in region in region in region in region
|
||||
in region in region in region in region in region in region in region in region in region in region in
|
||||
<div id="nestedDiv"> nested div
|
||||
<img src="support/img/cat.png" id="nestedImg"> nested div
|
||||
</div>
|
||||
region in region in region in region in region in region in region in region in region in region in
|
||||
region in region in region in region in region in region in region in region
|
||||
<div class="select-point" id="end-select"></div>in region
|
||||
</div>
|
||||
<div id="afterRegion">
|
||||
after region after region after region after region after region after region after region after region
|
||||
after region after region after region after region after region after region after region after region
|
||||
after region after region after region after region after region
|
||||
</div>
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
runSelectionTest( [ { nodeName: "nestedImg", expected: true } ] );
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue