paper-checkbox icon indicating copy to clipboard operation
paper-checkbox copied to clipboard

Use :dir instead of attribute selector

Open esprehn opened this issue 9 years ago • 2 comments

:host-context([dir="rtl"]) #ink

should be

#ink:dir(rtl) I think?

:host-context and attribute selectors will be expensive.

esprehn avatar Feb 08 '16 21:02 esprehn

I agree, but I don't think :dir() is supported anywhere except Firefox yet (and prefixed there still). I added a similar hack to paper-tabs.

bicknellr avatar Feb 10 '16 00:02 bicknellr

@bicknellr the usage of :host-context([dir="rtl"]) is also done in the paper-checkbox and the result is awful on edge...

DavidHenri008 avatar Mar 16 '18 20:03 DavidHenri008