https://bugzilla.wikimedia.org/show_bug.cgi?id=51708

       Web browser: ---
            Bug ID: 51708
           Summary: Visual Editor: Templates that produce a single line of
                    text don't wrap
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ContentEditable
          Assignee: i...@wikia-inc.com
          Reporter: cmcke...@sucs.org
                CC: i...@wikia-inc.com, jforres...@wikimedia.org,
                    krinklem...@gmail.com, or...@framezero.com
    Classification: Unclassified
   Mobile Platform: ---

In Visual Editor edit screen templates that produce a single line of displayed
text (regardless of the length of that line) do not wrap on word boundaries.

Steps to reproduce:
1. Insert a picture or other right-aligned object that text should wrap around.
2. Transclude a template that produces a single line of text. {{EW
charity|123456|This charity has got a long name to make it easy to test this
bug}} is an example
3. Reduce the width of your browser window until the text produced by the
template is longer than the avaialble space between the left margin and the
picture.

Expected behaviour: The last word(s) of the text produced by the template wraps
onto a second line.
Actual behaviour: The entire line moves to below the picture as a single unit.

Any template that produces two or more lines of displayed text (on an
infinitely wide window) does not exhibit this behaviour and wraps correctly.
For example:

"Long text<br>1" wraps correctly

"Long text
1"
"Long text<br>" and
"Long text<br>
<!--hidden-->" all exhibit this bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to