xles / hyphenator

Automatically exported from code.google.com/p/hyphenator
GNU General Public License v3.0
0 stars 0 forks source link

css3 hyphenation throws "not enough arguments" error with older firefox versions #155

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Issue 151 Comment #4 refers to the same problem 
http://code.google.com/p/hyphenator/issues/detail?id=151#c4

What steps will reproduce the problem?
1. install hyphenator.js using mergeAndPack.html, everything default with the 
exception of seting CSS3 hyphenation support to true
2. view the webpage using older Firefox
3. popup message "Hyphenator.js says: An Error ocurred: Not enough arguments" 
appears

What version of the product are you using? On what operating system?

hyphenator.js 4.0.0, Firefox 3.6.25, OSX 10.7.2

Please provide any additional information below.

Apperas that the error is caused on line 393 by:

s = window.getComputedStyle(window.document.getElementsByTagName('body')[0]);

Temporary solution - turn CSS3 support off

Original issue reported on code.google.com by peeter.marvet on 31 Jan 2012 at 9:52

GoogleCodeExporter commented 9 years ago
also: onError produces messages with typo: "ocurred" should be "occurred" (yes, 
I did notice that my own bugreport also has some typos :-)

Original comment by peeter.marvet on 31 Jan 2012 at 9:56

GoogleCodeExporter commented 9 years ago
Both fixed in trunk.
Thanks

Original comment by mathiasn...@gmail.com on 2 Feb 2012 at 11:23

GoogleCodeExporter commented 9 years ago

Original comment by mathiasn...@gmail.com on 2 Feb 2012 at 11:23