Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Unified Diff: LayoutTests/fast/borders/border-mixed-alpha2.html

Issue 1159113010: Optimized box border side painting order (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: forgot the new test Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/borders/border-mixed-alpha2-expected.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/borders/border-mixed-alpha2.html
diff --git a/LayoutTests/fast/borders/border-mixed-alpha2.html b/LayoutTests/fast/borders/border-mixed-alpha2.html
new file mode 100644
index 0000000000000000000000000000000000000000..3f0994ea14a708afaf355fdb3deb026e2d8efc1c
--- /dev/null
+++ b/LayoutTests/fast/borders/border-mixed-alpha2.html
@@ -0,0 +1,83 @@
+<!doctype html>
+<style>
+ div {
+ width: 10px;
+ height: 100px;
+ display: inline-block;
+ border-width: 85px;
+ }
+ .dashed {
+ border-style: dashed;
+ border-top-color: rgba(0, 255, 0, 0.75);
+ border-right-color: rgba(0, 0, 255, 0.75);
+ border-bottom-color: rgba(0, 255, 0, 0.75);
+ border-left-color: rgba(0, 0, 255, 0.75);
+ }
+ .dotted {
+ border-style: dotted;
+ border-top-color: rgba(0, 255, 0, 0.5);
+ border-right-color: rgba(0, 0, 255, 0.75);
+ border-bottom-color: rgba(0, 255, 0, 0.75);
+ border-left-color: rgba(0, 0, 255, 0.5);
+ }
+ .solid {
+ border-style: solid;
+ border-top-color: rgba(0, 255, 0, 0.5);
+ border-right-color: rgba(0, 0, 255, 0.75);
+ border-bottom-color: rgba(0, 255, 0, 0.5);
+ border-left-color: rgba(0, 0, 255, 0.5);
+ }
+ .double {
+ border-style: double;
+ border-top-color: rgba(0, 255, 0, 0.5);
+ border-right-color: rgba(0, 0, 255, 0.75);
+ border-bottom-color: rgba(0, 255, 0, 0.25);
+ border-left-color: rgba(0, 0, 255, 0.5);
+
+ }
+ .groove {
+ border-style: groove;
+ border-top-color: rgba(0, 255, 0, 0.5);
+ border-right-color: rgba(0, 0, 255, 0.75);
+ border-bottom-color: rgba(0, 255, 0, 0.25);
+ border-left-color: rgba(0, 0, 255, 0.25);
+
+ }
+ .ridge {
+ border-style: ridge;
+ border-top-color: rgba(0, 255, 0, 0.5);
+ border-right-color: rgba(0, 0, 255, 0.75);
+ border-bottom-color: rgba(0, 255, 0, 0.15);
+ border-left-color: rgba(0, 0, 255, 0.25);
+
+ }
+ .inset {
+ border-style: inset;
+ border-top-color: rgba(0, 255, 0, 0.5);
+ border-right-color: rgba(0, 0, 255, 0.75);
+ border-bottom-color: rgba(0, 255, 0, 0.25);
+ border-left-color: rgba(0, 0, 255, 0.15);
+
+ }
+ .outset {
+ border-style: outset;
+ border-top-color: rgba(0, 255, 0, 0.15);
+ border-right-color: rgba(0, 0, 255, 0.75);
+ border-bottom-color: rgba(0, 255, 0, 0.25);
+ border-left-color: rgba(0, 0, 255, 0.15);
+
+ }
+</style>
+<div class="dashed"></div>
+<div class="dotted"></div>
+<div class="solid"></div>
+<div class="double"></div>
+<br>
+<div class="groove"></div>
+<div class="ridge"></div>
+<div class="inset"></div>
+<div class="outset"></div>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsTextWithPixelResults();
+</script>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/borders/border-mixed-alpha2-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698