[Webkit-unassigned] [Bug 224104] New: Missing initial reflow on float/clear

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 2 06:17:25 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=224104

            Bug ID: 224104
           Summary: Missing initial reflow on float/clear
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ntim at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

http://wpt.live/css/css-logical/reference/logical-values-float-clear-reftest-ref.html

When you open the web inspector, the page changes layout & it looks correct, presumably because the web inspector causes a reflow.

I haven't looked deeply into the cause or what exactly causes this, but here's a smaller testcase:

<style>
.test {
  display: block;
  overflow: hidden;
  width: 300px;
}
.inline {
  display: inline;
}
.float, .clear {
  display: block;
  overflow: hidden;
  height: 3px;
  width: 100px;
  background: #f0f;
}
.clear {
  background: #0ff;
}
</style>
<div class="test" style="direction: ltr;"><div class="inline" style="direction: rtl;"><div class="float" style="direction: ltr; float: left;"></div><div class="clear" style="direction: ltr; clear: right;"></div></div></div>

-- 
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/20210402/31864e41/attachment.htm>


More information about the webkit-unassigned mailing list