W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2017

Re: [csswg-drafts] [css-display][css-pseudo] Interaction of display:contents and ::first-line

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Tue, 16 May 2017 00:11:09 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-301638940-1494893468-sysbot+gh@w3.org>
Firefox is, as far as I can tell, broken in general for ::first-line on an ancestor. In particular, the following:

```
<!DOCTYPE html>
<style>
main::first-line { color: blue; text-decoration: underline; }
div { color: green; letter-spacing: 10px; }
span { color: red; }
</style>
<main>
  <div>aaa <span>bbb</span> <p>ccc</p></div>
</main>
```
displays  "aaa" in green, and nothing with any underlines, at least in v53.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1310#issuecomment-301638940 using your GitHub account
Received on Tuesday, 16 May 2017 00:11:17 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:12 UTC