Closed pixelzoom closed 9 years ago
@samreid @jbphet @jonathanolson Am I missing any other types of text?
HTML strings for HTML5 should never contain the "" and "" tags, and HTML multi-line text should generally use
(might be an extra example?)
Does HTML multi-line text work? I thought it didn't, and that's why we have scenery-phet.MultiLineText.
Another type of string is accessibility.
[1/12/15, 2:45:18 PM] Chris Malley: JO, does multi-line HTML text work in scenery? [1/12/15, 2:46:03 PM] Jonathan Olson: I don't recall at this point, it should probably be documented [1/12/15, 2:46:22 PM] Jonathan Olson: I think HTMLText works with it [1/12/15, 2:46:29 PM] Chris Malley: I seem to recall that there were some problems which necessitated scenery-phet.MultiLineText. [1/12/15, 2:47:11 PM] Jonathan Olson: HTMLText forces DOM, so it splits layers (less than ideal usually). Checking now [1/12/15, 2:48:29 PM] Jonathan Olson: it looks like HTMLText is improperly detecting height, since it assumes it's an inline element [1/12/15, 2:48:55 PM] Jonathan Olson: For multi-line, probably MultiLineText or use DOM node directly [1/12/15, 2:49:33 PM] Chris Malley: might be good to document that in HTMLText. [1/12/15, 2:50:20 PM] Jonathan Olson: agreed, adding in a comment
Created the 'chains' repository, and we will add text types as they are identified. Closing this issue.
I couldn't think of any other string types.
This sim will be for testing translation of these various types of strings that we have.
Examples include: