зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1147834: tests for overconstrained relative positioning, r=jfkthame
This commit is contained in:
Родитель
7f1b0db94c
Коммит
2e16faf502
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Overconstrained relative positioning</title>
|
||||
<style>
|
||||
.test {
|
||||
border: 1px solid black;
|
||||
height: 200px;
|
||||
width: 400px;
|
||||
}
|
||||
#inner1 {
|
||||
position: relative;
|
||||
left: 0px;
|
||||
top: 20px;
|
||||
height: 180px;
|
||||
width: 360px;
|
||||
background-color: teal;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="test">
|
||||
<div id="inner1"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Overconstrained relative positioning</title>
|
||||
<style>
|
||||
.test {
|
||||
border: 1px solid black;
|
||||
height: 200px;
|
||||
width: 400px;
|
||||
}
|
||||
#inner1 {
|
||||
position: relative;
|
||||
left: 40px;
|
||||
top: 20px;
|
||||
height: 180px;
|
||||
width: 360px;
|
||||
background-color: teal;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="test">
|
||||
<div id="inner1"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Overconstrained relative positioning</title>
|
||||
<style>
|
||||
.test {
|
||||
border: 1px solid black;
|
||||
height: 200px;
|
||||
width: 400px;
|
||||
writing-mode: horizontal-tb;
|
||||
direction: ltr;
|
||||
}
|
||||
#inner1 {
|
||||
position: relative;
|
||||
left: 40px;
|
||||
right: 40px;
|
||||
top: 20px;
|
||||
bottom: 20px;
|
||||
height: 180px;
|
||||
width: 360px;
|
||||
background-color: teal;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="test">
|
||||
<div id="inner1"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Overconstrained relative positioning</title>
|
||||
<style>
|
||||
.test {
|
||||
border: 1px solid black;
|
||||
height: 200px;
|
||||
width: 400px;
|
||||
writing-mode: horizontal-tb;
|
||||
direction: rtl;
|
||||
}
|
||||
#inner1 {
|
||||
position: relative;
|
||||
left: 40px;
|
||||
right: 40px;
|
||||
top: 20px;
|
||||
bottom: 20px;
|
||||
height: 180px;
|
||||
width: 360px;
|
||||
background-color: teal;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="test">
|
||||
<div id="inner1"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Overconstrained relative positioning</title>
|
||||
<style>
|
||||
.test {
|
||||
border: 1px solid black;
|
||||
height: 200px;
|
||||
width: 400px;
|
||||
writing-mode: vertical-lr;
|
||||
direction: ltr;
|
||||
}
|
||||
#inner1 {
|
||||
position: relative;
|
||||
left: 40px;
|
||||
right: 40px;
|
||||
top: 20px;
|
||||
bottom: 20px;
|
||||
height: 180px;
|
||||
width: 360px;
|
||||
background-color: teal;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="test">
|
||||
<div id="inner1"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Overconstrained relative positioning</title>
|
||||
<style>
|
||||
.test {
|
||||
border: 1px solid black;
|
||||
height: 200px;
|
||||
width: 400px;
|
||||
writing-mode: vertical-lr;
|
||||
direction: rtl;
|
||||
}
|
||||
#inner1 {
|
||||
position: relative;
|
||||
left: 40px;
|
||||
right: 40px;
|
||||
top: 20px;
|
||||
bottom: 20px;
|
||||
height: 180px;
|
||||
width: 360px;
|
||||
background-color: teal;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="test">
|
||||
<div id="inner1"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Overconstrained relative positioning</title>
|
||||
<style>
|
||||
.test {
|
||||
border: 1px solid black;
|
||||
height: 200px;
|
||||
width: 400px;
|
||||
writing-mode: vertical-rl;
|
||||
direction: ltr;
|
||||
}
|
||||
#inner1 {
|
||||
position: relative;
|
||||
left: 40px;
|
||||
right: 40px;
|
||||
top: 20px;
|
||||
bottom: 20px;
|
||||
height: 180px;
|
||||
width: 360px;
|
||||
background-color: teal;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="test">
|
||||
<div id="inner1"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Overconstrained relative positioning</title>
|
||||
<style>
|
||||
.test {
|
||||
border: 1px solid black;
|
||||
height: 200px;
|
||||
width: 400px;
|
||||
writing-mode: vertical-rl;
|
||||
direction: rtl;
|
||||
}
|
||||
#inner1 {
|
||||
position: relative;
|
||||
left: 40px;
|
||||
right: 40px;
|
||||
top: 20px;
|
||||
bottom: 20px;
|
||||
height: 180px;
|
||||
width: 360px;
|
||||
background-color: teal;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="test">
|
||||
<div id="inner1"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Overconstrained relative positioning</title>
|
||||
<style>
|
||||
.test {
|
||||
border: 1px solid black;
|
||||
height: 200px;
|
||||
width: 400px;
|
||||
}
|
||||
#inner1 {
|
||||
position: relative;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
height: 180px;
|
||||
width: 360px;
|
||||
background-color: teal;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="test">
|
||||
<div id="inner1"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Overconstrained relative positioning</title>
|
||||
<style>
|
||||
.test {
|
||||
border: 1px solid black;
|
||||
height: 200px;
|
||||
width: 400px;
|
||||
}
|
||||
#inner1 {
|
||||
position: relative;
|
||||
left: 40px;
|
||||
top: 0px;
|
||||
height: 180px;
|
||||
width: 360px;
|
||||
background-color: teal;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="test">
|
||||
<div id="inner1"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -127,6 +127,12 @@ test-pref(dom.meta-viewport.enabled,true) test-pref(font.size.inflation.emPerLin
|
|||
|
||||
== 1144501-1a-block-end-margin-orthogonal-size.html 1144501-1-block-end-margin-orthogonal-size-ref.html
|
||||
== 1144501-1b-block-end-margin-orthogonal-size.html 1144501-1-block-end-margin-orthogonal-size-ref.html
|
||||
== 1147834-relative-overconstrained-horizontal-tb-ltr.html 1147834-bottom-right-ref.html
|
||||
== 1147834-relative-overconstrained-horizontal-tb-rtl.html 1147834-bottom-left-ref.html
|
||||
== 1147834-relative-overconstrained-vertical-lr-ltr.html 1147834-bottom-right-ref.html
|
||||
fails == 1147834-relative-overconstrained-vertical-lr-rtl.html 1147834-top-right-ref.html # bug 1131451
|
||||
== 1147834-relative-overconstrained-vertical-rl-ltr.html 1147834-bottom-left-ref.html
|
||||
fails == 1147834-relative-overconstrained-vertical-rl-rtl.html 1147834-top-left-ref.html # bug 1131451
|
||||
== 1151993-1-orthogonal-block-size.html 1151993-1-orthogonal-block-size-ref.html
|
||||
== 1152941-1-orthogonal-blocksize-overflow.html 1152941-1-orthogonal-blocksize-overflow-ref.html
|
||||
== 1156021-text-indent-percent.html 1156021-text-indent-percent-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче