You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 4, 2018. It is now read-only.
I don't want to have to do this, but I don't know of a good algorithm to determine if whitespace should be part of a slot. The problem comes when you write HTML; your indentation and new lines get treated as light DOM and slotted into a default slot unless you either require a named slot, or do this.
The text was updated successfully, but these errors were encountered:
@treshugart since there is nothing about this in the spec, and since we have no obvious way to determine which decision would be right, I'd say go with the easiest solution. Which is leave things as they are now, i.e. don't slot empty text-nodes.
@treshugarthttps://github.com/treshugart since there is nothing about
this in the spec, and since we have no obvious way to determine which
decision would be right, I'd say go with the easiest solution. Which is
leave things as they are now, i.e. don't slot empty text-nodes.
I don't want to have to do this, but I don't know of a good algorithm to determine if whitespace should be part of a slot. The problem comes when you write HTML; your indentation and new lines get treated as light DOM and slotted into a default slot unless you either require a named slot, or do this.
The text was updated successfully, but these errors were encountered: