The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features
See the new ForumsYou need to be logged in to post in the forums. If you do not have an account, please sign up first.
::first-line and ::first-letter inconsistencies
Recently I've been playing around a little with drop-caps and the like for typographic effect and I found some inconsistencies across browsers (nothing surprising there), but also within Opera itself. Here's a testcase demonstrating my findings: http://fransdejonge.com/test/2011/first-line-letter-inconsistencies.htmlHere are the links to the relevant specs.
http://www.w3.org/TR/selectors/#first-line
http://www.w3.org/TR/selectors/#first-letter
As far as I can tell they say Webkit is applying these properties correctly, which is the intuitive method in any case. Here's a relevant quote:
The first formatted line of an element may occur inside a block-level descendant in the same flow (i.e., a block-level descendant that is not out-of-flow due to floating or positioning). For example, the first line of the
DIVinis the first line of theThis line...
P(assuming that bothPandDIVare block-level).
Any thoughts before I report this as a bug?
The DnD Sanctuary — a safety net for My Opera's demise.
Reported as DSK-354135.
The DnD Sanctuary — a safety net for My Opera's demise.