Both sides previous revisionPrevious revisionNext revision | Previous revision |
test:css-writing-modes-3 [2014/12/23 11:49] – [Current test coverage of the Writing Modes spec] gtalbot | test:css-writing-modes-3 [2015/02/09 20:31] (current) – [§7.1 Principles of Layout in Vertical Writing Modes] gtalbot |
---|
[[http://www.w3.org/TR/css-writing-modes-3/#text-flow|§1 Introduction to Writing Modes]] | [[http://www.w3.org/TR/css-writing-modes-3/#text-flow|§1 Introduction to Writing Modes]] |
| |
[[http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/chapter-1.htm#s1|0 test done]] | [[http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/chapter-1.htm#s1|0/0 tests done.]] |
| |
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. |
[[http://www.w3.org/TR/css-writing-modes-3/#placement|§1.1 Module Interactions]] | [[http://www.w3.org/TR/css-writing-modes-3/#placement|§1.1 Module Interactions]] |
| |
[[http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/chapter-1.htm#s1.1|0 test done]] | [[http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/chapter-1.htm#s1.1|0/0 tests done.]] |
| |
0 test to be done. | |
| |
==== §1.2 Values ==== | ==== §1.2 Values ==== |
[[http://www.w3.org/TR/css-writing-modes-3/#values|§1.2 Values]] | [[http://www.w3.org/TR/css-writing-modes-3/#values|§1.2 Values]] |
| |
[[http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/chapter-1.htm#s1.2|0 test done]] | [[http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/chapter-1.htm#s1.2|0/0 tests done.]] |
| |
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 ===== |
| |
[[http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/chapter-2.htm#s2|96 tests done]] | [[http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/chapter-2.htm#s2|96 tests done]] |
| |
2 tests to be done. | |
| |
" | " |
" | " |
| |
//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 tests for UAX9 compliance and evaluate coverage. |
| |
==== §2.1 Specifying Directionality: the direction property ==== | ==== §2.1 Specifying Directionality: the direction property ==== |
[[http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/chapter-2.htm#s2.2|0 test done]] | [[http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/chapter-2.htm#s2.2|0 test done]] |
| |
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: pre and white-space: pre-lines |
| |
non-'normal' unicode-bidi values will cause inline boxes to create scope which will override the intrinsic directionality of text | non-'normal' unicode-bidi values will cause inline boxes to create scope which will override the intrinsic directionality of text |
| |
- a bidi parg with an unicode-bidi: normal inline box: the inline box is transparent to the unicode bidi algorithm; content is ordered as if the box’s boundaries were not there. //Weird: wasn't this already stated in 2.1? Compare: 2.1 statement: "The direction property has no effect on bidi reordering when specified on inline boxes whose unicode-bidi property’s value is normal, because the box does not open an additional level of embedding with respect to the bidirectional algorithm." 2.2 statement: "when unicode-bidi is normal) an inline box is transparent to the unicode bidi algorithm; content is ordered as if the box’s boundaries were not there."// | - a bidi parg with an unicode-bidi: normal inline box: the inline box is transparent to the unicode bidi algorithm; content is ordered as if the box’s boundaries were not there. //Weird: wasn't this already stated in 2.1? Compare: 2.1 statement: "The direction property has no effect on bidi reordering when specified on inline boxes whose unicode-bidi property’s value is normal, because the box does not open an additional level of embedding with respect to the bidirectional algorithm." 2.2 statement: "when unicode-bidi is normal) an inline box is transparent to the unicode bidi algorithm; content is ordered as if the box’s boundaries were not there."// |
| * 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: {embed | isolate | bidi-override | isolate-override | plaintext | inherit} inline box: //6 tests to do// | - a bidi parg with an unicode-bidi: {embed | isolate | bidi-override | isolate-override | plaintext | inherit} inline box: //6 tests to do// |
- 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: |
| |
[[http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/chapter-7.htm#s7.1|0 test done]] | [[http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/chapter-7.htm#s7.1|0 test done]] |
| |
x test to be done. | "Layout calculation rules (such as those in [[http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#Computing_widths_and_margins|CSS2.1, Section 10.3]]) that apply to the horizontal dimension in horizontal writing modes instead apply to the vertical dimension in vertical writing modes. Likewise, layout calculation rules (such as those in [[http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#Computing_heights_and_margins|CSS2.1, Section 10.6]]) that apply to the vertical dimension in horizontal writing modes instead apply to the horizontal dimension in vertical writing modes." |
| |
| 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 ==== |