New issue
Advanced search Search tips

Issue 847743 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

ruby-text cannot me moved through relative positions or margins

Project Member Reported by r...@igalia.com, May 30 2018

Issue description


I'm trying to move a ruby-text element to the right and neither of the following approaches are working:

* Relative position:
  <ruby>
    <rt style="position: relative; left: 200px;">foobar</rt>
  </ruby>

* Left margin:
  <ruby>
    <rt style="margin-left: 200px;">foobar</rt>
  </ruby>

The "foobar" text is placed in the same position than in:
  <ruby>
    <rt>foobar</rt>
  </ruby>

In Firefox in both cases the ruby-text is moved 200px to the right.

 

Comment 1 by kojii@chromium.org, May 30 2018

Status: Available (was: Untriaged)
Ruby in our current impl is very different; it's more like flexbox where parent controls positioning of children.

We plan to refresh the impl once our switch to LayoutNG is stabilized.

Sign in to add a comment