[Runtime] Add dir and span support for widget
[Runtime] Add dir and span support for widget

We can get right value for text items which have dir
propertie or span element in it.

This festure according to
http://www.w3.org/TR/widgets/#the-dir-attribute
http://www.w3.org/TR/widgets/#the-span-element-and-its-attributes

lincsoon/crosswalk,crosswalk-project/crosswalk,pk-sam/crosswalk,heke123/crosswalk,DonnaWuDongxia/crosswalk,huningxin/crosswalk,jondong/crosswalk,tomatell/crosswalk,fujunwei/crosswalk,chinakids/crosswalk,pk-sam/crosswalk,lincsoon/crosswalk,baleboy/crosswalk,axinging/crosswalk,Pluto-tv/crosswalk,xzhan96/crosswalk,RafuCater/crosswalk,darktears/crosswalk,crosswalk-project/crosswalk-efl,marcuspridham/crosswalk,jondwillis/crosswalk,crosswalk-project/crosswalk,amaniak/crosswalk,hgl888/crosswalk,ZhengXinCN/crosswalk,dreamsxin/crosswalk,bestwpw/crosswalk,TheDirtyCalvinist/spacewalk,jondwillis/crosswalk,alex-zhang/crosswalk,axinging/crosswalk,TheDirtyCalvinist/spacewalk,chuan9/crosswalk,ZhengXinCN/crosswalk,crosswalk-project/crosswalk-efl,jpike88/crosswalk,jpike88/crosswalk,jondwillis/crosswalk,crosswalk-project/crosswalk-efl,DonnaWuDongxia/crosswalk,siovene/crosswalk,tedshroyer/crosswalk,marcuspridham/crosswalk,axinging/crosswalk,marcuspridham/crosswalk,chinakids/crosswalk,bestwpw/crosswalk,leonhsl/crosswalk,pk-sam/crosswalk,pk-sam/crosswalk,qjia7/crosswalk,qjia7/crosswalk,PeterWangIntel/crosswalk,Pluto-tv/crosswalk,alex-zhang/crosswalk,hgl888/crosswalk,minggangw/crosswalk,darktears/crosswalk,leonhsl/crosswalk,axinging/crosswalk,rakuco/crosswalk,PeterWangIntel/crosswalk,Bysmyyr/crosswalk,zliang7/crosswalk,alex-zhang/crosswalk,zeropool/crosswalk,marcuspridham/crosswalk,tomatell/crosswalk,siovene/crosswalk,zliang7/crosswalk,Pluto-tv/crosswalk,chuan9/crosswalk,rakuco/crosswalk,PeterWangIntel/crosswalk,DonnaWuDongxia/crosswalk,jondong/crosswalk,hgl888/crosswalk-efl,tomatell/crosswalk,crosswalk-project/crosswalk,hgl888/crosswalk-efl,stonegithubs/crosswalk,stonegithubs/crosswalk,minggangw/crosswalk,crosswalk-project/crosswalk,PeterWangIntel/crosswalk,RafuCater/crosswalk,jondong/crosswalk,chinakids/crosswalk,Pluto-tv/crosswalk,darktears/crosswalk,XiaosongWei/crosswalk,ZhengXinCN/crosswalk,jondong/crosswalk,fujunwei/crosswalk,Pluto-tv/crosswalk,siovene/crosswalk,huningxin/crosswalk,myroot/crosswalk,chuan9/crosswalk,jpike88/crosswalk,DonnaWuDongxia/crosswalk,PeterWangIntel/crosswalk,marcuspridham/crosswalk,DonnaWuDongxia/crosswalk,baleboy/crosswalk,zeropool/crosswalk,xzhan96/crosswalk,siovene/crosswalk,baleboy/crosswalk,Bysmyyr/crosswalk,darktears/crosswalk,RafuCater/crosswalk,rakuco/crosswalk,jpike88/crosswalk,dreamsxin/crosswalk,zliang7/crosswalk,tomatell/crosswalk,hgl888/crosswalk,weiyirong/crosswalk-1,mrunalk/crosswalk,stonegithubs/crosswalk,jondwillis/crosswalk,heke123/crosswalk,minggangw/crosswalk,heke123/crosswalk,axinging/crosswalk,xzhan96/crosswalk,darktears/crosswalk,amaniak/crosswalk,Bysmyyr/crosswalk,huningxin/crosswalk,marcuspridham/crosswalk,lincsoon/crosswalk,xzhan96/crosswalk,bestwpw/crosswalk,xzhan96/crosswalk,heke123/crosswalk,jpike88/crosswalk,darktears/crosswalk,jondong/crosswalk,jondwillis/crosswalk,stonegithubs/crosswalk,zeropool/crosswalk,tedshroyer/crosswalk,xzhan96/crosswalk,jondwillis/crosswalk,chuan9/crosswalk,qjia7/crosswalk,zeropool/crosswalk,alex-zhang/crosswalk,Bysmyyr/crosswalk,bestwpw/crosswalk,fujunwei/crosswalk,mrunalk/crosswalk,ZhengXinCN/crosswalk,XiaosongWei/crosswalk,lincsoon/crosswalk,marcuspridham/crosswalk,zliang7/crosswalk,DonnaWuDongxia/crosswalk,jondong/crosswalk,mrunalk/crosswalk,baleboy/crosswalk,siovene/crosswalk,TheDirtyCalvinist/spacewalk,minggangw/crosswalk,ZhengXinCN/crosswalk,amaniak/crosswalk,TheDirtyCalvinist/spacewalk,mrunalk/crosswalk,siovene/crosswalk,rakuco/crosswalk,zliang7/crosswalk,hgl888/crosswalk-efl,lincsoon/crosswalk,tomatell/crosswalk,zliang7/crosswalk,weiyirong/crosswalk-1,PeterWangIntel/crosswalk,weiyirong/crosswalk-1,tomatell/crosswalk,dreamsxin/crosswalk,lincsoon/crosswalk,baleboy/crosswalk,huningxin/crosswalk,myroot/crosswalk,amaniak/crosswalk,alex-zhang/crosswalk,crosswalk-project/crosswalk-efl,lincsoon/crosswalk,huningxin/crosswalk,Bysmyyr/crosswalk,tedshroyer/crosswalk,stonegithubs/crosswalk,leonhsl/crosswalk,hgl888/crosswalk,zeropool/crosswalk,leonhsl/crosswalk,TheDirtyCalvinist/spacewalk,Bysmyyr/crosswalk,mrunalk/crosswalk,minggangw/crosswalk,darktears/crosswalk,jpike88/crosswalk,baleboy/crosswalk,stonegithubs/crosswalk,XiaosongWei/crosswalk,fujunwei/crosswalk,marcuspridham/crosswalk,alex-zhang/crosswalk,chuan9/crosswalk,zliang7/crosswalk,heke123/crosswalk,fujunwei/crosswalk,crosswalk-project/crosswalk,hgl888/crosswalk-efl,tedshroyer/crosswalk,weiyirong/crosswalk-1,Bysmyyr/crosswalk,axinging/crosswalk,dreamsxin/crosswalk,TheDirtyCalvinist/spacewalk,amaniak/crosswalk,fujunwei/crosswalk,XiaosongWei/crosswalk,qjia7/crosswalk,amaniak/crosswalk,pk-sam/crosswalk,RafuCater/crosswalk,ZhengXinCN/crosswalk,myroot/crosswalk,mrunalk/crosswalk,weiyirong/crosswalk-1,xzhan96/crosswalk,RafuCater/crosswalk,hgl888/crosswalk,hgl888/crosswalk-efl,rakuco/crosswalk,Bysmyyr/crosswalk,bestwpw/crosswalk,leonhsl/crosswalk,tedshroyer/crosswalk,crosswalk-project/crosswalk,siovene/crosswalk,chinakids/crosswalk,bestwpw/crosswalk,chinakids/crosswalk,minggangw/crosswalk,leonhsl/crosswalk,qjia7/crosswalk,weiyirong/crosswalk-1,jpike88/crosswalk,rakuco/crosswalk,rakuco/crosswalk,dreamsxin/crosswalk,pk-sam/crosswalk,heke123/crosswalk,pk-sam/crosswalk,huningxin/crosswalk,dreamsxin/crosswalk,RafuCater/crosswalk,DonnaWuDongxia/crosswalk,jondong/crosswalk,crosswalk-project/crosswalk-efl,leonhsl/crosswalk,jondong/crosswalk,PeterWangIntel/crosswalk,lincsoon/crosswalk,qjia7/crosswalk,hgl888/crosswalk-efl,jondwillis/crosswalk,heke123/crosswalk,zliang7/crosswalk,fujunwei/crosswalk,chuan9/crosswalk,axinging/crosswalk,tedshroyer/crosswalk,zeropool/crosswalk,bestwpw/crosswalk,ZhengXinCN/crosswalk,xzhan96/crosswalk,myroot/crosswalk,crosswalk-project/crosswalk-efl,hgl888/crosswalk,baleboy/crosswalk,crosswalk-project/crosswalk-efl,baleboy/crosswalk,stonegithubs/crosswalk,crosswalk-project/crosswalk,heke123/crosswalk,myroot/crosswalk,rakuco/crosswalk,amaniak/crosswalk,XiaosongWei/crosswalk,chinakids/crosswalk,hgl888/crosswalk,minggangw/crosswalk,tomatell/crosswalk,Pluto-tv/crosswalk,zeropool/crosswalk,minggangw/crosswalk,XiaosongWei/crosswalk,weiyirong/crosswalk-1,alex-zhang/crosswalk,dreamsxin/crosswalk,crosswalk-project/crosswalk,RafuCater/crosswalk,darktears/crosswalk,tedshroyer/crosswalk,XiaosongWei/crosswalk,chuan9/crosswalk,myroot/crosswalk,Pluto-tv/crosswalk,hgl888/crosswalk-efl,hgl888/crosswalk