You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then build the JS (you need node + grunt installed):
./tools/deploy.sh
By default, this produces a minified / obfuscated build. To work around that, I hacked the compressJsFile function in tools/minifier/minify.js to be:
return fs.readFileSync(inPath, "utf8");
Then you get concatenated JS that is debuggable.
The first problem I ran into is our lack of history implementation - but this can easily be commented out.
After that, the same problem remains. The code appears to do all ajax correctly and get the right sample information. It then calls into pushSampleList. As far as I can tell, servo behaves the same to this point as FF.
This should be trivial to implement (although I'm not sure if we support implementing binding methods without a WebIDL declaration, which is what the current gecko code does). Are we happy to implement this non-standard field? The MDN page says it's supported in every other browser (well, IE9+ anyway).
@metajack enyo also seems to rely on transition callbacks too, which I don't believe we support yet. It does use animation + animation callbacks, but I'm not sure to what extent yet.
@metajack Ah, part of the reason why none of the button presses are working is because the target of our mousedown events is different than what FF sets, so they get dispatched incorrectly. I'll look into how our hit detection is working.
The servo hit detection doesn't work with (2d or 3d) transforms, which explains the discrepancy here. With the way enyo works, this places all panels at (0,0) so the hit detection is wrong for buttons etc.
enyo relies heavily on transforms for doing layout in js. But some of the transforms are failing to parse - looking into that now before fixing the hit test code.
Activity
glennw commentedon Jul 16, 2015
cc @metajack
glennw commentedon Jul 20, 2015
@metajack The enyo libraries rely on (at least some parts of) cssom to work. The sampler fails due to missing support for https://github.com/mozilla/gecko-dev/blob/master/dom/webidl/HTMLElement.webidl#L84.
glennw commentedon Jul 20, 2015
@metajack enyo also relies on MouseEvent implementing the (non standard) 'which' field of MouseEvent (see https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/which and https://dxr.mozilla.org/mozilla-central/source/dom/events/MouseEvent.h#40).
This should be trivial to implement (although I'm not sure if we support implementing binding methods without a WebIDL declaration, which is what the current gecko code does). Are we happy to implement this non-standard field? The MDN page says it's supported in every other browser (well, IE9+ anyway).
metajack commentedon Jul 20, 2015
@Ms2ger @jdm any ideas what we should do about MouseEvent?
Ms2ger commentedon Jul 20, 2015
https://w3c.github.io/uievents/#KeyboardEvent-supplemental-interface
Gecko implements it on
UIEventfor some reason.glennw commentedon Jul 20, 2015
@metajack enyo also seems to rely on transition callbacks too, which I don't believe we support yet. It does use animation + animation callbacks, but I'm not sure to what extent yet.
glennw commentedon Jul 21, 2015
@metajack Ah, part of the reason why none of the button presses are working is because the target of our mousedown events is different than what FF sets, so they get dispatched incorrectly. I'll look into how our hit detection is working.
The servo hit detection doesn't work with (2d or 3d) transforms, which explains the discrepancy here. With the way enyo works, this places all panels at (0,0) so the hit detection is wrong for buttons etc.
jdm commentedon Jul 21, 2015
Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1186125 about Gecko's noncompliance here, fwiw.
glennw commentedon Jul 22, 2015
enyo relies heavily on transforms for doing layout in js. But some of the transforms are failing to parse - looking into that now before fixing the hit test code.
glennw commentedon Jul 27, 2015
Partial fix for hit testing (needs servo integration) servo/euclid#98
Fix for mouseevent.which #6691
Change transforms to use LengthOrPercentage.
Implement basic support for clientTop/Left/Width/Height.
Accumulate and invert stacking context transform for hit tests.
Accumulate and invert stacking context transform for hit tests.
Accumulate and invert stacking context transform for hit tests.
16 remaining items
Support transforms for display list optimization. Prevents clipping in …
Support transforms for display list optimization. Prevents clipping in …
Auto merge of #6983 - glennw:tf2, r=pcwalton
Fix explicit height edge case with absolute / relative nested divs.
Auto merge of #7147 - glennw:abs-explicit-height, r=pcwalton
Auto merge of #7182 - glennw:collect-old-layers, r=pcwalton
Add fix / hack for compositor repainting tiles on scroll layers that …
Add fix for compositor repainting tiles on scroll layers that have st…
Auto merge of #7183 - glennw:scroll-clipping, r=pcwalton
Enable item clipping on normal transform layers. Fixes rounded corner…
Auto merge of #7186 - glennw:rounded-clip, r=pcwalton
Fix explicit height edge case with absolute / relative nested divs.
Add fix for compositor repainting tiles on scroll layers that have st…
Enable item clipping on normal transform layers. Fixes rounded corner…