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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/writing-mode-parsing-svg1-001.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
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/writing-mode-parsing-001.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>CSS Writing Modes: parsing SVG 1.1 writing-mode values</title> 2 <title>CSS Writing Modes: parsing SVG 1.1 writing-mode values</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/#svg-writing -mode"> 4 <link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#svg-writing -mode">
5 <meta name="assert" content="This test asserts the parser and getComputedStyle w orks correctly for the SVG 1.1 writing-mode values."> 5 <meta name="assert" content="This test asserts the parser and getComputedStyle w orks correctly for the SVG 1.1 writing-mode values.">
6 <meta name="flags" content="dom svg may"> 6 <meta name="flags" content="dom svg may">
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="writing-mode: lr" 10 <div style="writing-mode: lr"
11 data-expected="horizontal-tb"></div> 11 data-expected="horizontal-tb"></div>
12 <div style="writing-mode: lr-tb" 12 <div style="writing-mode: lr-tb"
13 data-expected="horizontal-tb"></div> 13 data-expected="horizontal-tb"></div>
14 <div style="writing-mode: rl" 14 <div style="writing-mode: rl"
15 data-expected="horizontal-tb"></div> 15 data-expected="horizontal-tb"></div>
16 <div style="writing-mode: rl-tb" 16 <div style="writing-mode: rl-tb"
17 data-expected="horizontal-tb"></div> 17 data-expected="horizontal-tb"></div>
18 18
19 <div style="writing-mode: tb" 19 <div style="writing-mode: tb"
20 data-expected="vertical-rl"></div> 20 data-expected="vertical-rl"></div>
21 <div style="writing-mode: tb-rl" 21 <div style="writing-mode: tb-rl"
22 data-expected="vertical-rl"></div> 22 data-expected="vertical-rl"></div>
23 23
24 <script> 24 <script>
25 Array.prototype.forEach.call(document.querySelectorAll("[data-expected]"), funct ion (element) { 25 Array.prototype.forEach.call(document.querySelectorAll("[data-expected]"), funct ion (element) {
26 test(function () { 26 test(function () {
27 var actual = getComputedStyle(element).writingMode; 27 var actual = getComputedStyle(element).writingMode;
28 assert_equals(actual, element.dataset.expected); 28 assert_equals(actual, element.dataset.expected);
29 }, element.title || element.getAttribute("style")); 29 }, element.title || element.getAttribute("style"));
30 }); 30 });
31 </script> 31 </script>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/writing-mode-parsing-001.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698