mirror of
https://github.com/servo/servo.git
synced 2025-08-17 03:15:34 +01:00
Implement declarative shadow dom (#34964)
* Implement declarative shadow dom Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Set allowDeclarativeShadowRoots false for innerHTML Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Enable allowDeclarativeShadowRoots for Document Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Expose HTMLTemplateElement to js Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Implemenet setHTMLUnsafe and add more test cases Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Declarative shadow dom: minor updates and expected test result update Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Shadow-dom: add more test cases Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Update comments according to the spec Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Bump html5ever version Signed-off-by: batu_hoang <longvatrong111@gmail.com> --------- Signed-off-by: batu_hoang <longvatrong111@gmail.com>
This commit is contained in:
parent
f483a3d34b
commit
28c8c1df0c
44 changed files with 360 additions and 1965 deletions
|
@ -1,9 +0,0 @@
|
|||
[function-shadow-container.html]
|
||||
[Can query named container in shadow]
|
||||
expected: FAIL
|
||||
|
||||
[::part() can not see inner named containers]
|
||||
expected: FAIL
|
||||
|
||||
[::slotted() can see inner named containers]
|
||||
expected: FAIL
|
|
@ -1,33 +0,0 @@
|
|||
[function-shadow.html]
|
||||
[@function works inside shadow]
|
||||
expected: FAIL
|
||||
|
||||
[Looking up document-global function]
|
||||
expected: FAIL
|
||||
|
||||
[@function works inside nested shadow]
|
||||
expected: FAIL
|
||||
|
||||
[@function defined in outer shadow is visible]
|
||||
expected: FAIL
|
||||
|
||||
[Combining functions from various scopes]
|
||||
expected: FAIL
|
||||
|
||||
[::part() can not see inner functions]
|
||||
expected: FAIL
|
||||
|
||||
[::slotted() can see inner functions]
|
||||
expected: FAIL
|
||||
|
||||
[:host can see inner functions]
|
||||
expected: FAIL
|
||||
|
||||
[Outer functions can't see inner functions]
|
||||
expected: FAIL
|
||||
|
||||
[Outer functions can't see inner functions (local vars)]
|
||||
expected: FAIL
|
||||
|
||||
[Function with same name in different scopes]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue