-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: next rebased #734
feat: next rebased #734
Conversation
diervo
commented
Oct 13, 2018
- refactor(engine): removal of is attr and forceTagName
- fix(engine): removing integration test for forceTagName
- fix: remove custom element transformation from CSS (fix: remove custom element transformation from CSS #695)
- fix(compiler): fixing fixtures
- refactor(engine): snabbdom lite - phase 1 (refactor(engine): snabbdom lite - phase 1 #606)
- refactor(engine): removal of is attr and forceTagName
- refactor(engine): removal of is attr and forceTagName
- fix(engine): removing integration test for forceTagName
- refactor(engine): snabbdom lite - phase 1
- refactor(engine): adding hooks.ts
- refactor(engine): removing global hooks
- refactor(engine): splitting style and class modules into static and dynamic
- test(engine): ready for the final push
- refactor(engine): making hooks mandatory.
- refactor(engine): making all hooks functions
- refactor(engine): dynamic diff vs static diff
- refactor(engine): using two diff algos
- refactor(engine): removing htmlapi in favor of pure patching
- fix(engine): missing argument when determining diff algo
- fix(engine): adding tests for dynamic diff
- fix(engine): clean up
- fix(engine): integration test failures
- refactor(engine): proto chaining
- fix(engine): wrong auto import
- fix(engine): correcting the proto chain
- refactor(engine): implementing the base element proto chain
- test(engine): adding more tests for restrictions on elements
- refactor(engine): rename to BaseBridgeElement
- feat(engine): dom patching (feat(engine): dom patching #688)
- feat(engine): dom patching
- fix(engine): cleanup descriptors
- feat(engine): rebase
- fix(engine): linting
- fix(engine): pr feedback
- fix(engine): lint
- fix(compiler): updated snapshot testing to account for shadow dom
- fix(engine): pr feedback
- fix(engine): fixing restrictions on custom elements
- fix(engine): exposing host (fix(engine): exposing host #705)
- fix(engine): exposing host
- fix(engine): shadow root
- wip(engine): linting and type errors
- fix(engine): cleaning up shadow root detection
- fix(engine): removing restrictions test
- fix(engine): fixing element from point methods
- fix(engine): disabling some attribute integration test for now
- fix(engine): linting
- fix(engine): upgrade ie11 driver
- fix(engine): compat test fix
- fix(engine): applying elementFromPoint on document
- fix(engine): linting
- fix(engine): reverting unnecessary changes
- fix(engine): removing skip in test
- fix(engine): polyfill readmes
- fix(engine): review feedback
- fix(engine): integration tests for elementFromPoint
- fix(engine): ie11 elementsFromPoint
- fix(engine): feedback
- fix(engine): ts fix
- wip: yarn update
- fix(engine): fixing snapshot test
@@ -135,11 +135,17 @@ function parentNodeDescriptorValue(this: HTMLElement): HTMLElement | SyntheticSh | |||
} | |||
|
|||
function parentElementDescriptorValue(this: HTMLElement): HTMLElement | null { | |||
const parentNode = parentNodeDescriptorValue.call(this); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davidturissini this is the fix for the problem with elm.parentElement
. We were using the getter defined in this file to get the shadow, which we were using just to compare it. A better solution is just to do the low level parentElement, and do the comparison based on that.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
The conflicting files are easy to resolve, but I haven't done that yet in case we need to revert scoped ids for whatever reason (having a hard time getting CI to build it). |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@@ -143,7 +143,6 @@ const CustomElementHook: Hooks = { | |||
// this is used mostly for caching in compiler and style tags | |||
vnode.elm = createElement.call(document, sel); | |||
} | |||
createElmHook(vnode); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain this? Its not clear why you're removing this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have spoken to @davidturissini about this one, we are good! the reason is that createElmHook and createCustomElmHook are analog.
9bf75ff
to
3d9b342
Compare
This comment has been minimized.
This comment has been minimized.
@@ -32,13 +24,7 @@ export function dangerousObjectMutation(obj: any): any { | |||
// Universal unwrap mechanism that works for observable membrane | |||
// and wrapped iframe contentWindow | |||
export const unwrap = function(value: any): any { | |||
// observable membrane goes first because it is in the critical path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@caridy @davidturissini If traverse-membrane is removed that you could remove this in InteropComponent as well. My assumption is that was put in place to not leak any traverse-membrane proxies into aura.
If you leave it as-is, I believe the side effect is that data proxies returned by a public method will be unwrapped.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davidturissini do you want to take this? or maybe @jodarove, who knows that code as well.
3d9b342
to
9bf75ff
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
* refactor(engine): removal of is attr and forceTagName * fix(engine): removing integration test for forceTagName * fix: remove custom element transformation from CSS (#695) * fix(compiler): fixing fixtures * refactor(engine): snabbdom lite - phase 1 (#606) * refactor(engine): removal of is attr and forceTagName * refactor(engine): removal of is attr and forceTagName * fix(engine): removing integration test for forceTagName * refactor(engine): snabbdom lite - phase 1 * refactor(engine): adding hooks.ts * refactor(engine): removing global hooks * refactor(engine): splitting style and class modules into static and dynamic * test(engine): ready for the final push * refactor(engine): making hooks mandatory. * refactor(engine): making all hooks functions * refactor(engine): dynamic diff vs static diff * refactor(engine): using two diff algos * refactor(engine): removing htmlapi in favor of pure patching * fix(engine): missing argument when determining diff algo * fix(engine): adding tests for dynamic diff * fix(engine): clean up * fix(engine): integration test failures * refactor(engine): proto chaining * fix(engine): wrong auto import * fix(engine): correcting the proto chain * refactor(engine): implementing the base element proto chain * test(engine): adding more tests for restrictions on elements * refactor(engine): rename to BaseBridgeElement * feat(engine): dom patching (#688) * feat(engine): dom patching * fix(engine): cleanup descriptors * feat(engine): rebase * fix(engine): linting * fix(engine): pr feedback * fix(engine): lint * fix(compiler): updated snapshot testing to account for shadow dom * fix(engine): pr feedback * fix(engine): fixing restrictions on custom elements * fix(engine): exposing host (#705) * fix(engine): exposing host * fix(engine): shadow root * wip(engine): linting and type errors * fix(engine): cleaning up shadow root detection * fix(engine): removing restrictions test * fix(engine): fixing element from point methods * fix(engine): disabling some attribute integration test for now * fix(engine): linting * fix(engine): upgrade ie11 driver * fix(engine): compat test fix * fix(engine): applying elementFromPoint on document * fix(engine): linting * fix(engine): reverting unnecessary changes * fix(engine): removing skip in test * fix(engine): polyfill readmes * fix(engine): review feedback * fix(engine): integration tests for elementFromPoint * fix(engine): ie11 elementsFromPoint * fix(engine): feedback * fix(engine): ts fix * wip: yarn update * fix(engine): fixing snapshot test wip: styles still broken wip: fix styles
* feat(engine): active element for shadow roots * fix(engine): linting * fix(docs): updated readme
* feat(compiler): adding api.ti call for tabindex * fix(engine): fixing log warning * fix(engine): review feedback * fix(engine): review feedback * fix(engine): fixing lwc-template-compiler build * fix(compiler): updated snapshot
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
* feat(engine): expose isnodecreatedbylwc * fix(engine): review feedback * fix(engine): linting * fix(engine): adding instanceof check * fix(engine): removing unused imports
* * refactor(engine): removal of is attr and forceTagName * refactor(engine): removal of is attr and forceTagName * fix(engine): removing integration test for forceTagName * fix: remove custom element transformation from CSS (#695) * fix(compiler): fixing fixtures * refactor(engine): snabbdom lite - phase 1 (#606) * refactor(engine): removal of is attr and forceTagName * refactor(engine): removal of is attr and forceTagName * fix(engine): removing integration test for forceTagName * refactor(engine): snabbdom lite - phase 1 * refactor(engine): adding hooks.ts * refactor(engine): removing global hooks * refactor(engine): splitting style and class modules into static and dynamic * test(engine): ready for the final push * refactor(engine): making hooks mandatory. * refactor(engine): making all hooks functions * refactor(engine): dynamic diff vs static diff * refactor(engine): using two diff algos * refactor(engine): removing htmlapi in favor of pure patching * fix(engine): missing argument when determining diff algo * fix(engine): adding tests for dynamic diff * fix(engine): clean up * fix(engine): integration test failures * refactor(engine): proto chaining * fix(engine): wrong auto import * fix(engine): correcting the proto chain * refactor(engine): implementing the base element proto chain * test(engine): adding more tests for restrictions on elements * refactor(engine): rename to BaseBridgeElement * feat(engine): dom patching (#688) * feat(engine): dom patching * fix(engine): cleanup descriptors * feat(engine): rebase * fix(engine): linting * fix(engine): pr feedback * fix(engine): lint * fix(compiler): updated snapshot testing to account for shadow dom * fix(engine): pr feedback * fix(engine): fixing restrictions on custom elements * fix(engine): exposing host (#705) * fix(engine): exposing host * fix(engine): shadow root * wip(engine): linting and type errors * fix(engine): cleaning up shadow root detection * fix(engine): removing restrictions test * fix(engine): fixing element from point methods * fix(engine): disabling some attribute integration test for now * fix(engine): linting * fix(engine): upgrade ie11 driver * fix(engine): compat test fix * fix(engine): applying elementFromPoint on document * fix(engine): linting * fix(engine): reverting unnecessary changes * fix(engine): removing skip in test * fix(engine): polyfill readmes * fix(engine): review feedback * fix(engine): integration tests for elementFromPoint * fix(engine): ie11 elementsFromPoint * fix(engine): feedback * fix(engine): ts fix * wip: yarn update * fix(engine): fixing snapshot test wip: styles still broken wip: fix styles * refactor(engine): preliminar work for tabindex * feat(engine): prototype over descriptors * refactor(engine): preliminar work for focus and blur patch * fix(engine): invalid import statement * refactor(engine): preliminar work for focus and blur patch * fix(engine): make shadowroot a fragment * fix(engine): make shadowroot a fragment * fix(engine): make shadowroot a fragment * fix(engine): make shadowroot a fragment * feat(engine): active element for shadow roots (#740) * feat(engine): active element for shadow roots * fix(engine): linting * fix(docs): updated readme * fix(engine): types * fix(engine): nodelist iterator * fix(engine): nodelist iterator * chore(engine): rebasing next-rebased * refactor(engine): implement delegatesFocus flag * test(engine): implement delegatesFocus flag tests * chore(engine): fixing dval mess with the history * fix: newlines on tests * feat: add some polyfill tests * fix(engine): tests * fix(engine): review for PR 747
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Benchmark resultsBase commit: lwc-engine-benchmark
|