firefox-3

FireFox 3 line-height

空扰寡人 提交于 2019-11-30 19:07:07
Firefox 3 has introduced a new behavior in which line-height, when unset, differs from how other browsers render it. Thus, a critical section maybe render too high in that browser. Setting a global percentage doesn't work, since it's basis is different. Setting a unitless value such as "1" doesn't work either. Is there some way to normalize this dimension? The computed value of line-height: normal varies between platforms, browsers (and different versions of the same browser, as you state), fonts, and even different sizes of the same font (see Eric Meyer's article) . Setting a unitless value

How to create firefox3 sidebar?

試著忘記壹切 提交于 2019-11-30 19:05:23
问题 Hi I want to create sidebar in Firefox 3 but have no clue how to do this. I find tutorial on MDC (https://developer.mozilla.org/en/Creating_a_Firefox_sidebar) but after installation extension do not work with "not compatible with Firefox 3.0.3" error. Does anybody have any tip or link to some resource about how to make sidebar? 回答1: Well, a Firefox extension, be it a sidebar, toolbar or whatever other type of extension is basically a mix of XUL and Javascript, all packaged nice and tidy into

How do I get clientX and clientY to work inside my “drag” event handler on Firefox?

蹲街弑〆低调 提交于 2019-11-30 03:51:53
问题 Mozilla firefox 3.x seems to have a bug when listening to "ondrag" event. The event object doesn't report the position of the object being dragged, clientX, clientY and other screen offsets are all set to zero. This is quite problematic as I wanted to make a proxy element based on the element being dragged and using of course, clientX and clientY to adjust its position. I know that there's cool stuff around such as setDragImage in HTML5 but I want to provide a generic abstraction for native

FireFox 3 line-height

核能气质少年 提交于 2019-11-30 03:03:00
问题 Firefox 3 has introduced a new behavior in which line-height, when unset, differs from how other browsers render it. Thus, a critical section maybe render too high in that browser. Setting a global percentage doesn't work, since it's basis is different. Setting a unitless value such as "1" doesn't work either. Is there some way to normalize this dimension? 回答1: The computed value of line-height: normal varies between platforms, browsers (and different versions of the same browser, as you

Firefox 3 doesn't apply my xslt stylesheet, but other browsers do

假装没事ソ 提交于 2019-11-30 02:57:15
问题 I'm trying to serve dynamically generated xml pages from a web server, and provide a custom, static, xslt from the same web server, that will offload the processing into the client web browser. Until recently, I had this working fine in Firefox 2, 3, IE5, 6 and Chrome. Recently, though, something has changed, and Firefox 3 now displays just the text elements in the source. The page source starts like this: <?xml version="1.0" encoding="UTF-8"?> <!-- Firefox 2.0 and Internet Explorer 7 use

Can Firefox's “view source” be set to not make a new GET request?

狂风中的少年 提交于 2019-11-28 17:26:01
This is sort of tangential to coding, but programmers often do "view source" on their own pages and on others' pages. I learned that when you do the normal View Source in Firefox, it takes the URL you're at and issues another GET request to that URL. There are two reasons why this is bad: If you've just issued a POST and do View Source, you won't see the HTML that your browser is actually rendering for you. If the site author has incorrectly made a form that takes some action (sends email or writes to a DB or whatever), then that action will be taken (or attempted, anyway) again. That's sort

Can Firefox's “view source” be set to not make a new GET request?

亡梦爱人 提交于 2019-11-27 10:28:21
问题 This is sort of tangential to coding, but programmers often do "view source" on their own pages and on others' pages. I learned that when you do the normal View Source in Firefox, it takes the URL you're at and issues another GET request to that URL. There are two reasons why this is bad: If you've just issued a POST and do View Source, you won't see the HTML that your browser is actually rendering for you. If the site author has incorrectly made a form that takes some action (sends email or

How to get the file path from HTML input form in Firefox 3

风流意气都作罢 提交于 2019-11-25 22:58:22
问题 We have simple HTML form with <input type=\"file\"> , like shown below: <form> <label for=\"attachment\">Attachment:</label> <input type=\"file\" name=\"attachment\" id=\"attachment\"> <input type=\"submit\"> </form> In IE7 (and probably all famous browsers, including old Firefox 2), if we submit a file like \'//server1/path/to/file/filename\' it works properly and gives the full path to the file and the filename. In Firefox 3, it returns only \'filename\', because of their new \'security