Comment 1 for bug 299207

As of r12554, changing the document unit sets up a viewBox that makes the user unit equivalent to said document unit. In this example, if the document unit was set to centimeters, setting width=10 in the XML editor would set the object's width to 10cm (as long as the object doesn't have a transform applied to it).