Summary: | Background of an absolutely positioned inline element inside text-indented parent is positioned statically | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | bbrinza <bbrinza> | ||||||
Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, esprehn+autocc, glenn, hyatt, kondapallykalyan, simon.fraser, zalan | ||||||
Priority: | P2 | Keywords: | FromImplementor | ||||||
Version: | Safari 9 | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
bbrinza@microsoft.com
2016-02-08 16:31:53 PST
It looks like that "list-style: none" throws us off of positioning the box properly. When the list-style is set to default (or square, etc), box is moved off to the left. Created attachment 272044 [details]
Test reduction
This is a more generic case where we end up ignoring the text-indent for the absolute positioned child (with static positions) when the line does not have any other content.
Patch is coming up. Created attachment 272076 [details]
Patch
related bug 154628 Comment on attachment 272076 [details] Patch Clearing flags on attachment: 272076 Committed r197030: <http://trac.webkit.org/changeset/197030> All reviewed patches have been landed. Closing bug. |