Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Implement tests for Writing Modes #11

merged 1 commit into from

2 participants


Current stable versions of Chrome, Firefox, Opera, and Internet Explorer support direction and some or all of unicode-bidi. Internet Explorer supports the old format of writing-mode, so I imagine v10 will support the new format. Chrome supports the new format of writing mode (-webkit-writing-mode: vertical-rl | vertical-lr; works in stylesheets, unless in a ), but for some reason it is failing in the tests.


Hi there!

Thanks for the work!

Are all these values from the spec? Is there anything proprietary in them?


All values from the spec.

@LeaVerou LeaVerou merged commit 6c83993 into LeaVerou:gh-pages

Request merged, although...

Are all these properties/values introduced into CSS3? I'm afraid direction and unicode-bidi were also in CSS2.1. Could you please check and if that's the case send another pull request to remove them? Thanks!

If only new values were introduced in CSS3, just remove the old values. In general, I only want Level 3 stuff in the test, not things that also exist in CSS2.1. Things that existed in CSS2 but got removed in CSS2.1 and re-introduced in CSS3 are fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 10, 2012
  1. @rasamassen
This page is out of date. Refresh to see the latest.
Showing with 13 additions and 0 deletions.
  1. +13 −0 tests.js
13 tests.js
@@ -364,6 +364,19 @@ window.Specs = {
+ "css3-writing-modes": {
+ "title": "Writing Modes",
+ "properties": {
+ "direction": ["ltr", "rtl"],
+ "unicode-bidi": ["normal", "embed", "isolate", "bidi-override", "plaintext"],
+ "writing-mode": ["horizontal-tb", "vertical-rl", "vertical-lr"],
+ "text-orientation": ["upright-right", "upright", "sideways-right", "sideways-left", "sideways", "use-glyph-orientation"],
+ "caption-side": ["before", "after"],
+ "text-combine-horizontal": ["none", "all", "digits 2", "ascii-digits 2", "alpha 2", "latin 2", "alphanumeric 2"],
+ "text-combine-mode": ["auto", "compress", "no-compress", "use-glyphs"]
+ }
+ },
"css3-color": {
"title": "Color",
"values": {
Something went wrong with that request. Please try again.