Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
test:css-writing-modes-3 [2014/12/23 11:49] – [Current test coverage of the Writing Modes spec] gtalbottest: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://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.
Line 17: Line 15:
 [[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 ====
Line 25: Line 21:
 [[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 =====
Line 36: Line 34:
  
 [[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. 
  
 " "
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 paragraphGT//+  * 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 ====
Line 77: Line 73:
 [[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: 
  
Line 407: Line 408:
 [[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 ====
 
test/css-writing-modes-3.txt · Last modified: 2015/02/09 20:31 by gtalbot
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki