- From: christin-goetz via GitHub <sysbot+gh@w3.org>
- Date: Thu, 30 Jun 2016 05:45:36 +0000
- To: public-css-archive@w3.org
@frivoal Thanks for your post. I already know the ah-property -ah-margin-break. But unfortunately it doesn’t work in all case. Meaning, the setting works when heading is a "normal" (non floating) block element. But there are problems in rendering if the heading is a container for other structures like hcounter and hcontent and this elements are floating elements. In this case the setting doesn’t work correct. (I already sent a support mail to AH and they will fix it) ``` <heading> <hcounter/> <hcontent/> </heading> ``` ... heading { display: block; page-break-inside:avoid; page-break-after:avoid; } heading > hcounter, hheading > hcontent { /* margin */ margin-top:1in; margin-bottom:1em; -ah-margin-break:discard; /* float */ display:block; float:left; } ... Yeah, it's nice to have proprietary css-settings. But, in my opinion it isn't a solution (in the long time view). Thus, it would be great to add a property (like margin-break) to W3C CSS spec (because the most renderer support the recommended CSS properties). This is the reason why I sent the request ... -- GitHub Notification of comment by christin-goetz Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/253#issuecomment-229564916 using your GitHub account
Received on Thursday, 30 June 2016 05:45:43 UTC