-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't turn body into custom element via is="..." #409
Comments
That's fascinating. This works: http://jsbin.com/emITACE/1/edit. @adamk explained to me that what's happening here is that the This use case is definitely untrodden. On Tue, Jan 28, 2014 at 2:59 PM, Jan Miksovsky notifications@github.comwrote:
|
Steve: Thanks for the explanation, and for the helpful workaround! I think this is a pretty interesting use case. There are a world of page templates out there that could easily be viewed as custom body elements. Being able to extend="body" is just as interesting as extending any other type of visible HTML element like button, etc. |
+1 |
@JanMiksovsky: Take a look at #421 - I was able to placed custom body element definition outside of |
I'd like to be able to create page templates that extend the
<body>
element and are applied via is="...", but seem unable to do so.See repro case: http://jsbin.com/UnURIwIT/2/edit
If I change the element to extend="div", then apply this to a div inside the body, it works. But it'd be nice to be able to modify the body itself, since semantically, I view a page template as really being the page body, not being content inside the body.
The text was updated successfully, but these errors were encountered: