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

Unified Diff: third_party/WebKit/LayoutTests/fast/sub-pixel/float-subpixel-wrapping.html

Issue 2003173002: Represent lines using LayoutUnit in LineWidth (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 7 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 | « no previous file | third_party/WebKit/LayoutTests/fast/sub-pixel/float-subpixel-wrapping-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/sub-pixel/float-subpixel-wrapping.html
diff --git a/third_party/WebKit/LayoutTests/fast/sub-pixel/float-subpixel-wrapping.html b/third_party/WebKit/LayoutTests/fast/sub-pixel/float-subpixel-wrapping.html
new file mode 100644
index 0000000000000000000000000000000000000000..2b3e1703f677abae4dbafb20424212fcd38f6248
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/sub-pixel/float-subpixel-wrapping.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Tests subpixel line breaking for floats</title>
+ <style>
+ a.powered-by {
+ float: right;
+ position: relative;
+ display: inline-block;
+ font-size: .9em;
+ text-align: right;
+ }
+ a.powered-by span {
+ display: inline-block;
+ float: right;
+ margin-top: -3px;
+ margin-left: 6px;
+ background: red;
+ width: 17px;
+ height: 17px;
+ }
+ </style>
+ </head>
+ <body>
+ <a class="powered-by">Should not wrap <span></span></a>
+ </body>
+</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/sub-pixel/float-subpixel-wrapping-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698