mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Move linear_gradients_reverse_a.html to wpt reftests.
This commit is contained in:
parent
65ac57e2e9
commit
1c59b74e67
4 changed files with 25 additions and 1 deletions
|
@ -151,7 +151,6 @@ prefs:"layout.writing-mode.enabled" == iframe/size_attributes_vertical_writing_m
|
|||
== legacy_th_width_attribute_a.html legacy_td_width_attribute_ref.html
|
||||
== line_height_a.html line_height_ref.html
|
||||
!= linear_gradients_corners_a.html linear_gradients_corners_ref.html
|
||||
== linear_gradients_reverse_a.html linear_gradients_reverse_ref.html
|
||||
!= linear_gradients_smoke_a.html linear_gradients_smoke_ref.html
|
||||
flaky_cpu == linebreak_simple_a.html linebreak_simple_b.html
|
||||
# Fails intermittently (#3636)
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Tests that reversed linear gradients are equivalent. -->
|
||||
<style>
|
||||
section {
|
||||
display: block;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: solid black 1px;
|
||||
}
|
||||
#a {
|
||||
background: linear-gradient(to bottom, red, red 50%, green 50%, green);
|
||||
}
|
||||
#b {
|
||||
background: linear-gradient(90deg, black, white);
|
||||
}
|
||||
#c {
|
||||
background: linear-gradient(45deg, yellow, yellow 50%, purple 50%, purple);
|
||||
}
|
||||
#d {
|
||||
background: linear-gradient(to bottom right, lime, lime 50%, pink 50%, pink);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section id=a></section>
|
||||
<section id=b></section>
|
||||
<section id=c></section>
|
||||
<section id=d></section>
|
||||
</body>
|
||||
</html>
|
|
@ -1,33 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Tests that reversed linear gradients are equivalent. -->
|
||||
<style>
|
||||
nav {
|
||||
display: block;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: solid black 1px;
|
||||
}
|
||||
#a {
|
||||
background: linear-gradient(0deg, green, #008000 50%, red 50%, red);
|
||||
}
|
||||
#b {
|
||||
background: linear-gradient(to left, #ffffff, black);
|
||||
}
|
||||
#c {
|
||||
background: linear-gradient(225deg, purple, purple 50%, yellow 50%, yellow);
|
||||
}
|
||||
#d {
|
||||
background: linear-gradient(315deg, pink, pink 50%, lime 50%, lime);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<nav id=a></nav>
|
||||
<nav id=b></nav>
|
||||
<nav id=c></nav>
|
||||
<nav id=d></nav>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue