On Fri, Jan 8, 2010 at 3:03 PM, Belov, Charles <Charles.Belov@sfmta.com> wrote: >> From: Tab Atkins Jr. [mailto:jackalmage@gmail.com] >> Sent: Friday, January 08, 2010 11:36 AM >> It shouldn't be necessary to test for this specifically. A >> split text node doesn't know *why* it was split, and neither >> does the CSS engine attempting to match against it. As long >> as you can manufacture a split text node through some means, >> such as DOM scripting, you should be good. > > This is an example of where trimming of prior messages turns the > thread into a game of Telephone. > > The subject was inadvertent splitting of consecutive text into separate > text nodes by browsers in response to the transport layer protocol > splitting running text across multiple packets, thus potentially causing > interference with the ability of a ::text selector to work properly. Nah, I understood what you were talking about and the context you were talking in. My email is still accurate. There are multiple ways a text node can be split, potentially interfering with ::text matching. The CSS engine has no way of telling them apart, so it's not necessary to test all possible ways it can happen - if you just test one you're golden. Creating separate consecutive text nodes via DOM manipulation is pretty easy, and so is likely the way to do it. ~TJReceived on Friday, 8 January 2010 21:24:59 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:42 UTC