WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
74399
BR in BDI breaks paragraph around BDI
https://bugs.webkit.org/show_bug.cgi?id=74399
Summary
BR in BDI breaks paragraph around BDI
Aharon (Vladimir) Lanin
Reported
2011-12-13 04:06:00 PST
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.
Attachments
test case (ref file coming as separate attachment)
(2.69 KB, text/html)
2011-12-13 04:09 PST
,
Aharon (Vladimir) Lanin
no flags
Details
ref file for the test case above
(1.87 KB, text/html)
2011-12-13 04:10 PST
,
Aharon (Vladimir) Lanin
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Aharon (Vladimir) Lanin
Comment 1
2011-12-13 04:09:24 PST
Created
attachment 119000
[details]
test case (ref file coming as separate attachment) This is one of the tests being submitted to
public-html-testsuite@w3.org
for inclusion into the W3C's HTML5 test suite.
Aharon (Vladimir) Lanin
Comment 2
2011-12-13 04:10:05 PST
Created
attachment 119001
[details]
ref file for the test case above
Aharon (Vladimir) Lanin
Comment 3
2012-06-27 04:54:26 PDT
The CSS spec may be changed in this respect due to a recent proposal to add isolates to Unicode and to make the CSS feature make use of the new Unicode feature - which will require changes to the details of the CSS spec. Details at
http://lists.w3.org/Archives/Public/public-i18n-bidi/2012AprJun/0022.html
Aharon (Vladimir) Lanin
Comment 4
2013-06-11 03:30:18 PDT
The CSS spec has indeed been changed, and this behavior is now according to spec.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug