[wx-dev] [ wxwindows-Bugs-1957041 ] wx2.9 trunk wxHTML rendering error

SourceForge.net noreply at sourceforge.net
Sun May 4 21:37:22 PDT 2008


Bugs item #1957041, was opened at 2008-05-04 12:49
Message generated for change (Comment added) made by hzd_byte
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1957041&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: HTML
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: HzD_Byte (hzd_byte)
Assigned to: Nobody/Anonymous (nobody)
Summary: wx2.9 trunk wxHTML rendering error

Initial Comment:
There is an error in wxHTML, since revision 53282 ("preserve TAB characters when copying HTML <pre> content to clipboard").

HTML rendering is differ from previous versions of wxHTML.

For example, try to use following code in wxHtmlWindow in HEAD revision and r53280:

"<HTML><META HTTP-EQUIV = \"Content-Type\" CONTENT = \"text/html\"><BODY> <font color=#F00000>Text1 123/333</font> <font color=#FFF000>Text2 12/222</font><br /> Text3 444$    <font color=#308888>Text4 44</font></BODY></HTML>"

----------------------------------------------------------------------

>Comment By: HzD_Byte (hzd_byte)
Date: 2008-05-05 15:37

Message:
Logged In: YES 
user_id=1444473
Originator: YES

Screenshots for string

"<HTML><META HTTP-EQUIV = \"Content-Type\" CONTENT =
\"text/html\"><BODY>&nbsp;<font color=#F00000>Text1
123/333</font>&nbsp;<font color=#FFF000>Text2 12/222</font><br
/>&nbsp;Text3 444$ <font color=#308888>Text4 44</font></BODY></HTML>"

"correct.jpg" is for revision 53280
"incorrect.jpg" is for trunk
File Added: images.zip

----------------------------------------------------------------------

Comment By: Vaclav Slavik (vaclavslavik)
Date: 2008-05-04 19:37

Message:
Logged In: YES 
user_id=80834
Originator: NO

I don't see anything wrong with the way this is rendered on the trunk,
please explain what is rendered incorrectly. Please also attach the test
file as *attachment* on the off-chance that it was mangled by SF tracker.
If you have screenshots of before and after states, that would be useful
too.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1957041&group_id=9863


More information about the wx-dev mailing list