mirror of
https://github.com/servo/servo.git
synced 2025-08-16 19:05:33 +01:00
Move clip_a.html to wpt reftests.
This commit is contained in:
parent
468df737d2
commit
cee4879dd1
4 changed files with 25 additions and 1 deletions
|
@ -34,7 +34,6 @@ flaky_cpu == append_style_a.html append_style_b.html
|
|||
== canvas_radial_gradient_a.html canvas_radial_gradient_ref.html
|
||||
== case-insensitive-font-family.html case-insensitive-font-family-ref.html
|
||||
== clear_generated_content_table_a.html clear_generated_content_table_ref.html
|
||||
== clip_a.html clip_ref.html
|
||||
== counters_simple_a.html counters_simple_ref.html
|
||||
== empty_cells_a.html empty_cells_ref.html
|
||||
== filter_opacity_a.html filter_opacity_ref.html
|
||||
|
|
|
@ -1,52 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Tests that various `clip` values per CSS 2.1 work. -->
|
||||
<style>
|
||||
section {
|
||||
position: absolute;
|
||||
padding: 32px;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
background: green;
|
||||
border: solid 32px red;
|
||||
}
|
||||
section:before {
|
||||
content: "";
|
||||
display: block;
|
||||
padding: 0;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
background: blue;
|
||||
}
|
||||
#a {
|
||||
top: 0;
|
||||
left: 0;
|
||||
clip: rect(auto, auto, auto, auto);
|
||||
}
|
||||
#b {
|
||||
top: 192px;
|
||||
left: 0;
|
||||
clip: rect(32px, auto, auto, 128px);
|
||||
}
|
||||
#c {
|
||||
top: 0;
|
||||
left: 192px;
|
||||
clip: rect(32px, 128px, 64px, 0);
|
||||
}
|
||||
#d {
|
||||
top: 192px;
|
||||
left: 192px;
|
||||
clip: rect(64px, 0, 64px, 0);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section id=a></section>
|
||||
<section id=b></section>
|
||||
<section id=c></section>
|
||||
<section id=d></section>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
@ -1,70 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Tests that various `clip` values per CSS 2.1 work. -->
|
||||
<style>
|
||||
section {
|
||||
position: absolute;
|
||||
}
|
||||
#a {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 192px;
|
||||
height: 192px;
|
||||
background: red;
|
||||
}
|
||||
#b {
|
||||
top: 32px;
|
||||
left: 32px;
|
||||
width: 128px;
|
||||
height: 128px;
|
||||
background: green;
|
||||
}
|
||||
#c {
|
||||
top: 64px;
|
||||
left: 64px;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
background: blue;
|
||||
}
|
||||
#d {
|
||||
top: 32px;
|
||||
left: 192px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: red;
|
||||
}
|
||||
#e {
|
||||
top: 32px;
|
||||
left: 224px;
|
||||
width: 96px;
|
||||
height: 32px;
|
||||
background: green;
|
||||
}
|
||||
#f {
|
||||
top: 224px;
|
||||
left: 128px;
|
||||
width: 64px;
|
||||
height: 160px;
|
||||
background: red;
|
||||
}
|
||||
#g {
|
||||
top: 224px;
|
||||
left: 128px;
|
||||
width: 32px;
|
||||
height: 128px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section id=a></section>
|
||||
<section id=b></section>
|
||||
<section id=c></section>
|
||||
<section id=d></section>
|
||||
<section id=e></section>
|
||||
<section id=f></section>
|
||||
<section id=g></section>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue