13 Commits

Author SHA1 Message Date
Hixie
bb8b004928 Specs: try to import elements from module.exports as well as module.exports.*
Review URL: https://codereview.chromium.org/846523003
2015-01-08 11:34:17 -08:00
Hixie
4f7122c970 Specs: custom element constructor argument shouldn't clash with the module-global 'module' identifier
Review URL: https://codereview.chromium.org/829133003
2015-01-07 14:39:58 -08:00
Hixie
b050360f58 Specs: registerElement(registerElement(...)) failed to work as expected
Review URL: https://codereview.chromium.org/836153005
2015-01-06 13:23:04 -08:00
Hixie
521dca631a Specs: Move default layout manager stuff from default styles to getLayoutManager()
Specs: Make the StyleValueResolverSettings have a safer API for use in
chains of StyleValues.
Other sundry minor changes.

Review URL: https://codereview.chromium.org/836193002
2015-01-06 10:57:26 -08:00
Hixie
baec01edaf Specs: Split apis.md into dom.md, events.md, idl.md, and move the remainder into README.md and modules.md
Specs: Add runloop.md stub.
Specs: Add animation.md stub.

Review URL: https://codereview.chromium.org/824773002
2014-12-22 11:27:47 -08:00
Hixie
93cca4aed1 Specs: default exports to {} rather than document, since it makes writing modules saner
Review URL: https://codereview.chromium.org/730223002
2014-11-17 13:08:09 -08:00
Hixie
17f3f02c77 Docs: Converge on a consistent markdown style.
Review URL: https://codereview.chromium.org/699293002
2014-11-04 14:19:34 -08:00
Hixie
00a2de6490 Specs: Drop the concept of late-bound elements. An element can never be upgraded.
This has the following implications:

 - There's no createElement() function any more. If you want to create
   an element from script, you have to use its constructor.

 - There's no async element registration. The parser will block until
   all the imports are imported when you use a tag name of a custom
   element that hasn't been registered yet, in case one of the imports
   defines it.

 - If you try to construct a non-registered element in markup, it
   turns into an <error> element.

 - <div>, <span>, and <error> are new built-in elements.

R=esprehn@chromium.org

Review URL: https://codereview.chromium.org/695423004
2014-11-03 16:52:47 -08:00
Hixie
f1b8900dbf Specs: make element registrations be per-module, define how they are
exported and reexported, rename 'interface' to 'class' in the IDL, add
constructors to all registered elements

R=esprehn@chromium.org

Review URL: https://codereview.chromium.org/695043002
2014-10-31 16:18:46 -07:00
Hixie
880aa97442 Specs: Add a way for the inspector to see the registered event listeners
Review URL: https://codereview.chromium.org/687353003
2014-10-29 14:15:04 -07:00
Hixie
5f9ecf9f72 Specs: Pass the module last so that if we add other values later we don't shift things in the arguments array
Review URL: https://codereview.chromium.org/689763002
2014-10-29 13:37:31 -07:00
Hixie
17cc096738 Docs: fix markdown in various files, update the README mildly
Review URL: https://codereview.chromium.org/678693003
2014-10-24 14:14:34 -07:00
Hixie
420d715e54 Specs: Module overview
Review URL: https://codereview.chromium.org/678803002
2014-10-24 13:53:15 -07:00