W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

Re: [csswg-drafts] [css-text-decor] semantics of 'none' (#4188)

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Mon, 12 Aug 2019 12:09:47 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-520398760-1565611785-sysbot+gh@w3.org>
This is to say that if you have `<span>xx <em>yy</em> zz</span>` and 
```css
span  { text-decoration: underline; }
em { text-decoration: none; }
```
The `text-decoration: underline` on the `span` causes an underline from xx to zz, and the `text-decoration: none;` on the `em` neither creates an additional text-decoration nor punches a hole in the one created by the span, which continues to go from xx to zz.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4188#issuecomment-520398760 using your GitHub account
Received on Monday, 12 August 2019 12:09:48 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:13 UTC