Open Bug 828651 Opened 7 years ago Updated 5 years ago

Add reftests to show that :first-letter / :first-line aren't honored on a flex container

Categories

(Core :: Layout, defect)

defect
Not set

Tracking

()

ASSIGNED

People

(Reporter: dholbert, Assigned: dholbert)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

Attached file testcase
Per this www-style thread:
 http://lists.w3.org/Archives/Public/www-style/2013Jan/0053.html
we shouldn't be honoring :first-letter / :first-line style on flex containers.

Conveniently, we already seem to ignore :first-letter / :first-line on flex containers. Filing this bug on adding some reftests to verify that.
Adding dev-doc-needed so that we put some examples with :first-letter/:first-line in our documentation (and to check that we never imply that these should be honored) ;-)
Keywords: dev-doc-needed
The spec has been updated to confirm this, FWIW. Quoting:

   # the ‘::first-line’ and ‘::first-letter’ pseudo-elements
   # do not apply to flex containers.

http://dev.w3.org/csswg/css3-flexbox/#display-flex
You need to log in before you can comment on or make changes to this bug.