| OLD | NEW |
| 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 invalid values</titl
e> | 5 <title>CSS Writing Modes: parsing text-combine-upright with invalid values</titl
e> |
| 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 <meta name="assert" content="text-combine-upright doesn't support undefined keyw
ords and out-of-range integer, and numbers."> | 8 <meta name="assert" content="text-combine-upright doesn't support undefined keyw
ords and out-of-range integer, and numbers."> |
| 9 <meta name="flags" content="dom invalid"> | 9 <meta name="flags" content="dom invalid"> |
| 10 <script src="../../../resources/testharness.js"></script> | 10 <script src="/resources/testharness.js"></script> |
| 11 <script src="../../../resources/testharnessreport.js"></script> | 11 <script src="/resources/testharnessreport.js"></script> |
| 12 | 12 |
| 13 <style> | 13 <style> |
| 14 #invalid_foo { | 14 #invalid_foo { |
| 15 text-decoration-upright: foo; | 15 text-decoration-upright: foo; |
| 16 } | 16 } |
| 17 | 17 |
| 18 #invalid_all_none { | 18 #invalid_all_none { |
| 19 text-decoration-upright: all none; | 19 text-decoration-upright: all none; |
| 20 } | 20 } |
| 21 | 21 |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 assert_not_equals(getComputedValueFor('invalid_digits_positive4_e_positive0'),
'digits 4'); | 159 assert_not_equals(getComputedValueFor('invalid_digits_positive4_e_positive0'),
'digits 4'); |
| 160 }, 'Computed value for `text-combine-upright: digits +4e+0` is not `digits 4` bu
t `none`'); | 160 }, 'Computed value for `text-combine-upright: digits +4e+0` is not `digits 4` bu
t `none`'); |
| 161 | 161 |
| 162 test(function () { | 162 test(function () { |
| 163 assert_equals(getComputedValueFor('invalid_digits_positive4_e_negative0'), 'no
ne'); | 163 assert_equals(getComputedValueFor('invalid_digits_positive4_e_negative0'), 'no
ne'); |
| 164 assert_not_equals(getComputedValueFor('invalid_digits_positive4_e_negative0'),
'digits 4'); | 164 assert_not_equals(getComputedValueFor('invalid_digits_positive4_e_negative0'),
'digits 4'); |
| 165 }, 'Computed value for `text-combine-upright: digits +4e-0` is not `digits 4` bu
t `none`'); | 165 }, 'Computed value for `text-combine-upright: digits +4e-0` is not `digits 4` bu
t `none`'); |
| 166 </script> | 166 </script> |
| 167 </body> | 167 </body> |
| 168 </html> | 168 </html> |
| OLD | NEW |