Closed Bug 1487254 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 12749 - [Blink] Remove negative offset compensation for rel-pos inline

Categories

(Core :: CSS Parsing and Computation, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12749 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/12749
Details from upstream follow.

Tien-Ren Chen <trchen@chromium.org> wrote:
>  [Blink] Remove negative offset compensation for rel-pos inline
>  
>  Consider the following case:
>  <span style="position:relative; left:-100px;">
>    <div style="display:inline-block; position:absolute;"></div>
>  </span>
>  
>  In our implementation the absolute positioned element will have a
>  counter offset applied, to ignore the negative offset on its rel-pos
>  parent.
>  
>  The compensation was added in https://codereview.chromium.org/423173003/
>  which wasn't covered by the added test, and isn't consistent with other
>  browser implementations. (Checked with Safari, IE, and Firefox.)
>  
>  BUG=398164
>  
>  Change-Id: I44127ff42446a7483d7e4ebb3197ecdc915db39d
>  Reviewed-on: https://chromium-review.googlesource.com/1195084
>  WPT-Export-Revision: 82de62fab130cb5b29723f4cdd2f7226645fee99
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 1 tests
FAIL   : 1

New tests that have failures or other problems:
/css/CSS2/positioning/abspos-inline-008.xht: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ee7b63490531
[wpt PR 12749] - [Blink] Remove negative offset compensation for rel-pos inline, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/e139ef8f447e
[wpt PR 12749] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/ee7b63490531
https://hg.mozilla.org/mozilla-central/rev/e139ef8f447e
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.