[Webkit-unassigned] [Bug 47210] CSS 2.1 failure: bidi-* tests fail

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 19 10:51:47 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=47210





--- Comment #9 from Levi Weintraub <leviw at chromium.org>  2011-04-19 10:51:46 PST ---
(In reply to comment #5)
> When a document is in strict mode, a <br> inside a paragraph should not reset the directionality even if it was set by a unicode character.
> When a document is in quirks mode, <br> inside a paragraph should reset the directionality.
> This matches the behavior of IE and allows us to pass the css tests attached to this bug.

I was afraid we'd get here...

This isn't the whole story I'm afraid. In its current state, the HTML 5 specification states the following:

"A br element should separate paragraphs for the purposes of the Unicode bidirectional algorithm. This requirement may be implemented indirectly through the style layer. For example, an HTML+CSS user agent could implement these requirements by implementing the CSS 'unicode-bidi' property. [BIDI] [CSS]"

Since this differs from the HTML4 spec, the correct behavior is unclear. The best option could perhaps be to use the actual requested version in the doctype to determine the correct behavior -- treating br's as a paragraph separator for quirks mode and html5 strict mode, and as a line separator in strict modes <5.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list