Closed Bug 1000434 Opened 11 years ago Closed 11 years ago

Thimble won't render preview with custom elements in document

Categories

(Webmaker Graveyard :: Thimble, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bobby, Assigned: michiel)

References

()

Details

Attachments

(1 file)

Thimble doesn't allow preview to render when there is an element with an unrecognized tag, e.g. <foo-bar>. Can we allow tags with dashes in their names (as per the Web Components specs)? e.g. https://thimble.webmaker.org/en-US/project/49428/edit Hilariously, another bug I filed about incomplete tags disallowed this by preventing preview when errors are detected: https://bugzilla.mozilla.org/show_bug.cgi?id=985971 Can the "this tag is unrecognized" error be an warning instead for tags with dashes in them? Or (better still), nothing?
Assignee: pomax → bobby
Attachment #8412062 - Attachment description: Patch for accepting custom elements → https://github.com/mozilla/thimble.webmaker.org/pull/420
Attachment #8412062 - Attachment filename: file_1000434.txt → 420
Attachment #8412062 - Flags: review?(pomax) → review-
Excellent. Moved custom-element.html content to a gist because it shouldn't be in the tree: https://gist.github.com/secretrobotron/846d28209f9e9bc83e7f
Attachment #8412062 - Flags: review- → review?(pomax)
Comment on attachment 8412062 [details] [review] https://github.com/mozilla/thimble.webmaker.org/pull/420 sweet deal. Squash before merging in and we're a step closer to winning.
Attachment #8412062 - Flags: review?(pomax) → review+
Squashed. Merge?
Flags: needinfo?(pomax)
merged. Give thimble.mofostaging.net a whirl and if it holds up, let's push to production.
Assignee: bobby → pomax
Status: NEW → ASSIGNED
Flags: needinfo?(bobby)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Flags: needinfo?(pomax)
Flags: needinfo?(bobby)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: