-
-
Notifications
You must be signed in to change notification settings - Fork 820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text based visual tests are failing #1167
Comments
Regarding edittext_bullet, there's an issue in the html transformation. The last </li> is translated into a line break even though there's no more text after it. The layout then creates a bullet for the last empty textspan, even though flash doesn't. I'm not sure how to fix this elegantly in lower_from_html. |
That's not the only html transformation issue with edittext_bullet hatal. If you have newlines or spaces (I'm not sure which is the culprit or if both are) between the end of a line of text inside an li and the </li>, extra bullets are added, even though </li> is respected in Flash. Plus, the bullet that's expected to be there first is just not there. For example, this ends up with a ton of extra bullets:
From what I saw, this ended up formatted as if it was:
On the other hand, this only ends up with the one extra bullet already mentioned, and only if it's the last line of loaded text:
With this example, keep in mind that I am aware h2 tags are treated as if they don't exist and a tags are not clickable, but I wanted to keep the example as close to what I had as possible. See issue in action by clicking 3D Brain on http://www.g2conline.org/ with the extension and scrolling down. The XML file is at http://www.g2conline.org/elements/3dbrain/xml/brainData_02.xml and you can see it's actual formatting at view-source:http://www.g2conline.org/elements/3dbrain/xml/brainData_02.xml An example is lines 61 to 71. |
Remaining issues:
Comments:
|
Mega issue for now because I don't know which are the same cause or not.
I've copied over the
edittext
avm1 tests to the visual-test repo, and these are the results:The only test that passes is
edittext_leading
, so I've not included it here.The text was updated successfully, but these errors were encountered: