[Bug 16383] New: Strictly disallow pseudo-elements to flow into regions directly.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16383

           Summary: Strictly disallow pseudo-elements to flow into regions
                    directly.
           Product: CSS
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Regions
        AssignedTo: vhardy@adobe.com
        ReportedBy: vhardy@adobe.com
         QAContact: public-css-bugzilla@w3.org
                CC: eoconnor@apple.com


The specification is currently lose about whether or not pseudo-elements can
have the flow-into property:

===
The ‘flow-into’ property does not apply to the ::first-line and ::first-letter
pseudo-elements.

The effect of ‘flow-into’ on generated content such as ::marker, ::before and
::after is undefined. This may change depending on implementation feedback.
===

It seems it would be better to disallow flow-into on pseudo-elements because a)
it can break the model of some pseudo elements (e.g., ::before would no longer
be 'before' its element's content if moved to a flow) and b) it causes issues
with the object model's NamedFlow.getContentNodes() which assumes that all that
can be flown into a region is a Node (and there is no Node API to
pseudo-elements).

The recommendation is to strictly disallow flow-into on all pseudo-elements.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 15 March 2012 00:34:58 UTC