Could not resolve host: roi777.comComments on: A crap fix for a crap bug (Soft hyphens in Mozilla)
http://cheerleader.yoz.com/2005/01/a-crap-fix-for-a-crap-bug-soft-hyphens-in-mozilla.html
I came here to apologise and eat biscuits, and I'm all out of biscuitsFri, 25 Nov 2016 14:37:10 +0000hourly1https://wordpress.org/?v=4.7.29By: Yoz
http://cheerleader.yoz.com/2005/01/a-crap-fix-for-a-crap-bug-soft-hyphens-in-mozilla.html#comment-701
Mon, 11 Jul 2005 00:54:36 +0000http://cheertest.yoz.com/?p=227#comment-701Bother, sorry about that, Chris – I really should work out how to fix that.
Want to mail me the patch and I’ll put it in myself?
]]>
By: Chris
http://cheerleader.yoz.com/2005/01/a-crap-fix-for-a-crap-bug-soft-hyphens-in-mozilla.html#comment-700
Sun, 10 Jul 2005 18:48:23 +0000http://cheertest.yoz.com/?p=227#comment-700*grmbl*… this blog stripped the html tags from my code… write an email if you need the correct code or inclusion hint…
]]>By: Chris
http://cheerleader.yoz.com/2005/01/a-crap-fix-for-a-crap-bug-soft-hyphens-in-mozilla.html#comment-699
Sun, 10 Jul 2005 07:03:40 +0000http://cheertest.yoz.com/?p=227#comment-699Seems like my last fix was not working and I had some real problems to find a working one, which may be caused by my little javascript knowledge. Finally I found a compromise that uses the -tag internally which is supported by firefox.
Forget my last description and change the following to the code of shy.js version 1.0 by Yoz:
// between line 79 and line 80 add:
this.id = n;
//change line 95 to:
shys[i].style.display = “inline”;
// add after line 95:
document.getElementById(“shy”+shys[i].id).innerHTML = ”;
//add after line 109:
}else{
document.getElementById(“shy”+shys[i].id).innerHTML = ‘- ‘;
if (shys[i].next.offsetTop == shys[i].prev.offsetTop)
{
shys[i].style.display = “none”;
}
I hope I didn’t mix up line numbers and didn’t forget a change.
This is a solution works much more (in fact most) accurate in determing if a wordbreak is needed. Does anyone see how to get rid of the usage of the tag? Suggestions to nospam@cvogt.org please.
Furthermore a little hint for inclusion of shy.js in an “xhtml 1.0 strict”-compatible way:
[…]
window.onresize = shyreflow;
[…]
]]>By: Chris
http://cheerleader.yoz.com/2005/01/a-crap-fix-for-a-crap-bug-soft-hyphens-in-mozilla.html#comment-698
Fri, 08 Jul 2005 22:57:35 +0000http://cheertest.yoz.com/?p=227#comment-698I found a little bug. The script checks if a linebreak is needed while having the “- “s influencing the text. Changing lines 106 to 110 in the shy.js does fix this. eg replace it by the following:
temp = shys[i].style.display;
shys[i].style.display = “none”;
if (shys[i].next.offsetTop != shys[i].prev.offsetTop)
{
shys[i].style.display = temp;
}
Beware of that I didn’t debug that fix a lot, just quickly noticed that it works for me…
Finally: Thx to Yoz for creating the script :).
]]>By: Berend Engelbrecht
http://cheerleader.yoz.com/2005/01/a-crap-fix-for-a-crap-bug-soft-hyphens-in-mozilla.html#comment-697
Mon, 14 Feb 2005 07:39:40 +0000http://cheertest.yoz.com/?p=227#comment-697I just want to thank Yoz for providing his “crappy” fix, which helped me to complete a brand new web site that I really wanted to look good in all browsers – including Mozilla ๐
As far as I am concerned Yoz has every right to be snotty, since he provided a nice workaround for what otherwise would have been an incorrectable problem to me. And the solution was there right when I needed it, I started developing in January 2005!
I do agree however that people should not bitch about browser bugs, but simply learn to live with them. All browsers have bugs, as do all other non-trivial software products. Firefox just has _different_ bugs from IE, but as long as I can code so that my work looks as I intended it in both (and I test with Opera too ;)), I don’t mind much.
]]>By: Alyssa
http://cheerleader.yoz.com/2005/01/a-crap-fix-for-a-crap-bug-soft-hyphens-in-mozilla.html#comment-696
Mon, 07 Feb 2005 04:45:46 +0000http://cheertest.yoz.com/?p=227#comment-696Maybe…
And this is from somebody who just found this site randomly surfing and already forgot how. ๐
That the ‘bug’ is NOT an easy fix for the people who claim it to be so. If it were they probably would fix it. Lots of things could be ‘easy’ but take hours and some people might be too lazy to do it. Also, claims of being easy on a developer forum/post is often times just the poster trying to look ‘133t’ and saying something that is actually HARD is … EASY so they get to look like super coders…I’ve seen that happen before too usually on usenet ๐
Just my random .02ยข
]]>By: Nelson Menezes
http://cheerleader.yoz.com/2005/01/a-crap-fix-for-a-crap-bug-soft-hyphens-in-mozilla.html#comment-695
Mon, 24 Jan 2005 18:55:06 +0000http://cheertest.yoz.com/?p=227#comment-695“It’s just this endless crybaby crap that’s really getting on my nerves. It’s just a browser. Get a grip.”
If dealing with browser support issues is part of your daily professional work, then the issue is not “just a browser”. No one’s being a crybaby; I believe there have been sufficient years (!) of reasonable pointing-out-the-missing-easy-feature to wear anyone’s patience a bit thin.
]]>By: Haikala
http://cheerleader.yoz.com/2005/01/a-crap-fix-for-a-crap-bug-soft-hyphens-in-mozilla.html#comment-694
Thu, 20 Jan 2005 15:53:47 +0000http://cheertest.yoz.com/?p=227#comment-694Hey. I’m one of those people who needs this & shy ; tag very often (estonian has lots of long words) and it really is THE most annoying thing about Firefox. Have a look and find out why.
And I think highlighting the problem is important, because it’s just plain idiotic that FF does not have such a feature.
]]>By: nick
http://cheerleader.yoz.com/2005/01/a-crap-fix-for-a-crap-bug-soft-hyphens-in-mozilla.html#comment-693
Wed, 19 Jan 2005 15:53:28 +0000http://cheertest.yoz.com/?p=227#comment-693“a bunch of unpaid coders should immediately address your concerns”
Strawmantastic. When was that bug first reported again?
]]>By: Kim Scarborough
http://cheerleader.yoz.com/2005/01/a-crap-fix-for-a-crap-bug-soft-hyphens-in-mozilla.html#comment-692
Wed, 19 Jan 2005 02:03:13 +0000http://cheertest.yoz.com/?p=227#comment-692Oh yeah, a bunch of unpaid coders should immediately address your concerns because you’ve paid them in “advocacy”… and you’ll whine if you don’t get what you want.
I hate to break it to you, but you have no “bargain” with the Mozilla coders. That’s a load of crap.
Anyway, you’re missing the point. There’s nothing wrong with arguing that features need to be included in Mozilla, just like there’s nothing wrong with arguing that particular features need to be included in CSS. I’m cc’d on that soft-hyphen bug; obviously I want it fixed too. It’s just this endless crybaby crap that’s really getting on my nerves. It’s just a browser. Get a grip.
]]>