Title: [149803] trunk/LayoutTests
- Revision
- 149803
- Author
- [email protected]
- Date
- 2013-05-09 06:50:14 -0700 (Thu, 09 May 2013)
Log Message
[CSSRegions] Change fast/regions/webkit-flow-inlines-inside-regions-bounds[-vertical] tests to make them platform independent
https://bugs.webkit.org/show_bug.cgi?id=115851
Patch by Radu Stavila <[email protected]> on 2013-05-09
Reviewed by Antti Koivisto.
Modified tests to make them platform independent by using Ahem and no font smoothing.
* fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.html:
* fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.html:
* fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical.html:
* fast/regions/webkit-flow-inlines-inside-regions-bounds.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (149802 => 149803)
--- trunk/LayoutTests/ChangeLog 2013-05-09 13:48:30 UTC (rev 149802)
+++ trunk/LayoutTests/ChangeLog 2013-05-09 13:50:14 UTC (rev 149803)
@@ -1,5 +1,19 @@
2013-05-09 Radu Stavila <[email protected]>
+ [CSSRegions] Change fast/regions/webkit-flow-inlines-inside-regions-bounds[-vertical] tests to make them platform independent
+ https://bugs.webkit.org/show_bug.cgi?id=115851
+
+ Reviewed by Antti Koivisto.
+
+ Modified tests to make them platform independent by using Ahem and no font smoothing.
+
+ * fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.html:
+ * fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.html:
+ * fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical.html:
+ * fast/regions/webkit-flow-inlines-inside-regions-bounds.html:
+
+2013-05-09 Radu Stavila <[email protected]>
+
[Qt][EFL][GTK] Failing CSS region tests
https://bugs.webkit.org/show_bug.cgi?id=115785
Modified: trunk/LayoutTests/fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.html (149802 => 149803)
--- trunk/LayoutTests/fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.html 2013-05-09 13:48:30 UTC (rev 149802)
+++ trunk/LayoutTests/fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.html 2013-05-09 13:50:14 UTC (rev 149803)
@@ -2,13 +2,17 @@
<style>
.test_paragraph {
- margin-top: 16px;
+ margin-top: 1em;
+ margin-bottom: 1em;
text-align: justify;
+ font-family: Ahem;
+ font-size: 10px;
+ -webkit-font-smoothing: none;
}
/* Created to justify the last line of text in the div */
#paragraph1:after {
- content: " ____";
+ content: " ___________________";
line-height: 0;
visibility: hidden;
}
@@ -36,10 +40,10 @@
#first-paragraph2 {
margin-top: 0px;
}
-
+
/* Created to justify the last line of text in the div */
- #second-paragraph2:after {
- content: " ____";
+ #third-paragraph2:after {
+ content: " ___________________";
line-height: 0;
visibility: hidden;
}
@@ -90,7 +94,6 @@
border: 1px solid green;
border-top: none;
width: 86px;
- height: 88px;
}
</style>
@@ -98,7 +101,7 @@
<div id="region1">
<div id="first-box1">
<div id="second-box1">
- <div class="test_paragraph" id="paragraph1">This line of text should not get out of the region. This line of text should</div>
+ <div class="test_paragraph" id="paragraph1">This line of text should not get out of the region. This line of text should not get out of the</div>
</div>
</div>
</div>
@@ -106,8 +109,9 @@
<div id="region2">
<div id="first-box2">
<div id="second-box2">
- <div class="test_paragraph" id="first-paragraph2">not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region.</div>
- <div class="test_paragraph" id="second-paragraph2">This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region.</div>
+ <div class="test_paragraph" id="first-paragraph2">region. This line of text should not get out of the region. This line of text should not get out of the region.</div>
+ <div class="test_paragraph">This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region.</div>
+ <div class="test_paragraph" id="third-paragraph2">This line of text should not get out of the region. This line of text should</div>
</div>
</div>
</div>
@@ -115,7 +119,7 @@
<div id="region3">
<div id="first-box3">
<div id="second-box3">
- <div class="test_paragraph" id="paragraph3">This line of text should not get out of the region.</div>
+ <div class="test_paragraph" id="paragraph3">not get out of the region.</div>
</div>
</div>
</div>
Modified: trunk/LayoutTests/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.html (149802 => 149803)
--- trunk/LayoutTests/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.html 2013-05-09 13:48:30 UTC (rev 149802)
+++ trunk/LayoutTests/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.html 2013-05-09 13:50:14 UTC (rev 149803)
@@ -4,8 +4,12 @@
html { -webkit-writing-mode: vertical-lr }
.test_paragraph {
- margin-left: 16px;
+ margin-left: 1em;
+ margin-right: 1em;
text-align: justify;
+ font-family: Ahem;
+ font-size: 10px;
+ -webkit-font-smoothing: none;
}
/* Created to justify the last line of text in the div */
@@ -39,6 +43,13 @@
margin-left: 0px;
}
+ /* Created to justify the last line of text in the div */
+ #third-paragraph2:after {
+ content: " ____";
+ line-height: 0;
+ visibility: hidden;
+ }
+
#region2 {
border: 1px solid black;
width: 290px;
@@ -84,7 +95,6 @@
margin-left: -5px;
border: 1px solid green;
border-left: none;
- width: 88px;
height: 86px;
}
</style>
@@ -93,7 +103,7 @@
<div id="region1">
<div id="first-box1">
<div id="second-box1">
- <div class="test_paragraph" id="paragraph1">This line of text should not get out of the region. This line of text should not</div>
+ <div class="test_paragraph" id="paragraph1">This line of text should not get out of the region. This line of text should not get</div>
</div>
</div>
</div>
@@ -101,8 +111,9 @@
<div id="region2">
<div id="first-box2">
<div id="second-box2">
- <div class="test_paragraph" id="first-paragraph2">get out of the region. This line of text should not get out of the region. This line of text should not get out of the region.</div>
- <div class="test_paragraph" id="second-paragraph2">This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region.</div>
+ <div class="test_paragraph" id="first-paragraph2">out of the region. This line of text should not get out of the region. This line of text should not get out of the region.</div>
+ <div class="test_paragraph">This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region.</div>
+ <div class="test_paragraph" id="third-paragraph2">This line of text should</div>
</div>
</div>
</div>
@@ -110,7 +121,7 @@
<div id="region3">
<div id="first-box3">
<div id="second-box3">
- <div class="test_paragraph" id="paragraph3">This line of text should not get out of the region.</div>
+ <div class="test_paragraph" id="paragraph3">not get out of the region.</div>
</div>
</div>
</div>
Modified: trunk/LayoutTests/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical.html (149802 => 149803)
--- trunk/LayoutTests/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical.html 2013-05-09 13:48:30 UTC (rev 149802)
+++ trunk/LayoutTests/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical.html 2013-05-09 13:50:14 UTC (rev 149803)
@@ -7,6 +7,9 @@
-webkit-flow-into: flow1;
text-align: justify;
padding: 5px;
+ font-family: Ahem;
+ font-size: 10px;
+ -webkit-font-smoothing: none;
}
#first-box {
Modified: trunk/LayoutTests/fast/regions/webkit-flow-inlines-inside-regions-bounds.html (149802 => 149803)
--- trunk/LayoutTests/fast/regions/webkit-flow-inlines-inside-regions-bounds.html 2013-05-09 13:48:30 UTC (rev 149802)
+++ trunk/LayoutTests/fast/regions/webkit-flow-inlines-inside-regions-bounds.html 2013-05-09 13:50:14 UTC (rev 149803)
@@ -5,6 +5,9 @@
-webkit-flow-into: flow1;
text-align: justify;
padding: 5px;
+ font-family: Ahem;
+ font-size: 10px;
+ -webkit-font-smoothing: none;
}
#first-box {
@@ -42,7 +45,7 @@
<div id="second-box">
<p>This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region.</p>
<p>This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region.</p>
- <p>This line of text should not get out of the region.</p>
+ <p>This line of text should not get out of the region. This line of text should not get out of the region.</p>
</div>
</div>
</div>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes