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

Unified Diff: LayoutTests/fast/text/soft-hyphen-simple-text.html

Issue 648293003: Handle missing glyphs when adjusting spacing in SimpleShaper (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added LayoutTest Created 6 years, 2 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
Index: LayoutTests/fast/text/soft-hyphen-simple-text.html
diff --git a/LayoutTests/fast/text/soft-hyphen-simple-text.html b/LayoutTests/fast/text/soft-hyphen-simple-text.html
new file mode 100644
index 0000000000000000000000000000000000000000..01bff3abbb938f2f2a51add13aa8eb3d5bbff85a
--- /dev/null
+++ b/LayoutTests/fast/text/soft-hyphen-simple-text.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Soft Hyphen Test</title>
+ <style>
+ p {
+ text-align: justify;
+ width: 250px;
+ height: 250px;
+ position: relative;
+ }
+ p > #cover {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: green;
+ display: block;
+ }
+ </style>
+ </head>
+ <body>
+ <p>
+ Lorem ipsu&shy;m dol&shy;or sit amet, consec&shy;tetur
+ ad&shy;ipi&shy;sci&shy;ng elit. Ve&shy;sti&shy;bul&shy;um
+ va&shy;rius, to&shy;rto&shy;r nec ti&shy;nci&shy;dunt
+ ali&shy;qu&shy;am, enim ve&shy;lit sem&shy;per nu&shy;lla,
+ al&shy;iqu&shy;am co&shy;ndim&shy;ent&shy;um est er&shy;at
+ nec mau&shy;ris. Nam sed ju&shy;sto at nu&shy;nc sem&shy;per
+ al&shy;iqu&shy;et sed sed nu&shy;lla. Nulla sit am&shy;et
+ od&shy;io a di&shy;am ves&shy;tib&shy;ulu&shy;m
+ ve&shy;hic&shy;ula sed vel la&shy;cus. Lor&shy;em ipsum
+ dolor sit amet, consectetur adipiscing elit. Phasellus
+ in vestibulum nisl. Nam ti&shy;ncid&shy;unt magna sed
+ ris&shy;us bl&shy;and&shy;it sa&shy;gitt&shy;is.
+ Ph&shy;as&shy;ell&shy;us a im&shy;per&shy;di&shy;et mi.
+ <span id="cover">&nbsp;</span>
+ </p>
+ <p>
+ A green square and no text should appear above.
+ </p>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698