- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Mon, 19 Apr 2004 15:28:46 -0500
- To: www-style Mailing List <www-style@w3.org>
An interesting question that came up [1] was what should happen in the following situation: Stylesheet: p { color: red; direction: ltr } p:first-letter { color: green } DOM: <p>"YERUSHALAYIM" is the Hebrew word for "Jerusalem."</p> (where YERUSHALAYIM is actually in Hebrew). In this case, after bidi reordering we have: Boxes: <p>"MIYALAHSUREY" is the Hebrew word for "Jerusalem."</p> where the quote that comes next to the "M" is the one that came next to the "Y" in the DOM. So in this case, what should be green, exactly? And why? In the absence of bidi reordering the initial '"' and the 'Y' would be green, but in this case that seems a little bizarre.... though implied by a literal interpretation of the fictional tag sequence language in the spec. -Boris
Received on Monday, 19 April 2004 16:28:59 UTC