javascript - TreeWalker, textNodes and RTL ordering in natural language web pages -



javascript - TreeWalker, textNodes and RTL ordering in natural language web pages -

in languages standard arabic text direction right-to-left. illustration go facebook homepage , select standard arabic languages link @ bottom of screen.

my question if using tree walker step through kid nodes of element containing standard arabic text, , set textcontent of nodes array, , concatenate it, textnodes have been ordered in semantically right order (rtl) or mixed up?

another way of asking question : need own rtl checking if stepping through text nodes in international environment, or browser's tree walker take care of me ( speaking document order == semantic order ).

i not expert on dom textnodes in i18n, rtl or these issues, , purpose of text node traversal info collection.

javascript dom internationalization right-to-left

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -