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

Re: [csswg-drafts] [css-pseudo] Clarify spec text in "Finding the First Formatted Line" section

From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
Date: Tue, 19 Dec 2017 18:51:49 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-352851550-1513709507-sysbot+gh@w3.org>
FYI, Firefox doesn't support applying first-letter/line inside descendant blocks yet ([bug 214004](https://bugzilla.mozilla.org/show_bug.cgi?id=214004)), so for the given example the entire `<DIV>` contents is wrapped in a ::first-line pseudo.  Given the limitations of our existing implementation, the rendering makes sense, i.e. it renders exactly the same as:
```html
<style>span { color: cyan; background: magenta; }</style>
<div><span><p style="display: inline-block">Hello<br>Goodbye</p> etcetera</span></div>
```

-- 
GitHub Notification of comment by MatsPalmgren
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2120#issuecomment-352851550 using your GitHub account
Received on Tuesday, 19 December 2017 18:51:52 UTC

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