Files
firefox/testing/web-platform/tests/css/CSS2/positioning
Tien-Ren Chen 19e8b0f98d Bug 1487254 [wpt PR 12749] - [Blink] Remove negative offset compensation for rel-pos inline, a=testonly
Automatic update from web-platform-tests[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
Reviewed-by: Morten Stenshorne <[email protected]>
Commit-Queue: Tien-Ren Chen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#587745}

--

wpt-commits: 8ff2bb67c6b61799c2b25f60c6919580a3e104fc
wpt-pr: 12749
2018-09-05 13:09:11 +00:00
..