- From: François REMY <francois.remy.dev@outlook.com>
- Date: Mon, 19 Aug 2013 18:18:22 +0200
- To: Mihai Balan <mibalan@adobe.com>, "www-style@w3.org" <www-style@w3.org>, Mihnea-Vlad Ovidenie <mihnea@adobe.com>
- CC: Laurence Mclister <lmcliste@adobe.com>, Sylvain Galineau <galineau@adobe.com>
> I'm not sure it can be done at this very moment. > But the way I would see it done, would be via some next-level fragmentation-specific pseudo-class. Something like (using the older @region syntax that is likely to re-become the current one): > > @region .region { > p:first-fragment /* or p:first-visual-child */ { > margin-top: 0; > } > } > > Makes sense? Yes, it does. But how you actually define the first element is probably tricky. Out-of-flow elements may perturbate the whole thing, but maybe we could just rule them out of the count, but that makes this stuff a bit harder. Anyway, the idea was to get the use-case logged, so that we could work on it when we'll have the opportunity to up the spec level.
Received on Monday, 19 August 2013 16:18:50 UTC