[Webkit-unassigned] [Bug 190633] New: WebKit superimposes content over a float when it should not (with negative margin-top)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 16 12:00:09 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=190633
Bug ID: 190633
Summary: WebKit superimposes content over a float when it
should not (with negative margin-top)
Product: WebKit
Version: Safari 12
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dholbert at mozilla.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
(reporting in version:safari 12 because that's the latest version I've got handy. but I'll bet this affects trunk as well)
STR:
1. Visit https://jsfiddle.net/h6k4smd0/
EXPECTED RESULTS:
Text shouldn't overlap orange float.
ACTUAL RESULTS:
Text does overlap orange float.
Chrome and Safari give ACTUAL RESULTS (presumably due to shared lineage --> shared bugs). Firefox and Edge give EXPECTED RESULTS.
Notes:
There is only one block formatting context involved here, so the text should dodge the float because they're in the same BFC.
FWIW, here are a few possible tweaks to the testcase that have no reason to make much difference, but do "fix" Safari's rendering (which are further indication that something's wrong here). If you do any of the following:
- give the float a border
- remove .spacer2 (or give it 0 height)
...then Safari changes to match the expected behavior (the text dodges to the right and doesn't overlap the orange float)
Chrome version of this bug: https://bugs.chromium.org/p/chromium/issues/detail?id=895962
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181016/2b8ebbee/attachment.html>
More information about the webkit-unassigned
mailing list