Comments on: Platform News: Defaulting to Logical CSS, Fugu APIs, Custom Media Queries, and WordPress vs. Italics https://css-tricks.com/platform-news-defaulting-to-logical-css-fugu-apis-custom-media-queries-and-wordpress-vs-italics/ Tips, Tricks, and Techniques on using Cascading Style Sheets. Mon, 15 Mar 2021 22:31:57 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: Šime Vidas https://css-tricks.com/platform-news-defaulting-to-logical-css-fugu-apis-custom-media-queries-and-wordpress-vs-italics/#comment-1769762 Mon, 15 Mar 2021 22:31:57 +0000 https://css-tricks.com/?p=336380#comment-1769762 My guess is that Google would like to do that, but it would cause layout breakage and other issues on some websites. The number of websites that have some amount of logical CSS is probably much higher than the number of websites whose RTL layouts have been tested and optimized.

Maybe it would be useful if there was a standard way for a web page to declare that it supports multiple text directionalities. Something like

<meta name="dir" content="ltr rtl">

Then Google Translate could confirm that RTL is supported and update the dir attribute.

]]>
By: jz https://css-tricks.com/platform-news-defaulting-to-logical-css-fugu-apis-custom-media-queries-and-wordpress-vs-italics/#comment-1769754 Mon, 15 Mar 2021 17:02:48 +0000 https://css-tricks.com/?p=336380#comment-1769754 using the class name is a neat patch but why on earth does google translate not just update the html dir attribute for the elements where it swaps out the text??

]]>