'Set underline decoration
HTML doesn\'t really have a page-width. It is always 100% of the browser width'

def c_text_underline_style(self, ruleset, sdict, rule, val):

    if (val and (val != 'none')):
        sdict['text-decoration'] = 'underline'
