Revision bb80e224f4d801dc6bd21b6e330cce5fe3fa8055 authored by Henrik Skupin on 24 April 2018, 21:19:20 UTC, committed by jgraham on 01 May 2018, 09:56:37 UTC
After closing the last top-level browsing context, the session will be closed too. bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1455282 gecko-commit: e60e61507ef4a95ab2456d13126f6fef9086109a gecko-integration-branch: autoland gecko-reviewers: ato
1 parent 8b9f853
wrap-flow-002.html
<!DOCTYPE HTML>
<html>
<head>
<title>CSS Exclusions Test: wrap-flow property set to start</title>
<link rel="author" title="Jacob Goldstein" href="mailto:jacobg@adobe.com">
<link rel="help" href="http://www.w3.org/TR/css3-exclusions/#wrap-flow-property">
<meta name="flags" content="ahem dom">
<meta name="assert" content="Text should flow from the beginning of the line to the exclusion, as well as above and below">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/helper.js"></script>
<style>
* {
margin: 0px;
padding: 0px;
}
.exclusion {
wrap-flow: start;
position: absolute;
top: 40px;
left: 40px;
width: 60px;
height: 25px;
background: blue;
}
#content {
width: 400px;
line-height: 12px;
font: 12px Ahem;
}
</style>
</head>
<body>
<div class="exclusion"></div>
<div id="content">
<span id="linesAbove">ethical<BR>beer<BR>craft<BR></span>
<span id="lineLeft1">foo</span>
<span id="lineLeft2">sed</span>
<span id="linesBelow">Vegan<BR>cliche<BR>retro</span>
</div>
<div id="log"></div>
<script type="text/javascript">
test(function() {assert_equals(checkLinePos("lineLeft1",36,"top"), true)}, "Verify top of the 'lineLeft1' span is positioned correctly");
test(function() {assert_equals(checkLinePos("lineLeft2",48,"top"), true)}, "Verify top of the 'lineLeft2' span is positioned correctly");
test(function() {assert_equals(checkLinePos("lineLeft2",36,"right"), true)}, "Verify right of the 'lineLeft2' span is positioned correctly");
test(function() {assert_equals(checkLinePos("linesBelow",65,"top"), true)}, "Verify top of the 'linesBelow' span is positioned correctly");
</script>
</body>
</html>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...