edit: i thought it might be colors with a value of zero, but "wheat" throws that all for a loop
FyreWulff on
0
RamiusJoined: July 19, 2000Administrator, ClubPAadmin
edited September 2009
I don't know where those rgb(x,y,z) values for the color attribute are coming from, but they are not supported in vBulletin's version of bbCode. My guess is that the Chrome is caching the compiled form of the javascript that runs when you click that button. So the first time, it does exactly as it is supposed to. But the second time, you are at the whim of what the compiler compiled it into. If acting on the DOM, "black" and rgb(0,0,0) are equivalent. But in this context we are working with strings and an upstream validator/parser (in vBulletin) which doesn't accept the rgb().
Posts
Anyone else care to report? If it is isolated to Chrome, I ain't fixing it. That is one buggy browser.
works for me in Firefox 3.5.3 and Internet Explorer 8.something
edit: hrmm. it breaks on cyan but works with the initial color black.
sdasdas asdasdasd <-- worked with Lime?
other color works with silver too
more [COLOR="rgb(255, 0, 255)"]color[/COLOR] breaks on magenta
testing red works with red
white test works with white
weird color purple works
whole [COLOR="rgb(245, 222, 179)"]wheat color[/COLOR] wheat breaks
edit: i thought it might be colors with a value of zero, but "wheat" throws that all for a loop