From Piotr Kliczewski <piotr.kliczewski(a)gmail.com>:
Piotr Kliczewski has submitted this change and it was merged.
Change subject: webadmin: Improve IE image size quirk workaround performance
......................................................................
webadmin: Improve IE image size quirk workaround performance
DOM mutation events like `DOMNodeInserted` are deprecated, not supported
consistently across different browsers, and usually very slow as well:
https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Mutation_events
This patch modifies IE image size quirk workaround to use insertionQuery
library (IE10+ compatible) to improve performance:
https://github.com/naugtur/insertionQuery
Change-Id: Ic371c5b094db90467292d9d10adfbfafee3eff72
Bug-Url:
https://bugzilla.redhat.com/1378935
Bug-Url:
https://bugzilla.redhat.com/1404610
Related-To:
https://bugzilla.redhat.com/1255428
Signed-off-by: Vojtech Szocs <vszocs(a)redhat.com>
---
M
backend/manager/modules/branding/src/main/resources/META-INF/tags/obrand/javascripts.tag
M
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/system/BrowserHacks.java
A packaging/branding/ovirt.brand/insQ-1.0.3.min.js
3 files changed, 16 insertions(+), 9 deletions(-)
Approvals:
Alexander Wels: Looks good to me, approved
Jenkins CI: Passed CI tests
Vojtech Szocs: Verified
--
To view, visit
https://gerrit.ovirt.org/68484
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic371c5b094db90467292d9d10adfbfafee3eff72
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Vojtech Szocs <vszocs(a)redhat.com>
Gerrit-Reviewer: Alexander Wels <awels(a)redhat.com>
Gerrit-Reviewer: Greg Sheremeta <gshereme(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: Scott Dickerson <sdickers(a)redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>