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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/unicode-bidi-parsing-002.html

Issue 2018883002: Fix testharness paths in imported/csswg-test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>CSS Writing Modes: parsing unicode-bidi: isolate, isolate-override, plain text</title> 2 <title>CSS Writing Modes: parsing unicode-bidi: isolate, isolate-override, plain text</title>
3 <link rel="author" title="Koji Ishii" href="kojiishi@gmail.com"> 3 <link rel="author" title="Koji Ishii" href="kojiishi@gmail.com">
4 <link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#unicode-bid i"> 4 <link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#unicode-bid i">
5 <meta name="assert" content="This test asserts the parser and getComputedStyle w orks correctly for the unicode-bidi: isolate, isolate-override, plaintext."> 5 <meta name="assert" content="This test asserts the parser and getComputedStyle w orks correctly for the unicode-bidi: isolate, isolate-override, plaintext.">
6 <meta name="flags" content="dom"> 6 <meta name="flags" content="dom">
7 <script src="../../../resources/testharness.js"></script> 7 <script src="/resources/testharness.js"></script>
8 <script src="../../../resources/testharnessreport.js"></script> 8 <script src="/resources/testharnessreport.js"></script>
9 9
10 <div style="unicode-bidi: isolate" 10 <div style="unicode-bidi: isolate"
11 data-expected="isolate"></div> 11 data-expected="isolate"></div>
12 <div style="unicode-bidi: isolate-override" 12 <div style="unicode-bidi: isolate-override"
13 data-expected="isolate-override"></div> 13 data-expected="isolate-override"></div>
14 <div style="unicode-bidi: plaintext" 14 <div style="unicode-bidi: plaintext"
15 data-expected="plaintext"></div> 15 data-expected="plaintext"></div>
16 16
17 <script> 17 <script>
18 Array.prototype.forEach.call(document.querySelectorAll("[data-expected]"), funct ion (element) { 18 Array.prototype.forEach.call(document.querySelectorAll("[data-expected]"), funct ion (element) {
19 test(function () { 19 test(function () {
20 var actual = getComputedStyle(element).unicodeBidi; 20 var actual = getComputedStyle(element).unicodeBidi;
21 assert_equals(actual, element.dataset.expected); 21 assert_equals(actual, element.dataset.expected);
22 }, element.title || element.getAttribute("style")); 22 }, element.title || element.getAttribute("style"));
23 }); 23 });
24 </script> 24 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698