New issue
Advanced search Search tips

Issue 847274 link

Starred by 3 users

Issue metadata

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



Sign in to add a comment

Absolutely positioned ruby base without offsets is wrongly positioned

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

Issue description


Check the attached example, it's a very simple example with:
  <ruby><rb style="position: absolute;">PASS</rb></ruby>

The PASS is not placed in the same position than if you have "position: static" (the default).

Firefox does this correctly.
 
ruby-abspos.html
329 bytes View Download
ruby-abspos.png
9.2 KB View Download

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

Status: Available (was: Untriaged)
Project Member

Comment 2 by bugdroid1@chromium.org, Jul 10

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c3207698ec8e01350186c05f5a462eca7795788c

commit c3207698ec8e01350186c05f5a462eca7795788c
Author: Peter Mayo <petermayo@chromium.org>
Date: Tue Jul 10 20:36:47 2018

wpt/css/css-contain/contain-paint-007.html passes

This test no longer fails.  I don't think it is testing the
referenced bug very well either, since the positioning is not
asserted by the test - just the presence.

Bug: 847274
Change-Id: I9213f4d5cbc136027246b56b5d12837e6418775e
Reviewed-on: https://chromium-review.googlesource.com/1131229
Commit-Queue: Peter Mayo <petermayo@chromium.org>
Reviewed-by: Peter Mayo <petermayo@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#573891}
[modify] https://crrev.com/c3207698ec8e01350186c05f5a462eca7795788c/third_party/WebKit/LayoutTests/TestExpectations

Sign in to add a comment