RESOLVED DUPLICATE of bug 90079 75587
[CSS Regions] Can't flow into block-styled ::before and ::after elements with no other content
https://bugs.webkit.org/show_bug.cgi?id=75587
Summary [CSS Regions] Can't flow into block-styled ::before and ::after elements with...
Alan Stearns
Reported 2012-01-04 16:38:16 PST
Created attachment 121186 [details] reftest The flow-into property only works on block-level elements, and ::before and ::after pseudos can be styled with display:block. Styling the pseudos as block elements is not sufficient for flow-into to work on them, though. // this does not display any namedFlow content in the pseudo element display:block; -webkit-flow-into: namedFlow; If you add a content property, then the pseudo elements will throw that content away and work as regions: // this works display: block; content: 'a'; -webkit-flow-into: namedFlow; I'm assuming there's an optimization that ignores pseudo elements if they have no content, but this path will need to check to see if flow-into is assigning content to the element.
Attachments
reftest (896 bytes, application/zip)
2012-01-04 16:38 PST, Alan Stearns
no flags
Mihai Balan
Comment 1 2012-10-01 01:12:42 PDT
This was fixed as part of a larger fix of regions & pseudo-elements in #90079. *** This bug has been marked as a duplicate of bug 90079 ***
Note You need to log in before you can comment on or make changes to this bug.