Open
Bug 1135417
Opened 10 years ago
Updated 3 years ago
Anonymous ruby base box doesn't cause line breaking with its previous ruby base box
Categories
(Core :: Layout: Ruby, defect)
Tracking
()
NEW
People
(Reporter: masayuki, Unassigned)
References
(Blocks 1 open bug, )
Details
See this testcase: http://jsfiddle.net/d_toybox/vdqk93mr/1/
anonymous ruby base box doesn't cause line breaking between it and its previous ruby base box.
Comment 1•10 years ago
|
||
This testcase is a little bit interesting. It seems the behavior meets our line-breaking impl for normal inline boxes.
According to the spec, the following code
<ruby>
a
<rb>b</rb>
</ruby>
have (roughly) the same effect as
<ruby><rb>
a
</rb><rb>b</rb></ruby>
The line breaking behavior should behave like
<span>
a
</span><span>b</span>
with "span { white-space: nowrap; }".
And in our current impl, there is no wrap opportunity between the two span either.
But the interesting thing is
<ruby>
<rb>a</rb>
<rb>b</rb>
</ruby>
should behave like
<span>a</span><span>
</span><span>b</span>
but it doesn't. This may worth further investigation. I don't think it is important, though.
Updated•7 years ago
|
Component: Layout: Block and Inline → Layout: Ruby
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•