[Text-UI] Improve handling of root style in CssTextStyleManager Follow-up-to: 7b9c6940ea4a784b401ff606d6fbc93360706f61 Change-Id: Ib5b6396b46d3263714b5256821d7e56c71a8037b