From 3df872f767ce534aa6dcd65f0e67433bfce1fa8f Mon Sep 17 00:00:00 2001 From: Jonathan Kew Date: Wed, 19 Nov 2014 11:15:45 +0000 Subject: [PATCH] Bug 1097128 - Enable compile-time support for vertical writing modes. r=smontagu --- layout/generic/WritingModes.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/layout/generic/WritingModes.h b/layout/generic/WritingModes.h index 1b112aedd94..d9c3f331070 100644 --- a/layout/generic/WritingModes.h +++ b/layout/generic/WritingModes.h @@ -16,7 +16,12 @@ // of transitioning layout to use writing-mode and logical directions, but // not yet ready to ship vertical support. -/* #define WRITING_MODE_VERTICAL_ENABLED 1 */ +// XXX To be removed, and the #ifdef blocks below made unconditional, +// once we're confident we can leave it permanently enabled. + +#ifndef RELEASE_BUILD +#define WRITING_MODE_VERTICAL_ENABLED 1 +#endif // It is the caller's responsibility to operate on logical-coordinate objects // with matched writing modes. Failure to do so will be a runtime bug; the