| 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 valid values</title> | 5 <title>CSS Writing Modes: parsing text-combine-upright with valid values</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 <meta name="assert" content="text-combine-upright supports `none`, `all`, `digit
s`, and `digits` followed by a digit in the range from 2 to 4."> | 8 <meta name="assert" content="text-combine-upright supports `none`, `all`, `digit
s`, and `digits` followed by a digit in the range from 2 to 4."> |
| 9 <meta name="flags" content="dom"> | 9 <meta name="flags" content="dom"> |
| 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 #valid_none { | 14 #valid_none { |
| 15 text-combine-upright: none; | 15 text-combine-upright: none; |
| 16 } | 16 } |
| 17 | 17 |
| 18 #valid_all { | 18 #valid_all { |
| 19 text-combine-upright: all; | 19 text-combine-upright: all; |
| 20 } | 20 } |
| 21 | 21 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 assert_equals(getComputedValueFor('valid_inherit_inner'), 'all'); | 82 assert_equals(getComputedValueFor('valid_inherit_inner'), 'all'); |
| 83 }, 'Computed value for `text-combine-upright: inherit` is `all` which is inherit
ed from the parent element'); | 83 }, 'Computed value for `text-combine-upright: inherit` is `all` which is inherit
ed from the parent element'); |
| 84 | 84 |
| 85 test(function () { | 85 test(function () { |
| 86 assert_equals(getComputedValueFor('valid_unset_outer'), 'all'); | 86 assert_equals(getComputedValueFor('valid_unset_outer'), 'all'); |
| 87 assert_equals(getComputedValueFor('valid_unset_inner'), 'all'); | 87 assert_equals(getComputedValueFor('valid_unset_inner'), 'all'); |
| 88 }, 'Computed value for `text-combine-upright: unset` is `all` which is inherited
from the parent element'); | 88 }, 'Computed value for `text-combine-upright: unset` is `all` which is inherited
from the parent element'); |
| 89 </script> | 89 </script> |
| 90 </body> | 90 </body> |
| 91 </html> | 91 </html> |
| OLD | NEW |