Closed dankurka closed 9 years ago
This may not be a GWT bug after all, could be a Firefox bug (not sure) tried hard coding
the span as follows
menu.addTab("<span class='TabBarText TabBarText-dynamic'>Activities</span>",true);
which worked as expected, also noticed the Element toString() returned
<span classname="MenuItem">ACTIVITIES</span>
i.e. it returned classname= not class=, Safari treats these as equivalent firefox dosn't;
tried inserting following
into the processing loop
text = text.replace('\"', '\'');
text = text.replaceAll("classname", "class");
and it worked as expected.
This raises the question "should Element have a toHTML() method"?
I would see the semantics of such a method to be "return as a String the HTML code
fragment with the same
semantics as this element"
Reported by Raymond.Sutton
on 2007-07-01 19:30:05
Reported by gwt.team.morrildl
on 2007-07-06 15:15:19
Reported by jgw+personal@google.com
on 2008-04-29 14:54:06
Reported by sumitchandel+legacy@google.com
on 2008-05-02 16:54:04
Reported by bruce+personal@google.com
on 2008-10-21 21:58:15
If you are still experiencing this issue with the latest version of GWT, can you
update the issue tracker?
Reported by amandapsurya
on 2008-12-05 21:44:08
NeedsInfo
Reported by acc%google.com@gtempaccount.com
on 2008-12-12 01:00:43
Reported by kurka.daniel
on 2012-12-16 13:22:17
AssumedStale
Originally reported on Google Code with ID 1327
Reported by
Raymond.Sutton
on 2007-07-01 18:48:24