
Loading…
unicode escape sequences in css not handled correctly #2650
HaykoKoryun
commented
Owner
arthurevans
commented
Verified, this works correctly in native shadow DOM but fails in shady as described.
As a workaround, you can left-pad the hexadecimal number to 6 digits, so the following selector works in both shadow DOM and shady:
#\000033d-model
Assigning to @sorvell for triage.
nazar-pc
commented
I suspect we'll need just correct some regular expression.
I'll take a look at this.
nazar-pc
commented
@HaykoKoryun, fix for this issue is available in PR #2664
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
consider the following Polymer element:
When Polymer parses the element declaration, specifically the
style, it incorrectly treats the space in this sequence\33 d-modelas a real space, when in fact it terminates the unicode escape sequence\33. As a result it transforms the selector to:model-viewer .\33.model-viewer d-model.model-viewerinstead ofmodel-viewer .\33 d-model.model-vieweras expected.