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

Unified Diff: LayoutTests/paint/inline/outline-offset.html

Issue 1201753003: Apply outline-offset on all edges (not just top/left) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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') | Source/core/paint/InlinePainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/paint/inline/outline-offset.html
diff --git a/LayoutTests/paint/inline/outline-offset.html b/LayoutTests/paint/inline/outline-offset.html
new file mode 100644
index 0000000000000000000000000000000000000000..4aff49063b4f1a55a099703b5fc2eb81a57b5295
--- /dev/null
+++ b/LayoutTests/paint/inline/outline-offset.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<style>
+.wrapper {
+ width: 140px;
+ margin: 50px;
+ font-family: sans-serif;
+}
+.out1 {
+ outline: 5px solid blue;
+ outline-offset: 5px;
+}
+.out2 {
+ outline: 5px solid green;
+ outline-offset: -5px;
+}
+</style>
+<div class="wrapper">
+Lorem <span class="out1">ipsum dolor sit amet</span>, consectetur adipiscing elit. Quisque <span class="out1">fringilla libero vel</span> ligula viverra tincidunt. Quisque lacinia tincidunt tristique.
+</div>
+<div class="wrapper">
+Lorem <span class="out2">ipsum dolor sit amet</span>, consectetur adipiscing elit. Quisque <span class="out2">fringilla libero vel</span> ligula viverra tincidunt. Quisque lacinia tincidunt tristique.
+</div>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/core/paint/InlinePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698