rtl-styling
rtl-styling copied to clipboard
RTL Styling in Web Components/Shadow DOM
Hi there,
First, thank you so much for creating this guide!
What are your thoughts on adding a section for RTL styling in Web Components and/or Shadow DOM? Best practices get a little wonky when it comes to Web Components, as styling against html[dir="rtl"]
inside of a component doesn't work due to shadow boundaries. This is, admittedly, a bit of uncharted territory, but happy to help where I can!
Hello, @alexiscordova! Thanks a lot for reading.
This is exciting! I will try to learn about Web Components and see how can I add a section about it. In the meantime, this issue will be kept open until the section is added. Will definitely ping you for help :)
I don't know whether there are any cross-browser issues or not, but https://github.com/whatwg/html/issues/3699 may provide some insight.