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

Unified Diff: sky/specs/style.md

Issue 846523003: Specs: try to import elements from module.exports as well as module.exports.* (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 months 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/runloop.md ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/specs/style.md
diff --git a/sky/specs/style.md b/sky/specs/style.md
index ae23c24546650133706c9e7a108c579d50e233b7..885e91b5e7020c28952a6682da29a8ae497b249e 100644
--- a/sky/specs/style.md
+++ b/sky/specs/style.md
@@ -748,6 +748,8 @@ sky:core by default registers:
Layout managers inherit from the following API:
```javascript
+callback LayoutManagerConstructor LayoutManager (RenderNode node);
+
class LayoutManager : EventTarget {
readonly attribute RenderNode node;
constructor LayoutManager(RenderNode node);
@@ -756,7 +758,7 @@ class LayoutManager : EventTarget {
readonly attribute Boolean autoreap;
// defaults to true
// when true, any children that are isNew are automatically welcomed by the default layout()
- // when true, children that are removd don't get set to isGhost=true, they're just removed
+ // when true, children that are removed don't get set to isGhost=true, they're just removed
virtual Array<EventTarget> getEventDispatchChain(); // O(N) in number of this.node's ancestors // implements EventTarget.getEventDispatchChain()
// let result = [];
@@ -989,7 +991,7 @@ d[pDisplay] = new ObjectStyleValue(ParagraphLayoutManager);
this.style.addStyles(d);
```
-The other elements doe't have any default styles.
+The other elements don't have any default styles.
These declarations are all shared between all the elements (so e.g. if
you reach in and change the declaration that was added to a ``span``
« no previous file with comments | « sky/specs/runloop.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698