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
5bc8ae496a
Specs: Explain the parser a bit better. Make the output of registerElement() something you can pass to registerElement().
...
Review URL: https://codereview.chromium.org/705443002
2014-11-03 14:08:12 -08:00
Hixie
2a6e5c6b29
Specs: Add a URL field to the Module and Application objects. Note
...
that this makes the constructor for Module now have three arguments.
They're all non-optional which is why I didn't turn it into a
dictionary, but maybe it's time to start thinking about that. And
maybe URL should be optional.
Review URL: https://codereview.chromium.org/700603002
2014-11-03 11:07:58 -08:00
Hixie
22d5eed1dd
fix the complexity comments for attribute APIs
...
Review URL: https://codereview.chromium.org/696783003
2014-10-31 17:20:18 -07:00
Hixie
0fadb1e50c
Specs: default arguments
...
Review URL: https://codereview.chromium.org/694843003
2014-10-31 16:45:20 -07: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
95c3a249f7
Specs: Clarify currentScript behaviour
...
Review URL: https://codereview.chromium.org/693933003
2014-10-31 13:30:11 -07:00
Hixie
67a3adff88
Specs: Simplify the platform by only having one shadow tree per element.
...
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/694613002
2014-10-31 10:16:37 -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
6b0a6770ba
Specs: Expose the currently running script so that you can do Polymer-style magic
...
Review URL: https://codereview.chromium.org/687353002
2014-10-29 13:42:42 -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
945193eb86
Specs: Make it possible to import a module from a module or application by calling module.import(url)
...
Review URL: https://codereview.chromium.org/690793002
2014-10-29 12:29:41 -07:00
Hixie
b50d01ca6b
Specs: move findId() to TreeScope since it wouldn't be O(1) on Element
...
Review URL: https://codereview.chromium.org/686243002
2014-10-29 12:22:13 -07:00
Hixie
28fab08e02
Specs: Parser fixes for issues Adam found
...
Review URL: https://codereview.chromium.org/682283002
2014-10-28 15:15:52 -07:00
Hixie
36288fcde8
Specs: Be more precise about how to decode UTF-8 and the implications thereof
...
Review URL: https://codereview.chromium.org/679313002
2014-10-27 15:38:16 -07:00
Hixie
ff813964ad
Specs: Tokeniser should return to return state, not data state; &#x; should not emit U+FFFD.
...
BUG=8
Review URL: https://codereview.chromium.org/650323005
2014-10-27 13:03:55 -07:00
Hixie
9bffda0fa5
Specs: Actually maintain the stack of open nodes.
...
BUG=5
Review URL: https://codereview.chromium.org/685483002
2014-10-27 11:23:00 -07:00
Hixie
b07892e535
Specs: Somehow I forgot to make CustomEventTarget inherit from EventTarget.
...
BUG=6
Review URL: https://codereview.chromium.org/678053002
2014-10-27 11:19:01 -07:00
Hixie
db048f01f6
Specs: typo in 'named character reference' state name
...
Review URL: https://codereview.chromium.org/680103003
2014-10-27 11:17:42 -07:00
Hixie
bdbd3b12cd
Specs: Tokeniser fixes: simplify the entity parser to just do string compares, fix copy-pasta
...
BUG=7
Review URL: https://codereview.chromium.org/683493003
2014-10-27 11:15:23 -07:00
Adam Barth
7c001a4ffa
Fix a typo in apis.md
...
TBR=ianh@google.com
Review URL: https://codereview.chromium.org/680693003
2014-10-25 00:05:51 -07:00
Hixie
5a7b5879c7
Docs: fix markdown some more
...
Review URL: https://codereview.chromium.org/677793003
2014-10-24 14:17:44 -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
1f9a5e290b
Specs: fix markdown in the markup spec (second attempt)
...
Review URL: https://codereview.chromium.org/675303002
2014-10-24 14:01:57 -07:00
Hixie
af331257f6
Specs: fix markdown in the markup spec
...
Review URL: https://codereview.chromium.org/675853004
2014-10-24 13:59:32 -07:00
Hixie
420d715e54
Specs: Module overview
...
Review URL: https://codereview.chromium.org/678803002
2014-10-24 13:53:15 -07:00
Hixie
81adb15ad6
Docs: Strawman design principles
...
Review URL: https://codereview.chromium.org/676093002
2014-10-24 13:34:40 -07:00
Hixie
9832c02d04
Specs: Update parser to support <t>, <template>, "/>" syntax
...
Specs: Fix scripts to run at </script> not <script>
Specs: Update parsing to delay on pending imports before running
scripts or firing 'load'
Specs: Fire 'load' at Application or Module rather than Document
Specs: Imply there's going to be a start tag token observer callback
so that you can implement prefetching for custom elements
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/677533004
2014-10-24 13:28:00 -07:00
Hixie
83c22f124e
script/style tokeniser states
...
Review URL: https://codereview.chromium.org/642903004
2014-10-23 17:11:21 -07:00
Hixie
62596e3644
Parser tokeniser states (WIP, doesn't yet do script/style)
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/657393004
2014-10-23 16:47:29 -07:00
Adam Barth
ae72930937
Open the Sky
2014-10-23 11:17:19 -07:00