|
Are you still seeing this happen? I can't replicate it in Chrome 8.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
I'm also using Chrome 8 and can't replicate it either.
|
|
|
|
|
1.
inside forums, I'm currently failing to get a trailing space highlighted.
It seems a SPAN tag eats the consecutive space completely.
case in point[^]
[ADDED] #1 is solved, consecutive spaces get compacted ignoring tags. See rest of this thread.[/ADDED]
2.
It somewhat resembles the very annoying bug where any closing tag eats the consecutive newline; reported a couple of times, never got fixed.
3.
A related issue is: when selecting some text, in order to apply a style change (e.g. underline), it automatically includes a trailing space in the selection, if present. Which is probably harmless for some (bold, italic), but no good for others (underline, strike-through, big).
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
modified on Thursday, May 27, 2010 10:49 PM
|
|
|
|
|
Which browser? Works fine for me in IE7/8, Firefox and chrome.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Chris Maunder wrote: Works fine for me in IE7/8, Firefox and chrome.
Really?
All points: message created, previewed and viewed using FF3.0.19
First point also checked with IE7 (create, preview and view): space gets eaten also.
I was trying to get {SPACE}and{SPACE} with the spaces clearly visible, but was not getting that at all. It also fails when leading space gets replaced by a
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
modified on Thursday, May 27, 2010 10:21 AM
|
|
|
|
|
My apologies. You said "leading" I read that as "trailing".
No, it doesn't work for me either. However, I'm unsure if there is anything we can do about it. We're rendering in standards mode and the CSS is clear. It seems a browser quirk.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Chris Maunder wrote: It seems a browser quirk.
I'm a bit surprised then, as multiple, independent, browsers make the same mistake.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
I may have spoken too soon. I've been doing some tests and I can get leading spaces highlighted easily outside of our stylesheet.
It's our problem, I'll fix it.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
OK, this is weird.
First <span class="highlight"> second </span> third
First<span class="highlight"> second </span> third
First <span class="highlight"> second </span>third
Gives:
First second third
First second third
First second third
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Chris Maunder wrote: OK, this is weird.
Well, maybe it isn't.
This code:
1.First <span style="background-color: #FFFF00"> second </span> third<br />
2.First<span style="background-color: #FFFF00"> second </span> third<br />
3.First <span style="background-color: #FFFF00"> second </span>third<br />
4.First <span style="background-color: #FFFF00"> second </span> third<br />
5.First<span class="highlight"> second </span> third
gives:
1.First second third
2.First second third
3.First second third
4.First second third
5.First second third
in a simple, non-CP, web page using FF3.0 (except for line 5, needs CP styles)
and I explain it like this:
- lines 2 and 4 are no surprise;
- lines 1 and 3, ignoring tags, have consecutive spaces; all but the first get eaten, as it is outside PRE tags;
- line 5: seems like you fixed something I did it right this time (no space before opening SPAN tag!).
The space reduction should (my opinion, maybe W3C thinks differently) take into account the spaces having different attributes.
Anyway, as it is now, I can get what I want as line 5 demonstrates.
Thanks for making me see the light.
PS: Of course there still are issues 2 and 3 in my OP.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
modified on Thursday, May 27, 2010 10:45 PM
|
|
|
|
|
I say hello to you.
In the above sentence, I see "hello " highlighted while I'm expecting " hello " to be highlighted (i.e., the leading space isn't highlighted, which seems incorrect to me). Looks like Code Project doesn't do anything special with the rendered HTML though, so I'd call this a browser bug or quirk.
I'm using IE8 on XP Pro.
Luc Pattyn wrote: It somewhat resembles the very annoying bug where any closing tag eats the consecutive newline; reported a couple of times, never got fixed.
Yeah, that bug is annoying. I sometimes have to insert BR tags to workaround it. By the way, this is the HTML I used for the sentence at the top of this post:
I say <span class="highlight"> hello </span> to you.
|
|
|
|
|
Good evening to you too.
aspdotnetdev wrote: I sometimes have to insert BR tags to workaround it
huh? I simply put a space between > and NewLine and that seems to fix it every time; and each time I forget, I have to correct it.
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
Luc Pattyn wrote: I simply put a space
Ah, that sounds easier.
|
|
|
|
|
It is.
And it makes me wonder: should I put a NewLine in the span to get a highlighted space?
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
I know you guys just lounge around a lot because you can't think of anything to do on the site, so...
0) Add "Total Reputation Points", "Tips/Tricks", and "Blog Entries" to the filter choices.
1) Add "Last XXXX posted", where "XXXX" would be "article", "blog entire", "tip", "answer", "question", or "forum message". For all of those things, the date of the event would be shown, and for article, blog entry, or tip/trick, it would also include a link to the item.
Item #1 above could also be added to the member's profile page.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: I know you guys just lounge around a lot because you can't think of anything to do on the site, so...
The hamsters will be burning you in effigy tonight!
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
|
|
|
|
|
Would it be feasible to try a silverlight experiment on CP? The reputation graph would be a great place to start.
I envision the existing line graph with a timeline graph underneath it, and the ability to hover over a point in the graph that shows the value of the currently hovered point.
Something with a bit more interactivity than a standard png file.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
We originally tried something analogous to that using Flash but our results were awful because of the component we were using. We put the project on hold, but if you're bored, and enjoy silverlight...
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
If you provide the playground, I'll bring the football.
Email me and we'll talk.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
So you've gone from doing Silverblight beats being foreclosed to falling in love with it?
Who are you and what have you done with the real JSOP?
3x12=36
2x12=24
1x12=12
0x12=18
|
|
|
|
|
It's not that I love silverlight. I just think if I make a suggestion, and the site admin offers to let me take a stab at it, it would be beyond hypocritical to turn down the offer if I thought I had the skills to put my money where my mouth is.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
didn't your buddy Steve tell you Flash is bad?
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|
|
You guys should have a look at this guys profile: apple h[^]
He is posting sort of fake questions in Q&A section... Joined couple of days back and posting absurd!
|
|
|
|
|
He's been escorted off the premises.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
As per the FAQ for reputation points:
The more a member's reputation increases within a given category, the more their votes count towards other members when voting on items within that reputation category.
For example, a member with a high Authority ranking (someone who answers a lot of questions) but a low Author ranking (they don't post many articles) will have their vote counted strongly when voting on answers, but not so strongly when voting on articles
Now, i assume that the ranking is Bronze-Silver-Gold-Platinum...
Based on this, if one Platinum debator votes 5 for a posted message and other platinum debator votes 1 for the same posted message, then overall votes status should be 3/5 (2 votes), right?
From last few days, i had observed that when i try to upvote 1/5 (1 vote) status message, it squares up to 1.44/5 (2 votes)
Considering my debator reputation (i.e. Platinum), won't my vote should have made it 3/5?
It looks like my platinum reputation is not powerful enough!
|
|
|
|
|