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

SourceForge.net noreply at sourceforge.net
Mon May 5 03:56:16 PDT 2008


Bugs item #1957041, was opened at 2008-05-04 03:49
Message generated for change (Comment added) made by vaclavslavik
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: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: HzD_Byte (hzd_byte)
Assigned to: Vaclav Slavik (vaclavslavik)
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: Vaclav Slavik (vaclavslavik)
Date: 2008-05-05 12:56

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

Fixed now, thanks a lot!

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

Comment By: Vaclav Slavik (vaclavslavik)
Date: 2008-05-05 12:54

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

Fixed now, thanks a lot!

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

Comment By: Vaclav Slavik (vaclavslavik)
Date: 2008-05-05 12:53

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

Fixed now, thanks a lot!

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

Comment By: Vaclav Slavik (vaclavslavik)
Date: 2008-05-05 10:45

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

Thanks, I can see it now that you actually quoted the right string.

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

Comment By: HzD_Byte (hzd_byte)
Date: 2008-05-05 06:42

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

"incorrect.jpg" is for head revision, I mean

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

Comment By: HzD_Byte (hzd_byte)
Date: 2008-05-05 06: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 10: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