D28964: [KRichTextWidget] Remove ancient workaround and fix regression (commit 1d1eb6f)

David Faure noreply at phabricator.kde.org
Sat Apr 18 22:33:18 BST 2020


dfaure added a comment.


  The qt4 task was probably Nokia-internal before the issue tracker was open. But here are more details if you didn't have them:
  
  commit 3eb65f48c97dc5e1a8980afa35bea8e4b16f08ba
  Author: Eskil Abrahamsen Blomfeldt <eblomfel at trolltech.com>
  Date:   Fri Sep 4 15:05:46 2009 +0200
  
    Remove implicit margin on bulleted lists when exporting to HTML
    
    When we export a bulleted list to HTML, we add a meta-block around the
    list items to set the bullet style of the list (<ul> or <ol>.) This
    block will implicitly have a margin, even if the list itself does not
    in the internal document. The result is that exporting a list to HTML
    and then reloading it will give a different apperance, because the 0
    margin of the original was not saved. The fix is to always set the
    meta-block's margin to 0, since it is only there to set the bullet
    style and should not affect the layout at all.
    
    Task-number: 201228
    Reviewed-by: Simon Hausmann

REPOSITORY
  R310 KTextWidgets

REVISION DETAIL
  https://phabricator.kde.org/D28964

To: poboiko, #frameworks, dfaure, ahmadsamir
Cc: kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200418/ef46e51c/attachment.html>


More information about the Kde-frameworks-devel mailing list