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

Unified Diff: LayoutTests/css3/unicode-bidi-isolate-basic-expected.html

Issue 1029343003: Turn css3/unicode-bidi-isolate-basic into a reftest. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: code review Created 5 years, 9 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/css3/unicode-bidi-isolate-basic-expected.html
diff --git a/LayoutTests/css3/unicode-bidi-isolate-basic.html b/LayoutTests/css3/unicode-bidi-isolate-basic-expected.html
similarity index 94%
copy from LayoutTests/css3/unicode-bidi-isolate-basic.html
copy to LayoutTests/css3/unicode-bidi-isolate-basic-expected.html
index ef1c5ac29c9670edea978db9561722f47ee6be8e..c87c61e23073656347e1f1de5c3ed9b4f12cfea3 100644
--- a/LayoutTests/css3/unicode-bidi-isolate-basic.html
+++ b/LayoutTests/css3/unicode-bidi-isolate-basic-expected.html
@@ -1,6 +1,4 @@
<!DOCTYPE html>
-<html>
-<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style>
.resultsDiv {
@@ -17,8 +15,6 @@
height: 400px;
}
</style>
-</head>
-<body>
<div>This table shows unicode-bidi: isolate behavior (in red) with display: inline-block behavior overlapping in green. You should see no red in this test! Behavior between these two methods should be identical for non-wrapping strings, assuming unicode-bidi: isolate is implemented and functioning correctly.</div>
<div id="resultsContainer" style="position: relative">
@@ -38,7 +34,6 @@ var strongLTR = function() { return strongLTRs[seed++ % strongLTRs.length]; }
var charClassExamples = [neutral, strongRTL, strongLTR];
var possibleDirs = ['ltr', 'rtl'];
-var testStyle = "unicode-bidi: -webkit-isolate";
var controlStyle = "display: inline-block";
for (outerDirIndex in possibleDirs) {
@@ -65,7 +60,7 @@ for (outerDirIndex in possibleDirs) {
return outerDiv;
}
expected.appendChild(caseWithStyle(controlStyle));
- actual.appendChild(caseWithStyle(testStyle));
+ actual.appendChild(caseWithStyle(controlStyle));
}
}
}
@@ -74,5 +69,3 @@ for (outerDirIndex in possibleDirs) {
</script>
</table>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698