Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(668)

Issue 61733019: Make unicode-bidi:isolate the default for block elements instead of unicode-bidi:embed

Created:
7 years, 1 month ago by igoroliveira
Modified:
5 years, 7 months ago
CC:
blink-reviews, dglazkov+blink, apavlov+blink_chromium.org, adamk+blink_chromium.org, darktears, ojan, esprehn, behdad, d.roettsches, leviw_travelin_and_unemployed
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

HTML5 specifies that block elements are supposed to have unicode-bidi: isolate by default. CSSDefaultStyleSheets.cpp: After this change, div elements can not use the simple stylesheet anymore. html.css is using the rules specified in http://www.w3.org/html/wg/drafts/html/master/rendering.html#bidirectional-text BUG=296863

Patch Set 1 #

Total comments: 3

Patch Set 2 : Proposed for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -5 lines) Patch
M LayoutTests/TestExpectations View 1 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/fast/text/international/unicode-bidi-isolate-block-elements.html View 1 chunk +134 lines, -0 lines 0 comments Download
M Source/core/css/html.css View 1 2 chunks +8 lines, -4 lines 0 comments Download
M Source/core/html/HTMLElement.cpp View 1 2 chunks +57 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
igoroliveira
7 years, 1 month ago (2013-11-14 06:09:31 UTC) #1
igoroliveira
7 years, 1 month ago (2013-11-14 06:09:32 UTC) #2
eseidel
We could also change the simple default stylesheet. If div's can't use it, I'm not ...
7 years, 1 month ago (2013-11-14 06:38:14 UTC) #3
eseidel
I'm confused why we have that long list of tags for which dir implies embed? ...
7 years, 1 month ago (2013-11-14 06:39:49 UTC) #4
eseidel
https://codereview.chromium.org/61733019/diff/1/Source/core/html/HTMLElement.cpp File Source/core/html/HTMLElement.cpp (right): https://codereview.chromium.org/61733019/diff/1/Source/core/html/HTMLElement.cpp#newcode160 Source/core/html/HTMLElement.cpp:160: static bool shouldUseUnicodeBidiEmbed(const Element* element) Is this trying to ...
7 years, 1 month ago (2013-11-14 06:41:29 UTC) #5
esprehn
not lgtm, you can't remove <div> from the simple stylesheet (it defeats the sheet). More ...
7 years, 1 month ago (2013-11-14 06:46:54 UTC) #6
igoroliveira
On 2013/11/14 06:41:29, eseidel wrote: > https://codereview.chromium.org/61733019/diff/1/Source/core/html/HTMLElement.cpp > File Source/core/html/HTMLElement.cpp (right): > > https://codereview.chromium.org/61733019/diff/1/Source/core/html/HTMLElement.cpp#newcode160 > ...
7 years, 1 month ago (2013-11-14 07:49:10 UTC) #7
igoroliveira
Aharon, Could you put your opinion. Looks like this CL is controversial because.(Look esprehn message)
7 years ago (2013-12-09 15:41:43 UTC) #8
igoroliveira
Aharon, Could you put your opinion. Looks like this CL is controversial because.(Look esprehn message)
7 years ago (2013-12-09 15:41:45 UTC) #9
eseidel
Simple default stylesheet has been removed from blink.
7 years ago (2013-12-09 16:21:04 UTC) #10
aharon
On 2013/11/14 06:46:54, esprehn wrote: > More importantly though the spec special casing elements like ...
7 years ago (2013-12-12 11:52:11 UTC) #11
eseidel
lgtm OK. I'm OK with this approach. The idea here is that tags which the ...
7 years ago (2013-12-18 17:33:13 UTC) #12
eae
What is the status of this patch?
6 years, 9 months ago (2014-03-25 17:49:46 UTC) #13
eseidel
Igor has left the project. This would need a new owner.
6 years, 6 months ago (2014-05-28 22:32:54 UTC) #14
ebraminio
This is really helpful in my experience on sites dealing with bidi content and now ...
5 years, 7 months ago (2015-05-01 23:03:50 UTC) #15
eae
On 2015/05/01 23:03:50, ebraminio wrote: > This is really helpful in my experience on sites ...
5 years, 7 months ago (2015-05-01 23:06:53 UTC) #16
aharon
5 years, 7 months ago (2015-05-03 06:56:57 UTC) #17
On 2015/05/01 23:06:53, eae wrote:
> On 2015/05/01 23:03:50, ebraminio wrote:
> > This is really helpful in my experience on sites dealing with bidi content
and
> > now Firefox also has this. I hope it can find some new owner.
> 
> I'll see if I can find an owner or take this over myself.

Please sync up on this with kojii@

Powered by Google App Engine
This is Rietveld 408576698