[webapi] Automate 2 tests for CSS3 Text as reftest

Impacted TCs num(approved): New 0, Update 2, Delete 0
Unit test Platform: Andriod
Unit test result summary: Pass 2, Fail 0, Blocked 0