This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
test:css-writing-modes-3 [2014/12/09 15:48] – external edit 127.0.0.1 | test:css-writing-modes-3 [2015/02/09 20:31] (current) – [§7.1 Principles of Layout in Vertical Writing Modes] gtalbot | ||
---|---|---|---|
Line 7: | Line 7: | ||
[[http:// | [[http:// | ||
- | [[http:// | + | [[http:// |
- | + | ||
- | 0 test to be done. | + | |
This section is just a general introduction to writing modes. | This section is just a general introduction to writing modes. | ||
Line 17: | Line 15: | ||
[[http:// | [[http:// | ||
- | [[http:// | + | [[http:// |
- | + | ||
- | 0 test to be done. | + | |
==== §1.2 Values ==== | ==== §1.2 Values ==== | ||
Line 25: | Line 21: | ||
[[http:// | [[http:// | ||
- | [[http:// | + | [[http:// |
- | 0 test to be done. Albeit... | + | Albeit... |
**"all properties defined in this specification also accept the inherit keyword as their property value" | **"all properties defined in this specification also accept the inherit keyword as their property value" | ||
+ | |||
+ | requires appropriate tests for each property. | ||
===== §2 Inline Direction and Bidirectionality ===== | ===== §2 Inline Direction and Bidirectionality ===== | ||
Line 36: | Line 34: | ||
[[http:// | [[http:// | ||
- | |||
- | 2 tests to be done. | ||
" | " | ||
Line 43: | Line 39: | ||
" | " | ||
- | //I have no idea what the above means or could mean in terms of testing but I think only 2 tests could be done out of such paragraph. GT// | + | * Need to import CSS2.1 tests and Mozilla |
==== §2.1 Specifying Directionality: | ==== §2.1 Specifying Directionality: | ||
Line 77: | Line 73: | ||
[[http:// | [[http:// | ||
- | x test to be done. | + | Tests to be done: |
+ | |||
+ | * cross-link unicode-bidi tests linked to §2 | ||
+ | * 1 test: block-plaintext-004 variation with block-in-inline split paragraphs | ||
+ | * 2 tests: block-plaintext-006 variation with white-space: | ||
non-' | non-' | ||
- a bidi parg with an unicode-bidi: | - a bidi parg with an unicode-bidi: | ||
+ | * Requires a test, e.g. with string of neutrals between two strong characters, element boundary in the middle | ||
- a bidi parg with an unicode-bidi: | - a bidi parg with an unicode-bidi: | ||
- Because the unicode-bidi property does not inherit, setting bidi-override or plaintext on a block box will not affect any descendant blocks. Therefore these values are best used on blocks and inlines that do not contain any block-level structures. | - Because the unicode-bidi property does not inherit, setting bidi-override or plaintext on a block box will not affect any descendant blocks. Therefore these values are best used on blocks and inlines that do not contain any block-level structures. | ||
- | | + | * This is tested above. |
Notes: | Notes: | ||
Line 162: | Line 163: | ||
http:// | http:// | ||
- | Test assertion: This test checks that block-level boxes in a { right-floating box | abs. pos. box | inline-block | list | table-cell | table-caption | + | Test assertion: This test checks that block-level boxes in a { right-floating box | abs. pos. box | inline-block | list | table-cell | table-caption } with ' |
b) line box direction in a block container that contains inlines | b) line box direction in a block container that contains inlines | ||
Line 176: | Line 177: | ||
http:// | http:// | ||
- | Test assertion: This test checks that lines boxes in a { ' | + | Test assertion: This test checks that lines boxes in a { ' |
c) progression of rows in a table | c) progression of rows in a table | ||
Line 186: | Line 187: | ||
Test assertion: This test checks that rows in a vertical-rl table are ordered from right to left; the first row is the rightmost row | Test assertion: This test checks that rows in a vertical-rl table are ordered from right to left; the first row is the rightmost row | ||
- | Test assertion: This test checks that rows in a vertical-rl table are ordered from left to right; the first row is the leftmost row | + | Test assertion: This test checks that rows in a vertical-lr table are ordered from left to right; the first row is the leftmost row |
For each of these tests, we need additional tests with | For each of these tests, we need additional tests with | ||
Line 201: | Line 202: | ||
e) "the writing-mode property of the HTML BODY element is not propagated to the viewport." | e) "the writing-mode property of the HTML BODY element is not propagated to the viewport." | ||
- | //Possible (draft) tests for now: [[http:// | + | //Possible (draft) tests for now: [[http:// |
//related CSS2.1 tests are http:// | //related CSS2.1 tests are http:// | ||
Line 218: | Line 219: | ||
f) "If a box has a different block flow direction than its containing block: | f) "If a box has a different block flow direction than its containing block: | ||
If the box has a specified display of inline, its display computes to inline-block. [CSS21] | If the box has a specified display of inline, its display computes to inline-block. [CSS21] | ||
- | If the box has a specified display of run-in, its display computes to block. [CSS21] | ||
If the box is a block container, then it establishes a new block formatting context. | If the box is a block container, then it establishes a new block formatting context. | ||
" | " | ||
- | //2 tests (the run-in case is not testable for now) can be written out of this multiplied by 3 writing-modes values; we could create javascript tests as well// | + | //2 tests can be written out of this multiplied by 3 writing-modes values; we could create javascript tests as well// |
g) Testable: The content of replaced elements do not rotate due to the writing mode: | g) Testable: The content of replaced elements do not rotate due to the writing mode: | ||
Line 408: | Line 408: | ||
[[http:// | [[http:// | ||
- | x test to be done. | + | " |
+ | |||
+ | Many tests to be done: at least one for each sub-sections of 10.3 and of 10.6. | ||
==== §7.2 Dimensional Mapping ==== | ==== §7.2 Dimensional Mapping ==== |