Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Unified Diff: sky/specs/markup.md

Issue 695423004: Specs: Drop the concept of late-bound elements. An element can never be upgraded. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/specs/apis.md ('k') | sky/specs/modules.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/specs/markup.md
diff --git a/sky/specs/markup.md b/sky/specs/markup.md
index 7708c514c8c9cc761eee30ba3fcd92884abb09bf..29e92a4ac74d014552558ed7ee63fc5abff850c6 100644
--- a/sky/specs/markup.md
+++ b/sky/specs/markup.md
@@ -144,6 +144,11 @@ Sky Markup: Elements
The Sky language consists of very few elements, since it is expected
that everything of note would be provided by frameworks.
+The following elements are implicitly registered by default, even if
+you haven't imported anything. You can get to their constructors if
+you import sky:core (basically, sky:core is always imported by defaul;
+it's the runtime library). None of these elements have shadow trees.
+
``<import src="foo.sky">``
- Downloads and imports foo.sky in the background.
@@ -176,6 +181,12 @@ that everything of note would be provided by frameworks.
- Sky fetches the bits for foo.bin, looks for a decoder for those
bits, and renders the bits that the decoder returns.
+``<div>``
+ - Element that does nothing.
+
+``<span>``
+ - Element that does nothing.
+
``<iframe src="foo.bin">``
- Sky tells mojo to open an application for foo.bin, and hands that
application a view so that the application can render appropriately.
@@ -195,6 +206,9 @@ that everything of note would be provided by frameworks.
is mutated, theTitleElement.ownerScope.ownerDocument.title is set
to the element's contents.)
+``<error>``
+ - Represents a parse error.
+
Sky Markup: Global Attributes
=============================
« no previous file with comments | « sky/specs/apis.md ('k') | sky/specs/modules.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698