This patch move `WritingMode` to the second argument, for the consistency with the design of its own APIs like `StyleRect::Start(LogicalAxis, WritingMode)`, and logical classes such as `LogicalMargin::Side(LogicalSide, WritingMode)`. Differential Revision: https://phabricator.services.mozilla.com/D212505