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

Unified Diff: third_party/WebKit/LayoutTests/fast/css3-text/css3-word-break/word-break-break-all-in-span.html

Issue 2532393006: Fix break-all/word-break are applied to inline elements (Closed)
Patch Set: Support parent style at element boundaries Created 4 years 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/css3-text/css3-word-break/word-break-break-all-in-span-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/css3-text/css3-word-break/word-break-break-all-in-span.html
diff --git a/third_party/WebKit/LayoutTests/fast/css3-text/css3-word-break/word-break-break-all-in-span.html b/third_party/WebKit/LayoutTests/fast/css3-text/css3-word-break/word-break-break-all-in-span.html
new file mode 100644
index 0000000000000000000000000000000000000000..9e80231242b10bf4b4848230ca34b92965dfa1f2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css3-text/css3-word-break/word-break-break-all-in-span.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<style>
+@font-face {
+ font-family:cssot;
+ src:url(../../../third_party/adobe-fonts/CSSFWOrientationTest.otf);
+}
+div {
+ font-family: Ahem, cssot;
+ width: 5em;
+ font-size: 20px;
+ border: 5px blue solid;
+ display: inline-block;
+ margin-bottom: .2em;
+ margin-right: 3em;
+}
+.break-all {
+ word-break: break-all;
+ color: orange;
+}
+</style>
+<body>
+ <p>Test break-all applied to span works as expected.</p>
+ <div>AAAA<span class="break-all">XXXXXX</span></div>
+ <div>AAAAA<span class="break-all">XXXXXX</span></div>
+ <div>AAAAAA<span class="break-all">XXXXXX</span></div>
+ <div>A AA<span class="break-all">XXXXXX</span></div>
+ <div>AA AA<span class="break-all">XXX</span></div>
+ <div>AAA AA<span class="break-all">XXX</span></div>
+ <div>AAAA AA<span class="break-all">XXX</span></div>
+ <div>AAAAA AA<span class="break-all">XXX</span></div>
+ <div>AAA A<span class="break-all">XXXX</span></div>
+ <div>AAAA A<span class="break-all">XXXX</span></div>
+ <div>AAAAA A<span class="break-all">XXXX</span></div>
+ <div>国国国国国、<span class="break-all">XXX</span></div>
+</body>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css3-text/css3-word-break/word-break-break-all-in-span-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698