Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-98932

AlloyEditor : IE11 cross browser image size interpretation

    Details

    • Fix Priority:
      2

      Description

      Steps to Reproduce:
      1) In Chrome, add a new basic web content
      2) Insert an image and click Code View
      3) Add these properties to the image

      height="500" width="600" style="width:80px; height:80px" 

      4) Now in IE11 edit the Web Content with the image

      Expected Results:
      Image in IE will keep the same size as was created in Chrome

      Actual Results:
      Image in IE interprets the Chrome width but a different height.

      Alternate Steps to Reproduce

      1) In IE 11 add a basic web content
      2) In the Code view add <img src="https://via.placeholder.com/350">
      3) Go back to the text view, resize the image, and publish
      4) In code view assert that the code looks similar to:

      <p><img alt="" height="253" src="https://via.placeholder.com/350" style="width: 253px; height: 253px;" width="253" /></p>
      

      5) Edit the content in Chrome or Firefox, in code view assert both HTML and Inline style numbers match (here 253px).
      6) In text editor view resize the image in Chrome, go back to code view

      Expected Results
      Image resizing cross browser to remain in sync.

      Actual Results
      Code now is out of sync for dimensions:

      <p><img alt="" class="" height="253" src="https://via.placeholder.com/350" style="width: 177px; height: auto;" width="253" /></p>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              spencer.woo Spencer Woo
              Participants of an Issue:
              Recent user:
              Chema Balsas
              Engineering Assignee:
              Spencer Woo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                17 weeks, 4 days ago

                  Packages

                  Version Package