gecko

Is there a Gecko equivalent to -webkit-mask or a fancy way of degrading for Gecko browsers?

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-27 18:44:45
问题 I'm looking for a solid answer on whether or not there is an equivalent to -webkit-mask in Gecko browsers/Firefox? If not, is there any way of degrading -webkit-mask in CSS to a straight background-image deal or should I just give up and use Javascript? Thanks a lot! 回答1: If you're targeting firefox, it has great SVG support, so you can now use SVG masks instead of CSS. Here is Mozillas documentation on how to do a mask in SVG Webkit masks aren't standards track - so I have a personal doubt

How to embed a browser object, other than IE<n>, in a Delphi application

心不动则不痛 提交于 2019-11-27 17:20:41
Using the default TWebBrowser makes things easy to embed a web browser. Unfortunately the one that comes in by default is IE<n>. I'm wondering how does one integrate a Gecko or WebKit one. Are there VCL examples somewhere? If not, how would one go about doing it? Where's the best place to find the core for Gecko and/or WebKit in an embeddable format? TWebBrowser is IE. It is not a plugable construction for browsers. You can have other browsers integrated in your application. See http://www.adamlock.com/mozilla/ http://delphi.mozdev.org/articles/taming_the_lizard_with_delphi.html http://ftp

Constant declaration with block

故事扮演 提交于 2019-11-27 16:08:43
Recently I was looking into Firefox Add-on Builder SDK sources, and stumbled on such constants declaration: const { getCodeForKey, toJSON } = require("../../keyboard/utils"); I could find information about CommonJS Modules , but left part of this assignment slightly confuses me, since it must be language specific, and I couldn't google anything on that. Can someone point me to some specification/draft that explains what's going on here? This is a destructuring assignment , something that is currently only implemented by the SpiderMonkey JavaScript engine which is used by Firefox. Here is how

Is there an embeddable Webkit component for Windows / C# development?

房东的猫 提交于 2019-11-27 10:04:09
I've seen a few COM controls which wrap the Gecko rendering engine ( GeckoFX , as well as the control shipped by Mozilla - mozctlx.dll ). Is there a wrapper for Webkit that can be included in a .NET Winform application? Alex Lyman There's a WebKit-Sharp component on Mono's GitHub Repository . I can't find any web-viewable documentation on it, and I'm not even sure if it's WinForms or GTK# (can't grab the source from here to check at the moment), but it's probably your best bet, either way. I've just release a pre-alpha version of CefSharp my .Net bindings for the Chromium Embedded Framework .

Downloadable font on firefox: bad URI or cross-site access not allowed

主宰稳场 提交于 2019-11-27 06:41:10
I'm a webmaster at http://www.beperk.com (I'm giving you the URL so you are able to check the problem) and I'm having lots of problems using @font-face in CSS. I want to use the foundicons from zurb dot com so I hosted them at Amazon S3. I set up the bucket to allow crossdomain access as specified here: http://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html#how-do-i-enable-cors And everything started to work seamless at webkit, trident and gecko... mostly: when browsing the web with firefox (version 17, 18 and 19 tested) all the icons fails randomly with this error: Timestamp: 22/02/13 13:18

CSS “outline” different behavior behavior on Webkit & Gecko

社会主义新天地 提交于 2019-11-27 04:28:27
I'm working on an experiment & I found out that the "outline" CSS2 property is not implemented the same way on Webkit & Gecko In the script below, I have a absolute position div inside another div but floating outside of it. The outline on Webkit outlines the actual parent div while on Gecko, it expands to cover the child item. http://jsfiddle.net/KrCs4/ Am I missing anything? Is there a property that I need to overwrite on Gecko? or it should be reported as a bug? Webkit Screenshot: Firefox Screenshot: EDIT: It's confirmed to be a bug and here's a workaround: http://jsfiddle.net/7Vfee/ (You

浏览器显示及交互背后的原理

a 夏天 提交于 2019-11-27 01:36:17
浏览器显示及交互背后的原理 引子 因为笔者( 爱编程的光头强 )近期在写一本关于小程序入门的书籍。其中有一章是介绍虚拟DOM的,它是位于Javascript和真正DOM之间的一层缓存层。为什么引入它,为什么它这么流行,前端三大框架,小程序等,随处可见它的身影。其背后原理是什么。不基于浏览器背后的运行原理,是很难说清楚虚拟DOM被引入的真正原因和最大好处的。 为了弄清楚浏览器背后运行的逻辑,我查了大量资料,不得不吐槽一下,互联网知识尽管多,鱼龙混杂、参差不齐、错漏百出,基本是常态,能找到一篇含金量十分高的文章是不容易的。很幸运,关于这个问题,我还真找到了一篇,本文就是对它的解读。好记性不如烂笔头。 注:本文所有网址都是经过百度短网址处理过的,便于排版及美观。 原文引用 https://dwz.cn/iv59xbaG 《前端文摘:深入解析浏览器的幕后工作原理》 https://dwz.cn/b72rXXOy 《浏览器的工作原理:新式网络浏览器幕后揭秘》 https://dwz.cn/tn00LUqY 《How browsers work-Behind the scenes of modern web browsers》 https://dwz.cn/bb84qh4a 《HTMLLiving Standard — Last Updated 9 August 2019》 https:/

Embedding Gecko/WebKit in Java

Deadly 提交于 2019-11-27 00:52:27
I'd like to have Gecko, WebKit, or another webbrowser embedded in Java as a Swing/AWT control. I'm looking for something different than JRex or JWebPane . Alexis Dufrenoy You could use JxBrowser . It features a Swing/JavaFX component that wraps the Chromium engine while providing a rich API and out-of-the-box hardware-acceleration through the GPU. Unfortunately, they've dropped support for other engines (like Gecko and WebKit) since 4.0 version. Note that it's not free, except for open-source projects. If SWT is an option, you can use the SWT Browser widget , this will use a platform-specific

Is it possible to Embed Gecko or Webkit in a Windows Form just like a WebView?

落爺英雄遲暮 提交于 2019-11-26 23:38:24
I'd love to know if there is such a thing as a Gecko.NET ;) I mean, just like we can embed a WebView and that is an "instance" of IE7 inside any Windows Forms application (and tell it to navigateto(fancy_url); ). I'd love to use Firefox or WebKit. Anybody tried this? UPDATE : Please bear in mind that although it is possible to embed Gecko using the mentioned controls, it is still impossible to print while using Gecko. UPDATE March 2010 : It’s still not possible to print natively using GeckoFX, however a couple of methods exist that may be enough, depending upon what you’re trying to do. See:

How, as a programmer, to report bugs I find in core Gecko browser-engine behavior in Firefox

∥☆過路亽.° 提交于 2019-11-26 21:36:59
问题 When I’m programming a Web app and I run into a problem that only seems to happen in one browser, I know that a somewhat-essential step among my overall programming tasks as a “good citizen” is to stop coding for a bit and take time to report the bug in the right place—so it can get fixed and other Web developers (including me) hopefully won’t run into the same problem later. In such cases with Firefox, I understand enough to know when the cause of the programming problem I’m seeing is in the