Nicolas Lempereur
f50ba68be7
[FIX] web_editor: handle margin:initial correctly
...
The transcoder (which transforms stylesheet rules to inline style) did
some compression of the padding and margin css properties to not always
have margin-top + margin-right + margin-bottom + margin-left.
This could cause an issue when the value of margin or padding contained
an initial or inherit value because browsers (at least firefox and
google chrome) doesn't allow it. Thus the preview could for example have
bigger veritcal spaces arround `<p />` tag than what was seen when
editing.
With this fix instead of invalid:
margin:initial initial initial initial
we have:
margin:initial
And instead of invalid:
margin:initial 5px 6px 7px
we have:
margin-top: initial; margin-right: 5px; margin-bottom: 6px; margin-left: 7px;
opw-706535
2017-03-16 18:26:32 +01:00
..
2017-03-12 02:54:51 +01:00
2017-01-22 03:25:31 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-02-26 02:55:24 +01:00
2017-03-12 00:30:59 +01:00
2017-03-05 00:30:41 +01:00
2017-03-12 00:30:59 +01:00
2017-02-05 00:31:18 +01:00
2017-03-05 00:30:41 +01:00
2017-01-29 00:30:57 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2016-11-20 00:39:36 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-05 02:55:35 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-02-26 00:31:32 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-01-29 02:55:31 +01:00
2017-03-13 13:53:54 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-02-26 02:55:24 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-02-19 00:30:54 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-13 13:53:54 +01:00
2017-03-12 02:54:51 +01:00
2017-02-26 02:55:24 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-01-22 03:25:31 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-02-19 02:54:42 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-02-05 02:54:43 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-01-29 00:30:57 +01:00
2017-03-12 02:54:51 +01:00
2017-01-22 03:25:31 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-01-22 03:25:31 +01:00
2017-03-12 00:30:59 +01:00
2017-01-22 03:25:31 +01:00
2017-01-29 00:30:57 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-02-27 17:00:28 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-01-29 00:30:57 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 02:55:24 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-02-26 02:55:24 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-14 16:19:04 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-01-01 00:30:05 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-02-19 00:30:54 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-01 02:54:50 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-02 12:40:45 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-13 16:03:58 +01:00
2017-03-12 00:30:59 +01:00
2017-02-19 00:30:54 +01:00
2017-03-12 02:54:51 +01:00
2017-03-05 00:30:41 +01:00
2017-01-30 16:51:29 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-16 13:15:46 +01:00
2017-03-05 00:30:41 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-05 00:30:41 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-05 02:55:35 +01:00
2017-03-05 00:30:41 +01:00
2017-02-05 00:31:18 +01:00
2017-03-12 00:30:59 +01:00
2017-03-05 02:55:35 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-05 02:55:35 +01:00
2017-03-16 18:26:32 +01:00
2017-02-26 00:31:32 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-02-26 00:31:32 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-02-19 00:30:54 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-02-26 00:31:32 +01:00
2017-03-05 02:55:35 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-02-26 02:55:24 +01:00
2017-02-26 00:31:32 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 02:54:51 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00
2017-01-17 16:11:05 +01:00
2017-03-12 00:30:59 +01:00
2017-03-12 02:54:51 +01:00