+
8 The Principal Writing Mode |
wm-propagation-001 |
= |
|
propagation of the writing-mode property from body to root
- the writing mode of the body must be propagated to the root, but the computed value must not change.
|
wm-propagation-002 |
= |
|
propagation of the direction property from body to root
- the 'direction' of the body must be propagated to the root, but the computed value must not change.
|
wm-propagation-body-032 |
= |
|
'writing-mode: vertical-rl' set to <body> element propagates to viewport
- This test checks that when the root element has a <body> child element, then the principal writing mode is instead taken from the values of writing-mode and direction on the first such child element instead of taken from the root element. Also, a small script in this test verifies that the computed value of 'writing-mode' of the root element itself is not affected by such propagation.
|
wm-propagation-body-033 |
= |
|
'writing-mode: vertical-lr' set to <body> element propagates to viewport
- This test checks that when the root element has a <body> child element, then the principal writing mode is instead taken from the values of writing-mode and direction on the first such child element instead of taken from the root element. Also, a small script in this test verifies that the computed value of 'writing-mode' of the root element itself is not affected by such propagation.
|
wm-propagation-body-036 |
= |
|
'writing-mode: vertical-rl' set to <body> element propagates to viewport
- This test checks that when the root element has a <body> child element, then the principal writing mode is instead taken from the values of writing-mode and direction on the first such child element instead of taken from the root element. Also, a small script in this test verifies that the computed value of 'writing-mode' of the root element itself is not affected by such propagation.
|
wm-propagation-body-037 |
= |
|
'writing-mode: vertical-lr' set to <body> element propagates to viewport
- This test checks that when the root element has a <body> child element, then the principal writing mode is instead taken from the values of writing-mode and direction on the first such child element instead of taken from the root element. Also, a small script in this test verifies that the computed value of 'writing-mode' of the root element itself is not affected by such propagation.
|
wm-propagation-body-040 |
= |
|
'writing-mode: horizontal-tb' set to <body> element propagates to viewport
- This test checks that when the root element has a <body> child element, then the principal writing mode is instead taken from the values of writing-mode and direction on the first such child element instead of taken from the root element. Also, a small script in this test verifies that the computed value of 'writing-mode' of the root element itself is not affected by such propagation.
|
wm-propagation-body-041 |
= |
|
'writing-mode: vertical-lr' set to <body> element propagates to viewport
- This test checks that when the root element has a <body> child element, then the principal writing mode is instead taken from the values of writing-mode and direction on the first such child element instead of taken from the root element. Also, a small script in this test verifies that the computed value of 'writing-mode' of the root element itself is not affected by such propagation.
|
wm-propagation-body-044 |
= |
|
'writing-mode: horizontal-tb' set to <body> element propagates to viewport
- This test checks that when the root element has a <body> child element, then the principal writing mode is instead taken from the values of writing-mode and direction on the first such child element instead of taken from the root element. Also, a small script in this test verifies that the computed value of 'writing-mode' of the root element itself is not affected by such propagation. We also check that the computed value is unaffected by inheriting it into a pseudo element.
|
wm-propagation-body-045 |
= |
|
'writing-mode: vertical-rl' set to <body> element propagates to viewport
- This test checks that when the root element has a <body> child element, then the principal writing mode is instead taken from the values of writing-mode and direction on the first such child element instead of taken from the root element. Also, a small script in this test verifies that the computed value of 'writing-mode' of the root element itself is not affected by such propagation.
|
wm-propagation-body-computed-root |
|
Script |
Computed writing-mode for html element when writing mode for body propagated to viewport
- Test that propagating writing-mode from body to viewport does not affect the computed writing-mode of the html element
|
wm-propagation-body-dynamic-change-001 |
= |
|
propagation of the writing-mode property from body to root
- The writing mode of the body must be propagated to the root with the dynamic change.
|
wm-propagation-body-dynamic-change-002 |
= |
|
propagation of the writing-mode property from body to root
- The writing mode of the newly inserted body must be propagated to the root.
|
wm-propagation-body-scroll-offset-vertical-lr |
|
Script |
body vertical-lr propagated to viewport - scroll direction
- Test that propagating writing-mode from body to viewport affects scroll direction
|
wm-propagation-body-scroll-offset-vertical-rl |
|
Script |
body vertical-rl propagated to viewport - scroll direction
- Test that propagating writing-mode from body to viewport affects scroll direction
|