Content deleted Content added
testcases lie to me |
sync with live module |
||
Line 214:
local tdSharedStyle = 'width: 48%; border-style: solid; border-radius: 0.33em; ' ..
'padding: 0.33em 0.5em; color: inherit; font-size: 1em; font-family: monospace; white-space: pre-wrap; border-width: 1px 1px 1px 4px; ' ..
'-webkit-border-end-width: 1px; -webkit-border-start-width: 4px; ' ..
'-moz-border-end-width: 1px; -moz-border-start-width: 4px;' -- these override default border-width for browsers that support them, needed for RTL UI on commons
Line 229:
local deleted = tr
:tag('td')
:cssText('border-color: var(--background-color-content-removed,#ffe49c); ' .. tdSharedStyle)
:addClass('diff-deletedline')
:tag('div')
Line 240:
deleted
:tag('del')
:cssText('background: var(--background-color-content-removed,#
:addClass('diffchange')
:addClass('diffchange-inline')
Line 255:
local inserted = tr
:tag('td')
:cssText('border-color: var(--background-color-content-added,#a3d3ff); ' .. tdSharedStyle)
:addClass('diff-addedline')
:tag('div')
Line 266:
inserted
:tag('ins')
:cssText('background: var(--background-color-content-added,#
:addClass('diffchange')
:addClass('diffchange-inline')
|