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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/text-combine-upright-parsing-invalid-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 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title>CSS Writing Modes: parsing text-combine-upright with digits plus calc() c omputing to invalid digits</title> 5 <title>CSS Writing Modes: parsing text-combine-upright with digits plus calc() c omputing to invalid digits</title>
6 <link rel="author" title="Masataka Yakura" href="http://google.com/+MasatakaYaku ra"> 6 <link rel="author" title="Masataka Yakura" href="http://google.com/+MasatakaYaku ra">
7 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#text-combine-up right"> 7 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#text-combine-up right">
8 <link rel="help" href="http://www.w3.org/TR/css-values-3/#calc-notation"> 8 <link rel="help" href="http://www.w3.org/TR/css-values-3/#calc-notation">
9 <meta name="assert" content="User Agents ignore text-combine-upright with values `digits calc(...)` if the expression inside `calc()` computes to either numbers or out-of-range integers."> 9 <meta name="assert" content="User Agents ignore text-combine-upright with values `digits calc(...)` if the expression inside `calc()` computes to either numbers or out-of-range integers.">
10 <meta name="flags" content="dom invalid"> 10 <meta name="flags" content="dom invalid">
11 <script src="../../../resources/testharness.js"></script> 11 <script src="/resources/testharness.js"></script>
12 <script src="../../../resources/testharnessreport.js"></script> 12 <script src="/resources/testharnessreport.js"></script>
13 13
14 <style> 14 <style>
15 #invalid_digits_calc_0_plus_1 { 15 #invalid_digits_calc_0_plus_1 {
16 text-combine-upright: digits calc(0 + 1); 16 text-combine-upright: digits calc(0 + 1);
17 } 17 }
18 18
19 #invalid_digits_calc_2_plus_3 { 19 #invalid_digits_calc_2_plus_3 {
20 text-combine-upright: digits calc(2 + 3); 20 text-combine-upright: digits calc(2 + 3);
21 } 21 }
22 22
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 test(function () { 118 test(function () {
119 assert_equals(getComputedValueFor('invalid_digits_calc_2_e_2_times_2_e_negativ e2'), 'none'); 119 assert_equals(getComputedValueFor('invalid_digits_calc_2_e_2_times_2_e_negativ e2'), 'none');
120 }, 'Computed value for `text-combine-upright: digits calc(2e2 * 2e-2)` is `none` '); 120 }, 'Computed value for `text-combine-upright: digits calc(2e2 * 2e-2)` is `none` ');
121 121
122 test(function () { 122 test(function () {
123 assert_equals(getComputedValueFor('invalid_digits_calc_4_e_positive2_dividedby _positive2_e_2'), 'none'); 123 assert_equals(getComputedValueFor('invalid_digits_calc_4_e_positive2_dividedby _positive2_e_2'), 'none');
124 }, 'Computed value for `text-combine-upright: digits calc(4e+2 / +2e2)` is `none `'); 124 }, 'Computed value for `text-combine-upright: digits calc(4e+2 / +2e2)` is `none `');
125 </script> 125 </script>
126 </body> 126 </body>
127 </html> 127 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698