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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/default-bidi-css-rules.html

Issue 1463473002: Make unicode-bidi:isolate the default for elements with dir attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: leviw review Created 5 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
Index: third_party/WebKit/LayoutTests/fast/css/default-bidi-css-rules.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/default-bidi-css-rules.html b/third_party/WebKit/LayoutTests/fast/css/default-bidi-css-rules.html
index 9d8ce0a7684d1569ecc731a0b5015a78bf4708d8..a78b14bb22c40a379b8b289a7587940a9c3defe2 100644
--- a/third_party/WebKit/LayoutTests/fast/css/default-bidi-css-rules.html
+++ b/third_party/WebKit/LayoutTests/fast/css/default-bidi-css-rules.html
@@ -21,16 +21,16 @@ function styleOf(name, attributes) {
var tests = [
['div', {}, 'ltr', '-webkit-isolate'],
- ['div', {'dir': 'ltr'}, 'ltr', 'embed'],
- ['div', {'dir': 'rtl'}, 'rtl', 'embed'],
+ ['div', {'dir': 'ltr'}, 'ltr', 'isolate'],
+ ['div', {'dir': 'rtl'}, 'rtl', 'isolate'],
['div', {'dir': 'auto'}, 'ltr', 'isolate'],
- ['div', {'dir': ''}, 'ltr', 'embed'],
+ ['div', {'dir': ''}, 'ltr', 'isolate'],
['span', {}, 'ltr', 'normal'],
- ['span', {'dir': 'ltr'}, 'ltr', 'embed'],
- ['span', {'dir': 'rtl'}, 'rtl', 'embed'],
+ ['span', {'dir': 'ltr'}, 'ltr', 'isolate'],
+ ['span', {'dir': 'rtl'}, 'rtl', 'isolate'],
['span', {'dir': 'auto'}, 'ltr', 'isolate'],
- ['span', {'dir': ''}, 'ltr', 'embed'],
+ ['span', {'dir': ''}, 'ltr', 'isolate'],
['bdi', {}, 'ltr', 'isolate'],
['bdi', {'dir': 'ltr'}, 'ltr', 'isolate'],
@@ -51,16 +51,16 @@ var tests = [
['bdo', {'dir': ''}, 'ltr', 'bidi-override'],
['textarea', {}, 'ltr', 'normal'],
- ['textarea', {'dir': 'ltr'}, 'ltr', 'embed'],
- ['textarea', {'dir': 'rtl'}, 'rtl', 'embed'],
+ ['textarea', {'dir': 'ltr'}, 'ltr', 'isolate'],
+ ['textarea', {'dir': 'rtl'}, 'rtl', 'isolate'],
['textarea', {'dir': 'auto'}, 'ltr', 'plaintext'],
- ['textarea', {'dir': ''}, 'ltr', 'embed'],
+ ['textarea', {'dir': ''}, 'ltr', 'isolate'],
['pre', {}, 'ltr', 'normal'],
- ['pre', {'dir': 'ltr'}, 'ltr', 'embed'],
- ['pre', {'dir': 'rtl'}, 'rtl', 'embed'],
+ ['pre', {'dir': 'ltr'}, 'ltr', 'isolate'],
+ ['pre', {'dir': 'rtl'}, 'rtl', 'isolate'],
['pre', {'dir': 'auto'}, 'ltr', 'plaintext'],
- ['pre', {'dir': ''}, 'ltr', 'embed'],
+ ['pre', {'dir': ''}, 'ltr', 'isolate'],
].forEach(function (test) {
shouldBe('styleOf("' + test[0] + '", ' + JSON.stringify(test[1]) + ').direction', '"' + test[2] + '"');
container.innerHTML = '';

Powered by Google App Engine
This is Rietveld 408576698