gecko

-moz-background-clip: *text* in Mozilla

可紊 提交于 2019-11-29 20:30:27
问题 Is there a good way to implement this in Mozilla? I have done it successfully in Webkit using -webkit-background-clip: text;. I have been trying to implement it into Firefox with no success. MDN has it listed as -moz-background-clip but there is no 'text' attribute. The finalized CSS3 attribute is background-clip but I have not been able to find if 'text' is a valid option across engines or if it is a webkit only thing. Thanks in advance for the clarification! 回答1: I think Webkit is on their

What and where exactly are privileged code, chrome code, Gecko?

陌路散爱 提交于 2019-11-29 17:55:10
In reading about the File API and wanting to write data directly from an indexedDB database to the client disk instead of first building and holding a large blob in RAM to download to disk, there are a few basic items I'm not understanding. In the MDN documents these two statements are found: In Gecko, privileged code can create File objects representing any local file without user interaction. If you want to use the DOM File API in chrome code, you can do so without restriction. In fact, you get one bonus feature: you can create File objects specifying the path of the file on the user's

浏览器内核Trident/Gecko/WebKit/Presto

你说的曾经没有我的故事 提交于 2019-11-29 17:17:18
原文网址链接 http://tools.yesky.com/19/34456519.shtml “浏览器内核”主要指渲染引擎(Rendering Engine),负责解析网页语法(如HTML、JavaScript)并渲染、展示网页。因此,所谓的浏览器内核通常也就是指浏览器所采用的渲染引擎,渲染引擎决定了浏览器如何显示网页的内容以及页面的格式信息。不同的浏览器内核对网页编写语法的解析也有所不同,因此同一网页在不同的内核浏览器里的渲染、展示效果也可能不同。 浏览器内核种类繁多,商用的加上非商业的免费内核,大约会超过10款,我们今天重点看一下目前主流的四大浏览器内核Trident、Gecko、WebKit以及Presto。    一、Trident内核(代表:Internet Explorer) 说起Trident,很多人都会感到陌生,但提起IE(Internet Explorer)则无人不知无人不晓,由于其被包含在全世界使用率最高的操作系统Windows中,得到了极高的市场占有率,所以我们又经常称其为IE内核。 Trident(又称为MSHTML),是微软开发的一种排版引擎。它在1997年10月与IE4一起诞生,一直在被不断地更新和完善。而且除IE外,许多产品都在使用Trident核心,比如Windows的Help程序、RealPlayer、Windows Media Player

How to handle downloading in GeckoFX 29

只谈情不闲聊 提交于 2019-11-29 12:17:40
How can I handle downloading in GeckoFx I'm using version 29 I've found some ways like adding event of LauncherDialog_Download(object sender, LauncherDialogEvent e) But, I'm not able to add handler for this event I tried this for handler LauncherDialogFactory.Register(); LauncherDialog.Download += LauncherDialog_Download; But, it is showing as error, how can i add handler and is there any other ways to handle downloading in GeckoFx 29 ? In form load after your browser.navigate("http://www.domain.com"); Use this: LauncherDialog.Download += LauncherDialog_Download; Create LauncherDialog_Download

How to use Gecko in C#

空扰寡人 提交于 2019-11-29 08:32:20
问题 I need a Gecko WebBrowser Control I need a sample code or a link which explains how to use GECKO If anyone has used Gecko, I could do with some advice 回答1: Original tutorial with detailed snapshots can be found here. To embed Gecko browser in your winform application, you need: XulRunner: XULRunner is a Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications that are as rich as Firefox and Thunderbird. It provides mechanisms for installing, upgrading, and uninstalling

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

旧巷老猫 提交于 2019-11-29 04:47:33
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! 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 that you'll ever see them cross-browser. After struggling with this for many hours, I was finally able to

Buttons too tall on Firefox

痴心易碎 提交于 2019-11-29 01:23:33
问题 I've got a problem unique to Firefox. I'm trying to style links and buttons to look exactly the same. On every browser except Firefox, this works as desired. On Firefox, the height of the button's content is 18 pixels, compared to 15 pixels for the link. On Chrome, Safari, and Internet Explorer, they're both the proper 15 pixels tall. Why is this? Here's a demo on jsFiddle of the problem. Here's the result I get on Chrome: and here's the Firefox result: I've tried changing the height manually

extension components to get visit count in firefox's history and bookmarks?

痞子三分冷 提交于 2019-11-28 08:53:57
问题 I'd like to to know which interface can be used to get the visit count of each link in firefox's bookmarks and history for developing an extension I've tried using nav-history-service to get the links for bookmarks and history but can't figure out how to view the visit count. 回答1: This code here will go through the first 10 bookmark entires. If it's a url it checks its .accessCount property which holds the number of times it was visited. var hs = Cc["@mozilla.org/browser/nav-history-service;1

How to make Gecko use seperate CookieContainer per instance?

≡放荡痞女 提交于 2019-11-28 05:29:55
问题 Since GeckoWebBrowser in .Net shares cookies with all other instances of GeckoWebBrowsers I would like for a GeckoWebBrowser to have it's own cookie container which doesn't share any cookies that was created previously in other GeckoWebBrowsers or other instances. So for example when I create a GeckoWebBrowser it shouldn't have any cookies. And when I run 2 instances of GeckoWebBrowser they have their own cookie container and don't share or conflict cookies with each other. How is that

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

…衆ロ難τιáo~ 提交于 2019-11-28 00:04:07
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 core “Gecko” browser-engine code in Firefox (rather than instead being, say, a bug in the Firefox user