Difference between revisions of "SVG2 Text Tests"

From Inkscape Wiki
Jump to navigation Jump to search
(Created page with " =Test Plan for SVG 2 Text= ==In Shapes== ===Rendering=== The following test should pass: ===Editing=== ===SVG 1.1 Fallback=== ==Inline Size== ===Rendering=== ===Editin...")
 
Line 8: Line 8:


===Editing===
===Editing===
====Basic Rectangle====
# Check that SVG 2 is enabled in Preferences.
# Select text tool.
# Drag to create a reasonable size rectangle (100px x 100px).
# Type a series of short words until text overflows. Include one or two returns. (Outline turns red.)
# Save.
# Revert (reload). Text should remain the same.
# Drag handle at lower right to make rectangle bigger and all text shows. (Outline turns blue.)
Repeat for center alignment.


===SVG 1.1 Fallback===
===SVG 1.1 Fallback===

Revision as of 12:51, 1 April 2020

Test Plan for SVG 2 Text

In Shapes

Rendering

The following test should pass:

Editing

Basic Rectangle

  1. Check that SVG 2 is enabled in Preferences.
  2. Select text tool.
  3. Drag to create a reasonable size rectangle (100px x 100px).
  4. Type a series of short words until text overflows. Include one or two returns. (Outline turns red.)
  5. Save.
  6. Revert (reload). Text should remain the same.
  7. Drag handle at lower right to make rectangle bigger and all text shows. (Outline turns blue.)

Repeat for center alignment.

SVG 1.1 Fallback

Inline Size

Rendering

Editing

SVG 1.1 Fallback

white-space property

Rendering

Should work.

Editing

Not implemented. Can replace sodipodi:role="line".

SVG 1.1 Fallback

Not implemented. Not clear how to do.