[Webkit-unassigned] [Bug 74399] New: <br> in <bdi> breaks paragraph around <bdi>
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 13 04:06:01 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=74399
Summary: <br> in <bdi> breaks paragraph around <bdi>
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: aharon at google.com
CC: eric at webkit.org, playmobil at google.com,
xji at chromium.org, aharon at google.com, rniwa at webkit.org,
leviw at chromium.org
The HTML5 spec (http://dev.w3.org/html5/spec/Overview.html#the-bdi-element) states that "For the purposes of applying the bidirectional algorithm to the paragraph-level container that a bdi element finds itself within, the bdi element must be treated like a U+FFFC OBJECT REPLACEMENT CHARACTER", i.e. as a neutral character. Thus, a <bdi> containing a <br> (which serves as a paragraph break in the content of the <bdi>) must *not* serve as a paragraph break in the content around the BDI (since a neutral character does not do so).
Unfortunately, currently, the content before and after a <bdi> containing a <br> is rendered as separate bidi paragraphs, and so directional runs and other bidi effects that would otherwise be formed between the two are severed.
--
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